- 16 May 2024
- 1 Minute to read
- Print
- PDF
Single Choice
- Updated on 16 May 2024
- 1 Minute to read
- Print
- PDF
The single choice skill provides a way to select one choice of many in free text format or with buttons.
Figure: Single Choice
Creating a Choice Skill
To create a Choice Skill, perform the following steps:
- From the Flow Editor view, click Insert Skill.
- Select Choice.
Figure: Single Choice - Select or create a single choice content-type.
Figure: Select Single Choice
Single Choice options
- Message: The message is the question your bot will ask.
- Choice: Create choice related to a question.
- Label: Label for the choice. This is what is displayed on the button.
- Value: Value to expect for the selected option, for yourself.
Using Intent Detection for Advanced Choice Recognition
Intents can also be used as the value to be able to catch variations of answers, and are manage in the NLU page. This is really useful for channels that don't support inline buttons like text messaging, where people type similar, yet not exact answers.
You can accomplish this by adding intent:INTENT_NAME as a value to your choice skill. Then, make sure your INTENT_NAME exists in the NLU > Intents menu and has utterances.
Figure: Intent