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

Add a custom control to a Virtual Agent topic or topic block

Add a custom control to a Virtual Agent topic or topic block. During the conversation, you can gather inputs from the user or display outputs to the user.

Before you begin

Do the following before you start this task:

Role required: virtual_agent_admin or admin

Procedure

  1. Navigate to All > Conversational Interfaces > Virtual Agent > Designer.

  2. On the home page, select the topic where you will add the custom control.

  3. In the Flow tab, drag the Custom Control icon from the Utilities section of the palette to the appropriate position in the topic flow.

    Note: If you selected Available on the palette in the custom control Properties page, the Custom Control displays as its own icon in the Utilities section of the palette.

  4. Select the custom control node.

  5. On the form, fill in the fields.

PropertyDescription
Custom controlThe name of a custom control asset that has been published in Virtual Agent Designer.
Node nameThe name of the custom control you selected.
Input mappingThe variables to be used as input to the selected custom control. For example, the following image has example variables:
Image omitted: map-cc-input-values-topic-block.png
Input mapping variables on this custom control include transaction date and time, customer name, and product issue.
The contents of this area change according to the custom control you selected. Options may include string input, referenced records, scripts, and so forth.
Output mappingThe variables to be output by the selected custom control. For example, the following image has example variables that are enabled:
Image omitted: cc-output-mapping-topic.png
Output mapping variables for this custom control include issue and username.
The contents of this area change according to the custom control you selected.
Advanced
Hide this node
Conditionally use this node ifA no-code condition statement or low-code script that specifies a condition for presenting this node in the conversation. The condition must evaluate to true.
  1. Select Save.

  2. To see how your custom control works in the topic, select Test in the header bar.

    Your topic runs in a chat test window.

  3. If no further changes are needed, select Publish in the Virtual Agent Designer header bar.

Result

The topic is active. You can deploy it to your Virtual Agent clients.