Automation library · Alerts and monitoring

Detect procurement fraud and monitor supplier compliance

Started by a clock, and works across Email, Slack and n8n data table. It hands the judgement calls to OpenAI. 29 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 1Model 13Logic 5Service 10

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2OpenAI Model - Prioritization AgentLm Chat Open AiModel
  3. 3Structured Output - PrioritizationOutput Parser StructuredModel
  4. 4OpenAI Model - Enrichment AgentLm Chat Open AiModel
  5. 5Structured Output - EnrichmentOutput Parser StructuredModel
  6. 6OpenAI Model - Delivery AgentLm Chat Open AiModel
  7. 7Structured Output - DeliveryOutput Parser StructuredModel
  8. 8Slack ToolSlack ToolService
  9. 9Email ToolTool CodeModel
  10. 10OpenAI Model - Escalation AgentLm Chat Open AiModel
  11. 11Structured Output - EscalationOutput Parser StructuredModel
  12. 12Workflow ConfigurationSetLogic
  13. 13Signal Prioritization AgentAgentModel
  14. 14Enrichment Agent ToolAgent ToolModel
  15. 15Delivery Orchestration AgentAgentModel
  16. 16Escalation AgentAgentModel
  17. 17Generate Sample EventsCodeLogic
  18. 18Route by PrioritySwitchLogic
  19. 19Check Escalation RequiredIfLogic
  20. 20Escalation EmailEmail SendService
  21. 21Store Critical EventsData TableService
  22. 22Store High Priority EventsData TableService
  23. 23Store Medium Priority EventsData TableService
  24. 24Store Low Priority EventsData TableService
  25. 25Notify Critical - SlackSlackService
  26. 26Notify High - SlackSlackService
  27. 27Merge All NotificationsMergeLogic
  28. 28Notify Critical - EmailEmail SendService
  29. 29Audit LogData TableService

How it's built

Starts on
A clock
Steps
29, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Email, Slack, n8n data table
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 a clock.

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 29 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 29 steps before you point it at anything that matters.