Using variables
This section explains how to create a named variable for using step data in other fields.
-
In a flow step, choose Action from the options menu, then click Variable from the list of utilities.
-
Click Continue.
-
Enter the variable name to update, or click Create a New Variable.
For a new variable, enter the variable name.
-
Enter the variable value. Click to select data fields from previous steps.
-
Click Save.
The variable is now available in the step data list for subsequent steps.
For example, this flow creates and uses a variable:
-
Create a flow that is triggered when a ticket order is placed on Eventbrite.
-
Create an RSVP Goal variable with the value 25.
-
Add a Get Event action step from Eventbrite.
-
Add a Post Message action step from Slack.
-
Add an If-Then step that calculates whether the RSVP goal has been reached:
-
If true, posts a message on Slack.
-
If false, the flow ends.
-