Bibliothek / Chatbots & Messaging-Bots
Chatbots & Messaging-Bots
Route Claude multi-agent tasks from webhook and send summaries to WhatsApp
When an API call/webhook arrives, it answers chat messages with a bot with Claude using WhatsApp.
Was sie bewirkt
## AI Agent Supervisor ### How it works A supervisor agent (Claude) receives a task and, in a loop, decides which specialist agent should act next: researcher, coder, analyst, writer or reviewer. The chosen specialist runs, its output is added to a shared work log, and control returns to the supervisor. The supervisor keeps routing until it decides the task is complete (FINISH), a step limit is hit, or a routing loop is detected. A final synthesis step then merges all specialist work into one answer, which is returned to the webhook caller and sent as a WhatsApp summary. ### Setup steps - Create an HTTP Header Auth credential named for Anthropic (header x-api-key, value = your API key) and select it on the supervisor, all five specialist nodes, and the synthesis node. - Add WhatsApp Business credentials to the WhatsApp node and set the phone number ID and recipient in the Config node. - Update the Config node: models, default and hard step limits, API URL. - POST to the webhook with a body like { "task": "...", "context": "...", "maxSteps": 5 }. A manual run uses a sample task. ### Customization - Add a specialist: add an output rule in the Switch node, a new Claude HTTP node with its own system prompt feeding Record Specialist Output, and list it in the roster inside Build Supervisor Request. - Swap any specialist for a real tool (SQL, code execution, CRM) by replacing its HTTP node; only the output text matters. - Tune routing behaviour through the supervisor rules in Build Supervisor Request.
Die Schritte
- When Task Submitted
- When Manual Test Run Initiates
- Normalize Task Input
- If Task Is Valid
- Respond with Validation Error
- Set Configuration Parameters
- Build Supervisor Request
- Ask Supervisor Claude
- Parse Supervisor Decision
- Route to Specialist Agent
- Researcher Agent
- Coder Agent
- Analyst Agent
- Writer Agent
Insgesamt 21 Schritte.
Ähnliche Automatisierungen
KI-Agenten & AssistentenWerbetext-Varianten mit Claude prüfen und Ergebnisse an HubSpot und Slack weiterleiten34 SchritteKI-Agenten & AssistentenHandle WhatsApp HVAC reception with Gemini, Claude, and Meta WhatsApp API27 SchritteE-Mail-AutomatisierungRoute multi-channel approval requests via Slack, Teams, WhatsApp and email11 SchritteE-Mail-AutomatisierungIMAP-E-Mails mit KI zusammenfassen und Zusammenfassungen an einen Messenger senden4 Schritte