Automation library · Alerts and monitoring

Monitor supply chain risks and disruptions with OpenAI

Started by another system calling it, and works across Email and Slack. It hands the judgement calls to OpenAI. 21 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

21 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 3Model 6Logic 7Service 5

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

  1. 1Schedule Supply Chain Data CollectionSchedule triggerStarts it
  2. 2OpenAI Model for Signal Monitoring AgentLm Chat Open AiModel
  3. 3Signal Analysis Output ParserOutput Parser StructuredModel
  4. 4OpenAI Model for Coordination AgentLm Chat Open AiModel
  5. 5Coordination Output ParserOutput Parser StructuredModel
  6. 6Slack Alert ToolSlack ToolService
  7. 7Manual Approval WebhookWebhookStarts it
  8. 8Workflow ConfigurationSetLogic
  9. 9Signal Monitoring AgentAgentModel
  10. 10Coordination AgentAgentModel
  11. 11Process Approval DecisionCodeLogic
  12. 12Fetch Procurement DataHttp RequestService
  13. 13Fetch Warehouse and Transportation DataHttp RequestService
  14. 14Route by Risk LevelSwitchLogic
  15. 15Route by Action TypeSwitchLogic
  16. 16Respond to ApprovalRespond To WebhookStarts it
  17. 17Log Compliance Audit TrailCodeLogic
  18. 18Combine Supply Chain DataMergeLogic
  19. 19Send Critical Alert to SlackSlackService
  20. 20Send Escalation EmailEmail SendService
  21. 21Prepare Final ReportSetLogic

How it's built

Starts on
Another system calling it
Steps
21, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Email, Slack
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Email and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 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 21 steps before you point it at anything that matters.