Orchestrate procurement risk workflows and approvals with OpenAI, Slack and ERP data
Ready for 3.0What this workflow does
This AI workflow has 57 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Validate Procurement Request (Code): runs custom JavaScript code
- Validate Supplier Data (Code): runs custom JavaScript code
- Generate Request ID (Code): runs custom JavaScript code
- Calculate Risk Indicators (Code): runs custom JavaScript code
- AI - Goal Interpreter (OpenAI): uses OpenAI
- Risk Classification (Code): runs custom JavaScript code
- Parse Goal (Code): runs custom JavaScript code
- Prepare Risk Assessment Result (Code): runs custom JavaScript code
- Validate AI Plan (Code): runs custom JavaScript code
- Respond to Webhook: sends the response back to the webhook caller
…plus 45 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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - Switch
n8n-nodes-base.switch - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Merge
n8n-nodes-base.merge - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick Overview This workflow receives procurement goals via webhook, uses OpenAI to interpret the request and assess supplier risk across spend, contract, and risk datasets, routes work to sub-workflows, requests human approval in Slack, and returns an…