Route Claude multi-agent tasks from webhook and send summaries to WhatsApp
Ready for 3.0What this workflow does
This workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects WhatsApp Business Cloud.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Normalize Task Input (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Set Configuration Parameters (Edit Fields (Set)): sets 7 fields: supervisorModel, specialistModel, defaultMaxSteps…
- Respond with Validation Error (Respond to Webhook): sends the response back to the webhook caller
- Build Supervisor Request (Code): runs custom JavaScript code
- Ask Supervisor Claude (HTTP Request): calls an HTTP API (POST)
- Parse Supervisor Decision (Code): runs custom JavaScript code
- Route to Specialist Agent (Switch): routes items into 5 branches
- Researcher Agent (HTTP Request): calls an HTTP API (POST)
- Coder Agent (HTTP Request): calls an HTTP API (POST)
…plus 9 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 (9)
- Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - WhatsApp Business Cloud
n8n-nodes-base.whatsApp
From the author
Quick Overview This workflow accepts a task via webhook (or manual run) and uses Anthropic Claude as a supervisor to route work across specialist agents (researcher, coder, analyst, writer, reviewer). It iterates until completion, then synthesizes a final…