Build a custom input or response control that topic authors can use in topics or topic blocks. In Virtual Agent conversations, an input control gathers information from end users, while a response control displays information to end users.

Before you begin

Create the custom control definition.

Important: To implement secure (password2) inputs in your Virtual Agent custom control, you must adhere to the scoped application requirements in Flow Designer. For details, see Flow Designer scoped application requirements for secure inputs.
Tip: Developers and topic authors may need to access custom controls created in other application scopes. To give them access, see Create cross-scope access privileges for topic blocks and custom controls.

Role required: virtual_agent_admin or admin

Procedure

  1. Navigate to All > Conversational Interfaces > Virtual Agent > Designer.
  2. In the Topics page, click + Create.
  3. On the form, fill in the fields.
    Table 1. Properties form
    Field Description
    Type

    List of objects that you can create in Virtual Agent Designer.

    Choose the type of custom control:
    • Custom Input Control
    • Custom Response Control
    Name Unique name for the custom control that reflects its purpose.
    Description Brief explanation of the purpose and functionality of the control.
    Advanced properties (optional)
    Make inputs secure

    [Custom input controls only]

    Enable Toggle switch that lets a custom input control pass secure inputs, such as passwords.
    Available on the palette
    Enable Toggle switch that determines whether the custom control appears as its own icon in the Utilities section of the palette on the Flow tab. This provides easy access to the control for other authors.
    Additional
    Categories List of categories. Categories identify and group related topics, topic blocks, or custom controls. If applicable, choose a category for your control.
  4. Click Create.
    The Flow tab opens and displays an initial flow that contains a custom control node.
  5. Click the Start node and define the input parameters to the control.
    Topic authors will provide these input parameters and values from the calling topic.
    1. Click + Add.
    2. On the form, fill in the fields.
    3. Click Save.
    4. Repeat these steps for additional parameters.
  6. Click the End node and define the output parameters and values returned from the custom control.
    Topic authors can use the output value in the calling topic.
    1. Click + Add New.
    2. Enter the name and value of the parameter.
    3. Repeat these steps for additional parameters.
    4. Click Save.
  7. Click the custom control node and complete the property sheet as follows:
  8. To create the control, click Save and then Publish.

Result

If you selected Available on the palette in the Properties page, the Custom Control icon displays as its own icon in the Utilities section of the palette. The control is listed on the Topics page, and you can use the Type menu to show only custom controls.

What to do next

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