List
Renders a list of items grouped by categories on a drawer.
This action block is used for a rich approach of allowing users to choose from a list of options.
Most commonly, it is used as an alternative to the options action block, as it it not user-friendly and prone to users from the users.

List action block is made up of seven things:
Header
Body
Footer
Button name
Items & categories
Error message
Variable
1. Header
Shows the text in a bold format -- making it look like a title. It is an optional field.
2. Body
The text will be the question associated with showing the list of options.
For example, "Select the service you are interested in".
3. Footer
The text is displayed in a small grey color format. Mostly used to display a disclaimer to the user when selecting the option from the list.
4. Button Name
Along with the above, a button will be displayed, on click of which we will show the list of options in a drawer format.
You can write the button's name here, such as 'Choose', 'Select', etc.
5. Items + Categories
All the items that are to be displayed in the list are defined here.
Each item contains the following information:
Item name - Name of the item
Item description - A short description of the item
Category - List of all categories created. It is optional.
On the bot builder canvas, for each list item, you will see a new branch created. You can use this to create personalized flows.
6. Error Message
When submitting a selection from the list of options, if any input does not match the list, an error message will be shown along with the list of options.
Learn more about options here.
The user will have to retry by entering a valid number.
7. Variable
Users can store the value of the selected list item in a variable for future reference.
Last updated