Using variables

This section explains how to create a named variable for using step data in other fields.

  1. In a flow step, choose Action from the options menu, then click Variable from the list of utilities.

  2. Click Continue.

  3. Enter the variable name to update, or click Create a New Variable.

    For a new variable, enter the variable name.

  4. Enter the variable value. Click Step data to select data fields from previous steps.

  5. Click Save.

The variable is now available in the step data list for subsequent steps.

For example, this flow creates and uses a variable:

  1. Create a flow that is triggered when a ticket order is placed on Eventbrite.

  2. Create an RSVP Goal variable with the value 25.

  3. Add a Get Event action step from Eventbrite.

  4. Add a Post Message action step from Slack.

  5. 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.