Ask: Choice

To ask the user to make a choice out of a list of options

Using the Ask: Choice node variant, the user can be asked to choose a single option from a list. The system will keep trying to elicit a response until a satisfactory answer is provided, alternating the question based on the contents of the property Repeat text. Once an option is selected, the Flow will continue by following the correctly labeled link.

This renders the following dialog:

The example above shows both the original question and the repeat questions. Normally it will first ask the original question, and only when no input is received (on voice channels) or wrong input is given, will the repeat text be shown. On voice this means you have an opportunity to explain about the DTMF choices: press 1 for … and press 2 for …, because the provided options are always available as DTMF choices (in order of their links from left to right).

Ask choice

Node properties

Property
Description
Explanation

Question

The original question

Try again (1)

The repeat question when wrong input is provided

optional

Try again (2)

An alternative repeat question when wrong input is provided

optional

Assign to

To assign the result to a variable in the conversation

Remember

To also store the variable in the user object

The variable name in the Assign to will be used to store the value in the user object.

Record audio ☎

On phone channels there is an option to record the audio

Assign audio URL to

When record audio is toggled the URL to the audio file will be stored in this variable

When record audio is toggled the URL to the audio file will be stored in this variable

Note that only the choice label (see labelled links below) is stored in the assign to variable, not the exact text that was captured.

The exact text that was captured is stored in the variable {{assign to}}_text

This node will also set a user tag using the assign to value. Don't forget to manually create this tag in the Tags page.

Choices

Choices can be added by drawing lines from this node to other nodes. Every link is a choice option, also called Labelled links. See the chapter Labelled links for more details

Dialog triggers

Special events can trigger another flow or set of nodes in your existing flow using Dialog Triggers. See the chapter Dialog triggers for more details.

Resources

Last updated

Was this helpful?