Step 1: Add a human_handoff category to your agent
- Goal: classify conversations that need a person to take over.
- Criteria example: “If the agent doesn’t know the answer, or the user asks to talk to a human.”
- Optional: set
disableAI: trueso the agent stops replying once classified, ensuring a person must continue.
title(required): category identifier, e.g.human_handoff.criteria(recommended): natural language rule used by AI to classify.webhook.url(recommended): where we POST classification events.webhook.headers(optional): static headers to include.disableAI(optional): when true, agent won’t continue answering after classification.
Step 2: Handle the webhook
When a conversation is classified intohuman_handoff, we call your webhook with this JSON body:
Step 3: Track and route handoffs to the right customer
- Store each webhook event and display a queue of conversations requiring human attention.
- Show in your backoffice the requester’s
name,phone_number,summary,reason, and when (created_at). - Provide a one-click button in your backoffice to continue the chat in WhatsApp using the
phone_number:
Notes
- Webhook calls include any headers you define in the category config.
- Use idempotency with POST/PATCH via
Idempotency-Keyto avoid duplicates. - Keep criteria specific to reduce false positives. Refine based on real traffic.

