# Detect procurement fraud and monitor supplier compliance: n8n workflow

> Started by a clock, and works across Email, Slack and n8n data table. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/detect-procurement-fraud-and-monitor-supplier-compliance (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# 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.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdetect-procurement-fraud-and-monitor-supplier-compliance)

**29 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 13 Logic 5 Service 10

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **OpenAI Model - Prioritization Agent** Lm Chat Open Ai *Model*
- 3 **Structured Output - Prioritization** Output Parser Structured *Model*
- 4 **OpenAI Model - Enrichment Agent** Lm Chat Open Ai *Model*
- 5 **Structured Output - Enrichment** Output Parser Structured *Model*
- 6 **OpenAI Model - Delivery Agent** Lm Chat Open Ai *Model*
- 7 **Structured Output - Delivery** Output Parser Structured *Model*
- 8 **Slack Tool** Slack Tool *Service*
- 9 **Email Tool** Tool Code *Model*
- 10 **OpenAI Model - Escalation Agent** Lm Chat Open Ai *Model*
- 11 **Structured Output - Escalation** Output Parser Structured *Model*
- 12 **Workflow Configuration** Set *Logic*
- 13 **Signal Prioritization Agent** Agent *Model*
- 14 **Enrichment Agent Tool** Agent Tool *Model*
- 15 **Delivery Orchestration Agent** Agent *Model*
- 16 **Escalation Agent** Agent *Model*
- 17 **Generate Sample Events** Code *Logic*
- 18 **Route by Priority** Switch *Logic*
- 19 **Check Escalation Required** If *Logic*
- 20 **Escalation Email** Email Send *Service*
- 21 **Store Critical Events** Data Table *Service*
- 22 **Store High Priority Events** Data Table *Service*
- 23 **Store Medium Priority Events** Data Table *Service*
- 24 **Store Low Priority Events** Data Table *Service*
- 25 **Notify Critical - Slack** Slack *Service*
- 26 **Notify High - Slack** Slack *Service*
- 27 **Merge All Notifications** Merge *Logic*
- 28 **Notify Critical - Email** Email Send *Service*
- 29 **Audit Log** Data Table *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdetect-procurement-fraud-and-monitor-supplier-compliance)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Email](https://millionrounds.com/workflows?service=Email#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Match teacher substitutes and send notifications with OpenAI** 29 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/match-teacher-substitutes-and-send-notifications-with-openai)
- [**Monitor semiconductor board reliability with OpenAI and Slack** 29 steps · calls a model · Email, Google Sheets](https://millionrounds.com/workflow/monitor-semiconductor-board-reliability-with-openai-and-slac)
- [**X (Twitter) brand sentiment analysis with Gemini and Slack** 29 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/x-twitter-brand-sentiment-analysis-with-gemini-and-slack)
- [**Create and manage ERC-20 tokens with Telegram and 1Shot API** 29 steps · Telegram, n8n data table](https://millionrounds.com/workflow/create-and-manage-erc-20-tokens-with-telegram-and-1shot-api)
- [**Manage invoicing, collections and alerts with BeeL and HubSpot** 29 steps · Gmail, Google Drive](https://millionrounds.com/workflow/gestiona-facturacion-recobros-y-alertas-con-beel-hubspot-y)
- [**Send end-of-life software alerts with NocoDB and Slack** 29 steps · NocoDB, Slack](https://millionrounds.com/workflow/send-end-of-life-software-alerts-with-nocodb-and-slack)
