Assistant Designer user input controls

  • Release version: Zurich
  • Updated March 12, 2026
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Assistant Designer User Input Controls

    Assistant Designer provides a variety of user input controls that enable ServiceNow customers to prompt for and capture user information within Virtual Agent conversations. These controls are essential for creating interactive and dynamic dialog flows, especially when working with Large Language Model (LLM) topics. Each input control stores the user's response in an input variable, which can be accessed throughout the conversation to tailor the interaction.

    Show full answer Show less

    Key Features

    • Input Variable Management: Each control automatically generates a lowercase, underscore-separated input variable name based on the control's assigned name, accessible via getValue and getDisplayValue methods.
    • LLM User Input Controls: Supported input controls for LLM topics include Input Collector, Text, Static Choice, Dynamic Choice, Boolean, Date Time, and Carousel. To maintain accuracy, avoid using more than five input controls in a single LLM topic or Input Collector.
    • Natural Language Understanding (NLU) Integration: When NLU is enabled, certain input controls (Text, Choice lists, Boolean, Date Time, Carousel) present properties to link input variables to NLU entities for effective slot filling. This enables Virtual Agent to extract and confirm entity values from user utterances, supporting multi-value scenarios.
    • Topic Switching with NLU: An option to enable NLU prediction on a node allows users to switch topics by entering related text, enhancing conversational flexibility.
    • Advanced Options: Input prompts can have default preset values, and confirmation messages can be configured to confirm user responses at the end of a node interaction.
    • Input Control Types and Usage:
      • Input Collector: Gathers multiple user inputs for LLM topic conversations.
      • Text: Prompts for free-form text input.
      • Static Choice: Offers a predefined single-choice list.
      • Grouped Choice: Displays multiple groups of choices in one message.
      • Dynamic Choice: Creates choice lists dynamically from table queries or scripts.
      • Boolean: Presents a simple Yes/No prompt.
      • Date Time: Enables selection of dates, times, or both.
      • File Picker: Allows uploading of images or files, instantly displayed in the Virtual Agent client.
      • Carousel: Displays a horizontal series of images with labels for single selection.
      • Secure Text: Encrypts sensitive text inputs, crucial for secure LLM topic interactions.

    Practical Considerations for ServiceNow Customers

    By leveraging these input controls, customers can design rich, user-friendly Virtual Agent conversations that effectively gather and process user data. The integration with NLU enhances the accuracy of input recognition and allows for flexible dialog flows including topic switching. Using default values and confirmation messages improves user experience by providing guidance and validation. Careful use of input controls—especially limiting the number in LLM topics—helps maintain response accuracy and prevents overwhelming the model.

    Use the collection of input controls provided by Assistant Designer to prompt and capture information from the user in a conversation.

    Common input control properties

    In addition to data pills and condition controls, each input control has the following common properties:

    Input variable for the user response
    Each control stores the user response in an input variable that is accessible from other controls within the same topic using the getValue and getDisplayValue methods. The variable name is based on the name that you assign to the input control. For example, if you assign the name First prompt to an input control, the variable name is first_prompt. The variable name is lowercase, with an underscore character instead of a space. For more information on these methods, see Virtual Agent scripts.
    Figure 1. The Variable name field is populated automatically
    The Variable name field is populated automatically under Text input.

    Large Language Model (LLM) user input controls

    The following user input controls are supported in LLM topics when you create an LLM Virtual Agent topic. LLM user inputs include the following.
    Note:
    Avoid placing more than five user input controls in a single LLM topic, or more than five in a single Input Collector. Excessive user input controls can overwhelm the LLM and may lead to inaccurate or unexpected responses.

    Natural Language Understanding (NLU) entity properties

    If NLU is enabled, the following properties are displayed in the property sheet for the Text, Static Choice, Dynamic Choice, Boolean, Date Time, and Carousel input controls. To view or enable these properties, go to the Advanced options section.
    • NLU entity: The entity that corresponds to the input variable for the control. You select the entity from the list of entities associated with the topic intent, as defined in the NLU model that you’re using for the topic. When Virtual Agent recognizes the entity value in user utterances and if the value meets the entity prediction confidence threshold, then Virtual Agent extracts the value. The value is stored in the input variable for the node. This storing action is called slot filling. Slot filling recognizes when multiple values for the same NLU entity occur in a conversation. Users are prompted with a list to confirm which node value to select when multiple nodes are tied to the same NLU entity. This property is available only for NLU topic discovery.
    • Enable NLU to switch topics: Enables NLU prediction for the 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. To enable this property on a node, navigate to Advanced options > Topic switching.
    Default value
    An input prompt can have a preset value that you define. This value can be either a string or a script that returns a string. This property is in the Advanced options section.
    Confirmation messages
    These bot response messages signal the end of the node interaction and ask the users to confirm their response. This property is in the Advanced options section.