Dispatch snow and ice crews from forecasts with Open-Meteo, GPT-4o and Gmail
Ready for 3.0What this workflow does
This AI workflow has 42 nodes and runs on a schedule (cron 0 7 * * *) (plus 4 other triggers). Along the way it connects Google Sheets, Telegram, Gmail and OpenAI Chat Model.
How it runs
Trigger: On a schedule (cron 0 7 * * *) (plus 4 other triggers).
- Read Dispatch Log For Sweep (Google Sheets): uses Google Sheets
- Read Site Registry (Google Sheets): uses Google Sheets
- Normalize Crew Confirmation (Edit Fields (Set)): sets 6 fields: dispatch_id, outcome, hours_to_clear…
- Find Unconfirmed Dispatches (Code): runs custom JavaScript code
- Validate Site Rows (Code): runs custom JavaScript code
- Read Dispatch Log For Confirm (Google Sheets): uses Google Sheets
- Unconfirmed Dispatches? (If): checks a condition and branches into true / false
- Site Row Valid? (If): checks a condition and branches into true / false
- Match Dispatch Row (Code): runs custom JavaScript code
- Email Unconfirmed Dispatch Report (Gmail): uses Gmail
…plus 24 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Webhook
n8n-nodes-base.webhook - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - Gmail
n8n-nodes-base.gmail - HTTP Request
n8n-nodes-base.httpRequest - No Operation, do nothing
n8n-nodes-base.noOp - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Snow and ice dispatches that trigger themselves. This workflow checks Open-Meteo forecasts for each site stored in Google Sheets, automatically dispatches crews when a site’s trigger is met, writes the crew brief and client notice with AI, and tracks every…