Monitor supply chain risks and disruptions with GPT-4o and Slack alerts
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs on a schedule (every 15 minutes) (plus 1 other trigger). Along the way it connects OpenAI Chat Model and Slack.
How it runs
Trigger: On a schedule (every 15 minutes) (plus 1 other trigger).
- Workflow Configuration (Edit Fields (Set)): sets 7 fields: procurementApiUrl, warehouseApiUrl, slackChannelId…
- Process Approval Decision (Code): runs custom JavaScript code
- Fetch Procurement Data (HTTP Request): calls an HTTP API
- Fetch Warehouse and Transportation Data (HTTP Request): calls an HTTP API
- Respond to Approval (Respond to Webhook): sends the response back to the webhook caller
- Log Compliance Audit Trail (Code): runs custom JavaScript code
- Combine Supply Chain Data (Merge): merges the data from its input branches
- Prepare Final Report (Edit Fields (Set)): sets 5 fields: reportId, reportTimestamp, totalAuditEntries…
- Signal Monitoring Agent (AI Agent): runs an AI agent, with model: OpenAI Model for Signal Monitoring Agent; output parser: Signal Analysis Output Parser
- Route by Risk Level (Switch): routes items into 3 branches
…plus 4 more steps. See the full node list below.
Services it uses
Other OpenAI + Slack templates (979)
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 (14)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Switch
n8n-nodes-base.switch - Slack Tool
n8n-nodes-base.slackTool - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - Slack
n8n-nodes-base.slack - Send Email
n8n-nodes-base.emailSend
From the author
How It Works This workflow automates end-to-end supply chain visibility and logistics coordination for manufacturers, distributors, and retailers managing complex multi-tier supply networks. Designed for supply chain planners, logistics managers, and…