# Route Claude multi-agent tasks from webhook and send summaries to WhatsApp

> 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 answer, returns it to the caller, and sends a WhatsApp summary. How it works 1. Receives a POST request via an n8n webhook (or starts from a manual trigger) and normalizes the input into a task state with a step counter and work history. 2. Validates that a non-empty task is provided and immediately returns a 400 webhook response if the request is invalid. 3. Builds a supervisor prompt and calls the Anthropic Messages API (Claude) to decide the next specialist route and instruction, enforcing guardrails like max steps, loop detection, and error fallback. 4. Routes to exactly one specialist Claude call (researcher with web search, coder, analyst, writer, or reviewer) and generates output based on the supervisor’s instruction. 5. Record

- **Domain**: `n8n-workflow-20120.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20120
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20120.n8n.io
- Documentation: https://n8n.io/workflows/20120
