proactives
Read and change the Proactive Outreach of your AI Agent. Each proactive is a message that the chat widget shows on matching pages, as in Messaging Proactive Outreach.
Commands
Examples
Show a message on pricing pages, one time in each session, 5 seconds after the page opens:
Pause a proactive:
Preview the French translation of a message, then save a French message:
Link a v2 Playbook to a proactive. --dry-run shows the request and sends nothing:
Copy a proactive. The copy starts off:
Details
- A proactive always keeps a message in the default language of the AI Agent.
createandupdaterefuse a change that removes it. --messagereplaces the messages of the--languageyou give. Repeat--messageto add more messages.- The URL condition types are
equals,contains,ends-with, andregex. Repeat--url-conditionto add more. To replace the list, add--clear-url-conditions. --frequencytakesalways,session, oruser.--duration nonekeeps the message open until the end user closes it.- The key that the Web SDK triggers comes from the name, unless you pass
--key. --playbooktakes an active v2 Playbook.--playbook noneremoves the link.--filetakes JSON in theget --jsonshape. The options on the command line apply after the file.
For every option of a command, run it with --help, for example adacli acme proactives update --help.
Related commands
playbooks: build the Playbook that a proactive runs.languages: see the languages of your AI Agent.start-triggers: run a Playbook when a conversation starts.