Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Boolean user input control

Use the Boolean user input control in a Virtual Agent topic to present a Yes/No prompt to the user.

Boolean user input controls prompt the user to answer a Yes/No question, and store the response as a string with a value of true or false. Use this value in topic utilities, such as the prompted Decision utility, to branch the topic flow based on the answer.

When you place this control on the canvas, a window appears with the header Add a decision node? The window message reads A decision node will be added following this node and has No and Yes options. If you select No, you must add a Decision utility to complete the Boolean. You can customize the names of the output values on the Decision node. For more information, see Decision utility.

Boolean user input control properties for LLM topic discovery

PropertyDescription
Node nameName that identifies this node in the topic flow.
Variable nameName of the variable that stores the user response to this prompt. The variable name is automatically created from the Node name property.
Allow automatic slot-fillingToggle to allow this node’s value to be automatically set by other nodes, as well as during topic discovery. When this toggle is activated, the Detail description field changes from dynamic Data Pill Picker and script options to a static text field.
Detail description

Description of the information that you need from users. If the Allow automatic slot filling toggle is deactivated, you can create a dynamic detail description by selecting the Data Pill Picker icon

Image omitted: variable-reference-picker.png
to define conditions, or select the Open Editor icon [Omitted image "icon-script.png"] Alt text: to enter a script. If the <strong>Allow automatic slot filling</strong> toggle is activated, you can only enter a static description.</p>

Image omitted: LLM-input-discoverable-toggle.png
When the Allow automatic slot-filling toggle is inactive, the detail description includes Data Pill Picker and script dynamic options. When the toggle is active, the Detail description field becomes static.</p></td></tr><tr><td class="sub-head" colspan="2">
Advanced
Enforce user promptToggle to open a field for a custom message shown to the user instead of the message generated by the large language model \(LLM\). You can create custom messages in plain language, input a script, or define conditions with the data pill picker.
ValidationAdd a script to validate the user input. For example, check if the user entered a valid email address.
Additional instructions for LLMFurther instructions to the LLM, such as adding data formats, restrictions, or default values for user responses. You can create additional instructions in plain language, input a script, or define conditions with the data pill picker.
Hide this node
Conditionally show this node ifNo-code condition statement or low-code script that specifies a condition for presenting this node in the conversation. The condition must evaluate to true.
Allow user to skip this node ifNo-code condition statement or low-code script that specifies a condition for letting users skip this node in the conversation. The condition must evaluate to true. You can set this field using either the condition builder or a script. If users enter a value such as `skip this step` when the conditions do not allow skipping, they receive a message saying the node cannot be skipped and are re-prompted to provide an answer.

Example Boolean user input control for LLM topic discovery

Note: Virtual Agent Designer controls may display and function differently in other channels.

Input propertiesInput user prompt
Image omitted: va-boolean-llm-3.png
All basic Boolean user input fields are openly available. Select any of the advanced options to toggle them open individually.
Image omitted: va-boolean-input-slack.png
An example prompt reads, "Would you like to add a comment?" Answers are Yes and No.
Image omitted: nass-boolean-user-prompt.png
An example prompt reads, "Would you like to leave a comment?" Answers are Yes and No.

Boolean user input control properties for NLU topic discovery

PropertyDescription
Node nameName that identifies this node in the topic flow.
Variable nameName of the variable that stores the user response to this prompt. The variable name is automatically created from the Node name property.
PromptPrompt or question for the user. The prompt can be either a text string or a script that returns text. This value is used only when the default value is not specified. For example: `What's your name?`
NLU entity\[NLU topic discovery only\]Option to associate an NLU entity with the node. If an NLU entity is associated with the input variable for this node, Virtual Agent can slot-fill the specified value based on the user's utterance. Select an entity from the list of entities associated with the topic intent. When you specify an entity for the node, the Do not ask users to confirm recognized entity toggle switch is displayed. When enabled, users are not prompted to confirm the extracted entity.
Advanced
Default value
Predefine a value for user inputPredefined value for the user response to the question or prompt. The response defined in the Default value confirmation field asks the user to confirm the default value. If the user responds with no, the value becomes null. The default value can be either a text string or a script that returns text. For example, if you're using dot-walking, the default value might be: Script Variables > Last username. Or if you're using a script, the default value might be: {{vaScripts.lastUsername}}.
Confirmation messages
Input completion confirmationBot response shown to the user when the node interaction is complete. The message can be either a text string or a script that returns text. For example, if you're using dot-walking: `Thanks, (Input Variables > Username)!` Or if you're using a script, the acknowledgement might be: `Thanks, {{vaInputs.username}}!`
Default value confirmationMessage that asks the user to verify that the value in the Default value field is correct. This message is used instead of a value in the Prompt field. It can contain either a text string or a script that returns text. For example, if you're using dot-walking: Are you (Input Variables > Username)? Or if you're using a script, the confirmation message might be: Are you {{vaScripts.lastUsername}}?.
Conversation switching
This section is available only when NLU discovery is enabled on the instance.
Turn on to let users change the subjectOption to enable NLU prediction for this node. If enabled, users can enter text to answer questions, regardless of the type of input control being used. Virtual Agent uses this utterance to match another existing intent, letting the user switch topics.
Hide or skip this node
Conditionally show this node ifNo-code condition statement or low-code script that specifies a condition for presenting this node in the conversation. The condition must evaluate to true.
Allow user to skip this node ifNo-code condition statement or low-code script that specifies a condition for letting users skip this node in the conversation. The condition must evaluate to true. You can set this field using either the condition builder or a script.
Skip reprompting ifNo-code condition statement or low-code script that specifies a condition for letting users skip reprompting in the conversation. When a preceding node is revisited through a topic loopback or Dialog Act, the Virtual Agent bypasses this node and automatically retain its original value.

Example Boolean user input control for NLU topic discovery

Note: Virtual Agent Designer controls may display and function differently in other channels.

Input propertiesInput prompt
Image omitted: va-boolean-properties.png
Basic properties include the node name, prompt, and NLU entity.
Image omitted: va-boolean-input-web.png
An example prompt reads, "Would you like to add a comment?" Answers are Yes and No.
Image omitted: va-boolean-input-slack.png
An example prompt reads, "Would you like to add a comment?" Answers are Yes and No.

Channel support

ChannelLLM supportNLU/keyword supportConstraints
Web UINot SupportedSupportedNone
Mobile UINot SupportedSupportedNone
Now Assist panelNot SupportedSupportedNone
Microsoft TeamsSupportedSupportedNone
SlackNot SupportedSupportedNone
WorkplaceNot SupportedSupportedNone
Facebook MessengerNot SupportedSupportedNone
SMS TwilioNot SupportedSupportedNone
LINENot SupportedSupportedNone
WhatsAppSupportedSupportedNone
Apple Messages for BusinessNot SupportedSupportedNone
Alexa (Voice)Not SupportedSupportedNone

Parent Topic:Assistant Designer user input controls