Detect procurement fraud and monitor supplier compliance with GPT-4o and Slack
Ready for 3.0What this workflow does
This AI workflow has 29 nodes and runs on a schedule (every 15 minutes). Along the way it connects OpenAI Chat Model and Slack.
How it runs
Trigger: On a schedule (every 15 minutes).
- Workflow Configuration (Edit Fields (Set)): sets 7 fields: criticalSlackChannel, highPrioritySlackChannel, escalationEmail…
- Generate Sample Events (Code): runs custom JavaScript code
- Signal Prioritization Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Prioritization Agent; 1 tool (Enrichment Agent Tool); output parser: Structured Output - Prioritization
- Delivery Orchestration Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Delivery Agent; 2 tools (Email Tool, Slack Tool); output parser: Structured Output - Delivery
- Route by Priority (Switch): routes items into 4 branches
- Check Escalation Required (If): checks a condition and branches into true / false
- Store Critical Events (Data table): uses Data table
- Store High Priority Events (Data table): uses Data table
- Store Medium Priority Events (Data table): uses Data table
- Store Low Priority Events (Data table): uses Data table
…plus 7 more steps. See the full node list below.
Services it uses
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.
Nodes used (15)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Slack Tool
n8n-nodes-base.slackTool - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Switch
n8n-nodes-base.switch - Data table
n8n-nodes-base.dataTable - Slack
n8n-nodes-base.slack - Send Email
n8n-nodes-base.emailSend - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if
From the author
How It Works This workflow automates procurement fraud detection and supplier compliance monitoring for organizations managing complex purchasing operations. Designed for procurement teams, audit departments, and compliance officers, it solves the challenge…