handoffs
Read and change the Handoffs of your AI Agent, and the handoff integrations that send conversations to human agents.
Commands
Examples
Connect Zendesk Messaging and turn it on:
Find the Zendesk group ID to route to:
Create a live Zendesk Messaging handoff that routes to one group:
Connect Zendesk Support, then create a live Zendesk Support handoff:
Change the description of a handoff:
Show the change to the fallback, then save it:
Details
- A new handoff is off unless you add
--live. Each live handoff counts against the maximum number of live handoffs of the AI Agent. createandupdatecheck the change before they send it. If a check fails, adacli sends nothing.set-zendesk-messaging,set-zendesk-support, andset-http-blocktake a handoff name or ID. Add--createto create the handoff if it does not exist. With--create, add--description, because the description tells the AI Agent when to hand off.- You can run a
set-command again. It changes the block that it wrote before, and does not add a second block. integrations configuresupportszendesk-messagingandzendesk-supportonly.zendesk-supporttakes--subdomainonly. Runintegrations connectto finish the Zendesk sign-in.integrations connectopens the approval page in a browser and stops waiting after 5 minutes.- An integration that is off returns no Zendesk groups.
- The fallback is one handoff or one Playbook, never both.
fallback set --handofftakes a live handoff.fallback set --playbooktakes an active Playbook. - Some error paths use only a handoff fallback. When the fallback is a Playbook, those paths use the first handoff or the error response.
For every option of a command, run it with --help, for example adacli acme handoffs set-zendesk-support --help.
Related commands
conversations: see the handoffs and the handoff reasons of conversations.variables: get the variable IDs for availability rules.