Predict transformer overload risk and send alerts via HTTP APIs, email, and Slack
Ready for 3.0What this workflow does
This workflow has 22 nodes and runs on a schedule (every 15 minutes). Along the way it connects Google Sheets and Slack.
How it runs
Trigger: On a schedule (every 15 minutes).
- JS - Define Transformer Fleet (Code): runs custom JavaScript code
- Loop Over Transformers (Loop Over Items (Split in Batches)): loops over the items in batches
- Fetch Real-Time Transformer Load Data (HTTP Request): calls an HTTP API
- Fetch Temperature & Environmental Sensor Data (HTTP Request): calls an HTTP API
- Fetch Historical Load & Incident Data (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Wait: pauses before continuing
- If: checks a condition and branches into true / false
- JS - Calculate Overload Risk Score & Prediction (Code): runs custom JavaScript code
- Google Sheets: append
…plus 7 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314)
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 (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Google Sheets
n8n-nodes-base.googleSheets - Send Email
n8n-nodes-base.emailSend - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs every 15 minutes to fetch transformer load, temperature, and 30-day historical data via HTTP APIs, calculates an overload risk score and projected time-to-overload, and sends an early warning email via SMTP when risk is High…