Skip to content
Changelog
New

Bot scenarios and rich messages

Some conversations follow a script: "Is this about billing or a bug?", "What's your order number?". Bot scenarios run that part for you.

Build a scenario#

Each scenario is a list of steps:

  • Messages with text, a picker of choices, a field to fill in, or a carousel of cards.

  • A picker can branch: each choice goes to its own next step.

  • An end step either finishes, or hands off to your team, optionally to a teammate.

The builder checks for steps that lead nowhere and loops that never ask anything, before you save.

Run it#

Your app starts a scenario through the API with its slug, in the user's open conversation or a new one. In the web messenger, users answer pickers and fields with a tap, and the inbox shows each answer, like "Answered topic: Billing".

While a bot runs, the AI agent stays quiet. If the user writes something else, or a teammate replies, the bot steps aside. Bot messages never mark a conversation unread or send a push.

Turn it on#

Workspace admins create scenarios in Settings › Inbox › Bots. The API call is in the developer docs under Bot scenarios.