Run Data Flow

Overview

The Run Data Flow Action is one of the most important actions. It can be used to trigger any Data Flow on an event like a button press or timer. Data Flows can perform many operations, including making an HTTP request to an external API. To create a Run Data Flow Action, specify a Data Flow, input parameters, and optionally a destination for the result of the Data Flow.

organizing info  

Use Cases

  • Take data that has been entered into a form and run a Data Flow to save it to AirData
  • Run a command against an external API such as Salesforce
  • Send an email to a customer at a specified time using a Timer
  • Validate the content of a user input form

Action Properties

Data Flow

The selected Data Flow will be executed when this Action runs. Data Flows can be created and managed in the Connection Builder.

Inputs

If the specified Data Flow has Inputs, they will be listed under Inputs. For each Input to the Data Flow, an Airscript Expression may be provided. The Airscript Expression can be a function whose return type matches the Input's type.

Output Binding

When the selected Data Flow completes, the end result will be stored in the Airscript variable in Output Binding.

For instance, after the Data Flow action pictured below completes, if the Create Zendesk Ticket Data Flow returns the string "Success!", the variable ticket_creation_result will now contain "Success!".

organizing info