Variables & Data Mapping
Automations pass data as variables: named values with a type (text, number, object, file, and more). Triggers define inputs; actions consume earlier variables and can produce outputs for later steps.
Where variables come from
Section titled “Where variables come from”| Source | How they appear |
|---|---|
| Trigger inputs | Defined on Application, Webhook, or similar triggers; become available to the rest of the flow |
| Flow properties → Variables | Flow-level variables maintained for the whole automation |
| Node outputs | HTTP, Database, Javascript, AI Agent, Sub Workflow, and others expose outputs you map or name |
| Fixed values | Literals typed into a field instead of selecting a variable |

Fixed vs variable values
Section titled “Fixed vs variable values”When configuring a field in a node:
- Choose a fixed value when the content never changes (a constant URL path segment, a static email subject).
- Choose a variable when the value comes from a previous step or the trigger (a webhook body field, a database record ID).
Compatible types matter. Mapping a number field into a text-only consumer may fail or coerce unexpectedly—keep types aligned when you design the flow.
Application and webhook inputs
Section titled “Application and webhook inputs”On Application and Webhook triggers:
- Open the trigger’s General tab.
- Under Application Inputs or Webhook Inputs, click Add Input.
- Give each input a name and type.
Those inputs become variables other components can reuse. When a workflow Automations operation calls this flow, you map workflow fields into these application inputs.
Mapping outputs
Section titled “Mapping outputs”Many action nodes have an Output tab:
- Run or define the shape of the response (for example, fields returned by HTTP or Database).
- Map source fields to destination variables used downstream.
- Later nodes can pick those destination variables from the variable picker.
For Sub Workflow and some integration nodes, map both inputs into the nested work and outputs back into the parent flow.
- Name variables after their business meaning (
invoiceId,customerEmail), not after the node (http1_body). - Prefer small, typed inputs on Application triggers over large opaque JSON blobs when the caller is a workflow.
- Use a Javascript or Formatter step when you need to reshape data before the next action.
Related: Anatomy of a Flow, Connect Automations to Workflows.