Multiple choice prompts
Learn how to present a list of choices to the user.
Last updated
Learn how to present a list of choices to the user.
Last updated
You will probably use this type of prompt the most. Here's an example:
It asks the user a question (what is 5 times 9), and presents a list of options they can respond with. The user can select any one option. Based on the answer selected, the chat moves on to either prompt #2 (if the user answers '45') or prompt #3 (if the user answers anything other than '45'). Prompts 2 and 3 are not shown here.
In DialogForm, open up a flow you want to edit.
In the prompts panel, click on the "+ Add prompt" button.
This will add an empty prompt right below. Type in a message to the user.
Then, click on "+ Add answer" to type in an answer choice. Hovering over any answer will reveal a button to insert another answer before/after it. Add as many answers as you want. You can always move answers around using their drag handles (the icon with the six dots).
Note the "**" surrounding the question statement in the example at the top of the page. Everything enclosed within it is made bold. This special syntax is a part of Markdown. You can use Markdown to compose rich-text messages and answers.
Each answer has a box labeled "To". Here you can specify which prompt to move to if the user selects this answer. Click on each box and assign a next prompt.
Alternatively, if all your answer choices lead to the same next prompt, just set it using the "Always to" box below all the answers.
Configure how answer choices appear to the user.
Configuring how choices appearIn certain cases, you may want to let to the user respond with multiple options simultaneously.
"Multi-select" multiple choice promptsLearn how to compose messages with rich text, images and video.
How to write MarkdownHow to add images to MarkdownHow to add video to a promptTo award points to the user for answering correctly, or partially correctly, assign scores to answers.
Simple scoring