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.
-
Open the Agent designer:
-
New agentflow: Click Create agentflow.
-
Existing agentflow: Select the agentflow you want from the agentflows page.
-
-
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 |
|
|
| Start event | Data from the agentflow start event. | Manual and auto-generated |
|
|
| Agentflow instance variable | Data related to the current agentflow instance. | Auto-generated |
|
|
| Agentflow object |
Output variables of agentflow actions and events. |
Auto-generated based on action configurations |
|
|
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:
-
In the Agent designer toolbar, click Variables.
-
Click the Agentflow tab.
-
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.