Automation library · Alerts and monitoring

Predict transformer overload risk and send alerts

Started by a clock, and works across Email, Google Sheets and Slack. 22 steps, 4 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

Large

22 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
3Loops or waits
3Services it connects to

The flow

Starts it 1Logic 15Service 6

The steps in the order they run, from what starts it.

  1. 1Schedule Trigger - Periodic Transformer CheckSchedule triggerStarts it
  2. 2JS - Define Transformer FleetCodeLogic
  3. 3Loop Over TransformersSplit In BatchesLogic
  4. 4NoOp - Fleet Check CompleteNo OpLogic
  5. 5Fetch Real-Time Transformer Load DataHttp RequestService
  6. 6Fetch Temperature & Environmental Sensor DataHttp RequestService
  7. 7Fetch Historical Load & Incident DataHttp RequestService
  8. 8Merge - Combine Load, Temp & Historical DataMergeLogic
  9. 9Wait For Sensor Data BufferWaitLogic
  10. 10IF - Data Fetch Successful?IfLogic
  11. 11JS - Calculate Overload Risk Score & PredictionCodeLogic
  12. 12NoOp - Data Fetch Error NotificationNo OpLogic
  13. 13Google Sheets - Log Risk Score HistoryGoogle SheetsService
  14. 14IF - Risk Level High or Critical?IfLogic
  15. 15JS - Check Alert Cooldown (Static Data)CodeLogic
  16. 16No Alert - Risk Within Normal RangeNo OpLogic
  17. 17IF - Cooldown Active?IfLogic
  18. 18No Alert - Cooldown Active (Suppressed)No OpLogic
  19. 19Send Early Warning Alert EmailEmail SendService
  20. 20IF - Critical Level (Slack Alert)?IfLogic
  21. 21Wait For BufferWaitLogic
  22. 22Slack - Critical Risk AlertSlackService

How it's built

Starts on
A clock
Steps
22, with 4 branches, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Email, Google Sheets, Slack
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Email, Google Sheets and Slack accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.