Ask choice
Asking to choose from a list of quick replies
When you want users to be able to choose from a limited set of choices you can use the action ask with input type choice.
The following example is almost the same as the example in ask text. However now you can select the colors using quick replies.

When a false answer is given, i.e. an answer that is not listed under Expecting, then it will ask again, this time using the question defined in the field called Try again.
Tags to store the choice
Selecting a quick reply will result in setting a tag. So selecting the quick reply with label "Red" results in the tag red
being set. This automatically means the tags green
and blue
will not be set.

Conditional actions
This principle makes it possible to base further actions on.

In the above example only the first action will be executed when the quick reply "Red" was selected. The rest of the actions will be ignored since the tags green
and blue
are not set.
Advanced matching
Although working with quick replies makes user input much more efficient (you only need to click on it), it remains quite fragile when working with typed or spoken messages. For instance, if someone answers "I like more greenish colors" will not match green.
This can be solved in two ways:
Keywords
Intents
Matching on keywords
Keywords are the easiest way to make your flow more robuust. Simply use the "Add keyword" button to add possible variations or synonyms to the answer you are looking for.
Matching on intents
Intents are a more robuust way to match user responses because they allow for AI training. The system contains more than 100 already trained intents that you can use. For instance intents for yes and no.

The above example expects either an affirmative or a negative response. The labels of the quick replies show "Yes" and "No". The matching however is far more intelligent. It will match any trained affirmative or negative. For example the "Yup" in the screen shot above shows it matches to Yes.
Linking a pre-trained intent can be done by clicking on the Add intent button. Once configured, the button will hold the intent name as its label, like shown in the above example screenshot.
Last updated
Was this helpful?