Variables

Use variables to store and manipulate data in your agentflow, such as an email address, file, calculated value. You can define, use, and update agentflow variables as many times as you need throughout your agentflow. Objects can be created for connector actions and events, which are automatically defined based on the action or event configuration. You can use different variable types to integrate your agentflow. Variables can be used inside the agentflow to manipulate data, but can also be used to populate data from 3rd party services (agentflow objects).

Access the Variables panel

Open the Variables panel to view a list of all the variables that you can use in your agentflow.

  1. Open the Agent designer:

    1. New agentflow: Click Create agentflow.

    2. Existing agentflow: Select the agentflow you want from the agentflows page.

  2. On the toolbar of the Agent designer, click Variables.

The Variables panel is displayed. The agentflow tab is selected by default.

The following variables are displayed. For more information about the variables, see Variables types.

Variable Type Description Method Create from Usage
Agentflow Stores data to be used throughout the agentflow. Manual
  • Action configuration panel
  • Variables panel on the toolbar
  • Agentflow
Start event Data from the agentflow start event. Manual and auto-generated
  • Start agentflow configuration panel
  • Variables panel on the toolbar
  • Agentflow

 

Agentflow instance variable Data related to the current agentflow instance. Auto-generated
  • N/A
  • Agentflow
Agentflow object

Output variables of agentflow actions and events.

Auto-generated based on action configurations
  • Action configuration panel
  • Agentflow

Designate output variables for your agentflow

Use output variables to pass data from an agentflow to a parent agentflow. To designate output variables for your agentflow:

  1. In the Agent designer toolbar, click Variables.

  2. Click the Agentflow tab.

  3. For each variable that you want to use as an output, select the Output checkbox.

When the current agentflow finishes, output variables are passed to any parent agentflows and actions that use them.