This option allows you to present your users with a question and wait for their input to proceed. You can either ask a simple question or an options question. The former is as the name suggests. You ask a simple question and wait for your user input and select how you’d like to save the user answer in the next field as a text without space. These are called context variables that will be used to store the user input/data which can be used later in a conversation. This answer will be saved as a variable and you can call the store value in this variable in other places.
The options question allows you to present the user with a question that has multiple options that the user can then select to proceed with the Virtual Assistant. The user-selected option will be saved in the name you have provided in the next field. This will be stored as a context variable. An example is provided below:
Note: Dialog execution will stop at the Ask a Question node if no other node is present after it. That is, if you’ve created sub-dialogs, those sub-dialogs won’t get executed after a Ask a Question node.
The following are the steps to frame a question for the VA to ask the user and save the user’s answer.
1. Click on the Ask a Question option on the pop up that opens when you click on the + sign next to a node.
2. Type in the question you’d like the Assistant to ask the user under the Question field and give a name for the variable to store the user’s answer under Save the answer as.
3. Use the “Save the answer as:” field to specify a name for the context variable used to store the user’s answer to this question and then click on Save. You can even use the Options Question option for the example above by specifying ready-made clickable options for the user.
Note: You’ll be able to use the variables that contain data got from the user during the execution of the previous nodes/dialogs/sub-dialogs in the new nodes/dialogs/sub-dialogs that you create.