Run multi-agent procurement approvals with Anthropic Claude, Slack and Postgres
Ready for 3.0What this workflow does
This workflow has 29 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Postgres and Slack. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Set - Procurement Config (Edit Fields (Set)): sets 6 fields: anthropicModel, slackChannel, autoApproveLimit…
- JS - Normalize Procurement Request (Code): runs custom JavaScript code
- HTTP Request: calls api.anthropic.com (POST)
- JS - Parse Procurement Plan (Code): runs custom JavaScript code
- JS - Split Suppliers (Code): runs custom JavaScript code
- Loop Over Suppliers (Loop Over Items (Split in Batches)): loops over the items in batches
- JS - Rank Offers (Code): runs custom JavaScript code
- JS - Prepare Negotiation Round (Code): runs custom JavaScript code
- HTTP Request: calls api.anthropic.com (POST)
- HTTP Request: calls api.anthropic.com (POST)
…plus 17 more steps. See the full node list below.
Services it uses
HTTP calls to: api.anthropic.com
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 (11)
- Manual Trigger
n8n-nodes-base.manualTrigger - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - Postgres
n8n-nodes-base.postgres - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow accepts a procurement request via webhook or manual trigger, uses Anthropic Claude agents to plan, negotiate, validate, and decide on supplier offers, escalates approvals to Slack when needed, and stores the full offer and…