How can we help?

Using Virtual Agent Designer: Ask Component

Follow

The Ask component determines the question that a Virtual Agent asks in a conversation. You can define multiple questions so that users can receive varied messages in each session for better conversational experiences.

Adding an Ask Component

image-0.png

  1. Click a Virtual Agent model [1] in the list and select Designer [2].image-1.png

  2. Under “General”, select the Ask component [3] and then drag it to a canvas on your right side [4].

  3. Double-click the component. Then, the component settings panel [5] will appear.

  4. Enter the required details of the component.

    • “Component name” [6]: The name of the Ask component. The name can contain letters, numbers (except as a first character), and underscores, and can be as long as 30 characters.

    • “Ask” message [7]: You can define a single message or multiple messages for the “Message” field to request user input. If you add multiple messages, one will be randomly picked during the conversation. You can add up to five message alternatives with a maximum of 1000 characters for each message. For voice calls, you can define messages in SSML format to allow for more customization in your questions, such as pauses, abbreviations, and currency expressions.

      Note: Click Add alternative or the trash can icon image-2.png to add or remove a message. You must define at least one message.

    • “Capture” [8]: The type of information that the Virtual Agent captures from the response. If you define multiple options, the Virtual Agent can only capture one of them during the conversation. There are three types of information that can be captured:

      • Entity (Custom) [9]: Define the name of the entity and the corresponding intent containing that entity to capture. The variable will be saved with the value of the entity if it is captured by the Virtual Agent.
      • Intent (Custom) [10]: Define the name of the intent to capture. The variable will be saved with the name of the intent if it is captured by the Virtual Agent.
      • Anything [11]: The Virtual Agent will capture everything that the user says. If this option is checked, you cannot add any intent or entity.

      Note: Click Add or the trash can icon image-3.png to add or remove an intent or entity. You must define at least one intent or entity.

    • “Variable” [12]: Enter a variable that stores the captured intent’s name, entity value, or any user input (if the Anything option is selected).

    • “Fallback” [13]: You can define a single message or multiple messages as responses to user input if no applicable intent or entity is captured. If you add multiple messages, one will be randomly picked as the response. You can add up to five message alternatives with a maximum of 1000 characters for each message. For voice calls, you can define messages in SSML format to allow for more customization in your response, such as pauses, abbreviations, and currency expressions.

      Note: Click Add alternative or the trash can icon image-2.png to add or remove a message. You must define at least one message.

  5. Click Save [14].

  6. After the component is created, you can connect it with another component. Keep in mind that if the component is not directly or indirectly connected to a Flow Trigger component, it will be ignored when the flow is executed.

Note: A red exclamation mark will appear on the component node if any required field is invalid. Hold the pointer over it to see further details.

Deleting an Ask Component

  1. On your canvas, click the Ask component you want to delete, and then press the backspace key (Windows) or the delete key (Mac) on your keyboard. Alternatively, you can double-click the component and select Delete in the side panel that appears.
    image-4.png
  2. Click Delete component in the dialog that appears to confirm the deletion.
All Articles ""
Please sign in to submit a request.