Kütüphane / Sohbet Botları ve Mesajlaşma Botları
Sohbet Botları ve Mesajlaşma Botları
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.
Ne yapar
## 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.
Adımlar
- 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
Toplam 21 adım.
Benzer otomasyonlar
Yapay Zekâ Ajanları ve AsistanlarHandle WhatsApp HVAC reception with Gemini, Claude, and Meta WhatsApp API27 adımYapay Zekâ Ajanları ve AsistanlarReklam metni varyantlarını Claude ile inceleyin ve sonuçları HubSpot ve Slack'e yönlendirin34 adımİzleme, Operasyon ve OlaylarRoute LLM tasks to the cheapest capable Claude models with Anthropic21 adımE-posta OtomasyonuRoute multi-channel approval requests via Slack, Teams, WhatsApp and email11 adım