Question details

Filling in the Details tab of questions, messages, cards and actions is similar.

Note: To create a question interaction, go to Designer, drag a Question onto the canvas and then fill in the details.
Name The name for the question interaction. For example enter a name that describes the purpose of the interaction. This will be useful later when viewing the bot on the canvas.
Intent Select an intention. The intention defines the range of responses that you expect users to enter in answer to the question.

For example, if this question is about paying a bill then the intention might allow a user to type in any of the following: pay, pay my bill, pay bill, make payment, payment.

Selecting an intention means that the user will be able to go to this interaction from anywhere in the conversation where they can enter one of the words or phrases in the intention. Leave this field empty if you want the user to only go to this interaction from the previous linked interaction.

When the User Says Enter the range of responses that you expect users to enter in response to a question.

You can also use an intention for this. The intention defines the common responses that are available globally to all the interactions in the tenant (company account). If there is an extra response that applies just to this interaction then enter the response directly in this field.

Entering text in When the User Says means that the user will be able to go to this interaction from anywhere in the conversation where they can enter one of the words or phrases in this field. Leave this field empty if you want the user to only go to this interaction from the previous linked interaction.

You can also use this field for the text (payload) that is received from another interaction. For example a Message interaction may define a Postback button where the payload is the text that will trigger this interaction. In this case the When the User Says text may need to be something that the user won't enter themselves. For example for a Get Started interaction this might be get-started-payload.

User text Enter the question that is shown to the user. The text is shown before displaying any buttons defined on the Answers tab.

The text can include data returned by the action selected in the Run Action field. For example:

How much would you like to pay? Minimum:
                  {system.formatCurrency
(getaccountdata.minimumPayment)}, Full Amount:
                  {system.formatCurrency
(getaccountdata.totalBalance)}

For more information, see Using variables in chatbots.

Note:You can randomize the text that is sent to the user in order to make the user's interaction with the bot feel more natural. For more information, see Send to User (random selection).