Triage JMA weather delays with GPT-5-mini, Microsoft Teams and Gmail
Ready for 3.0What this workflow does
This AI workflow has 44 nodes and runs on a schedule (every 30 minutes) (plus 1 other trigger). Along the way it connects OpenAI Chat Model and Gmail. It also calls data.jma.go.jp over HTTP.
How it runs
Trigger: On a schedule (every 30 minutes) (plus 1 other trigger).
- Set Areas and Settings (Edit Fields (Set)): sets 9 fields: watched_prefectures, warehouse_prefecture, lookahead_days…
- Sample Shipments (Edit Fields (Set)): sets 1 field: rows
- Load Previous State (Data table): get (row)
- Split Sample Rows (Split Out): splits a list into separate items
- Load Open Shipments (Data table): get (row)
- Insert Sample Shipments (Data table): insert (row)
- Fetch JMA Warning Feed (HTTP Request): calls data.jma.go.jp
- Parse Feed XML (XML): converts between XML and JSON
- Post Feed Error to Teams (HTTP Request): calls an HTTP API (POST)
- Split Feed Entries (Split Out): splits a list into separate items
…plus 30 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623)
HTTP calls to: data.jma.go.jp
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (19)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - HTTP Request
n8n-nodes-base.httpRequest - XML
n8n-nodes-base.xml - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - Sort
n8n-nodes-base.sort - Remove Duplicates
n8n-nodes-base.removeDuplicates - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Gmail
n8n-nodes-base.gmail - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
Quick Overview This workflow checks the Japan Meteorological Agency (JMA) weather warning feed every 30 minutes, compares changes per watched prefecture, posts alerts and an approval form to Microsoft Teams, and (after approval) emails affected customers via…