Docs »

Bots »

Interactions »

Prompts »

Buttons

When prompting with buttons, the user selects from a list of pre-defined responses.

In a conversational bot behavior, add the Prompt With » Buttons action.

Options

A list of pre-defined responses that will be displayed as buttons. One response per line. You can use scripting to build the list.

Colors

You can configure a color gradient to automatically style the buttons.

For instance, a satisfaction survey asking about sentiment could start green (positive) and end red (negative).

Custom CSS style

You can include custom CSS rules to further style the buttons. In the example above, we’re configuring a fixed width and allowing the buttons to display inline (i.e. adjacent rather than stacked).

Save to a placeholder

Name a placeholder where a copy of the user’s response will be saved. You can then later refer to this answer when making decisions or giving responses.

Format

See: Formatting

Validate

See: Validation