Passing values between steps
Every input of a flow step holds one JavaScript expression. A fixed value is a literal, "BRL" or 3. A value from another step is a read, nodes.load_orders.output.total. Anything else is ordinary JavaScript over those. There is no mode to choose. Expressions are checked while you type and again when you publish, so a broken one is named instead of quietly sending null downstream.
- Write a fixed value as a literal, with its type
- Read flow inputs, earlier steps, loop values and variables
- Use the picker, and read what the field marks as wrong
- Rename and delete a step knowing what reads it
- Use a variable, and know how secrets are kept out of the run record
One field for every input
A step’s inputs are its parameters: the arguments of a script’s main, the :name placeholders of a SQL query, the fields of a built-in step, the flow inputs of a subflow. Each one is the same field, holding one expression:
| You want | You write |
|---|---|
| Fixed text. The quotes are part of it. | "BRL" |
| A fixed number, true or false, a list. It keeps its type. | 3, true, [1, 2] |
| An input of the flow | nodes.flow_inputs.customer |
| A field of an earlier step | nodes.fetch_orders.output.rows[0].total |
| A project or global variable | vars.BILLING_API_KEY |
| Something computed | nodes.fetch_orders.output.count * 2 |
A field left empty has no value: the parameter’s default applies, and if it has none the input is required, as the field itself says (No value yet. This input is required to run.).
Fill an input
- Click the step
Its sheet opens. A script, SQL, subflow, AI Scraper or e-mail template lists every input in the Inputs column on the left, and you fill them there. On the other kinds, such as HTTP Request, a condition or a loop, the fields are in the form in the middle, and Inputs lists what they read: click a row to go to its field.
- Pick a value, or type it
The icon at the end of the field (Pick a value) opens a searchable list of what this field can read: earlier steps with their fields, the values of the loops around it, variables and the run. Choosing one writes the expression at the cursor, the same text you would type, and you can go on editing it. Typing
nodes.offers the same names, and hovering one shows its type. - Fix what the field marks
A problem is marked as you type, with what to do about it where there is a fix:
Joãowithout quotes offers Put in quotes,nodes.buscroffers the name you meant. - Test without touching the inputs
To run the step alone, press Run step: the sheet goes to Run and asks for a value for each input that reads another step. Those values are for that run only; the expression stays as it is.
def main(customer: str, total: float, api_key: str, currency: str = "BRL"):
# api_key arrives with its real value; the run records it as •••
return {
"line": f"{customer}: {currency} {total:.2f}",
"signed": len(api_key) > 0,
}In a flow, customer could be nodes.flow_inputs.customer, total an expression such as nodes.fetch_orders.output.count * 2, api_key a secret variable, vars.BILLING_API_KEY, and currency left empty so its default applies.
What an expression can read
| Read | Where | What it is |
|---|---|---|
nodes.flow_inputs.<param> | Everywhere | A parameter declared on Flow inputs, the first node. There is no .output here. |
nodes.<name>.output | After that step | What the step returned, with a path of any depth. |
nodes.<loop>.item, .index, .iteration | Inside that loop’s body | The current element, its position from 0, and its position from 1 (see loops). |
nodes.<loop>.output | After the loop | The list of each iteration’s last result. |
nodes.<parallel>.output["Branch"] | After the group | The result of one parallel branch, by its name. Renaming a branch rewrites what reads it. |
vars.NAME | Everywhere | A project or global variable, always text. |
run.runId, run.trigger… | Everywhere | This run’s context. |
A dot walks into an object and a number in brackets into a list: nodes.load.output.rows[0].email is the first row’s email. A key that is not a plain name goes in brackets and quotes: nodes.load.output.rows[0]["First Name"]. The picker writes it that way for you.
A step’s name
<name> is the step’s name in snake_case, made from its label when the step is created: Fetch orders → fetch_orders, Preço médio → preco_medio. Accents are dropped, other characters become _, and a name already used in the flow gets a number. Moving, adding or removing other steps never changes it. Only renaming the step does. flow_inputs is reserved for the first node.
Expressions
Any JavaScript expression works, evaluated in an isolated engine with nothing to reach outside: no network, no files, no require. Types are kept: a read of a number reaches the step as a number, and a list as a list.
nodes.fetch_orders.output.count * 2
`Total: ${nodes.add_tax.output.total}`
{ name: nodes.fetch_user.output.name, tier: "gold" } // an object literal is a value
Number(vars.RETRY_COUNT) + 1 // variables are text
nodes.fetch_user.output.nickname ?? "friend" // a fallback for a missing valueWhen a value is missing
- A missing last property reaches the step as
null.nodes.load.output.nickname, with nonicknamein the output, givesnull, and the parameter’s default does not apply. Write?? "friend"when you want one. - Reading through something missing fails the step with
binding_path_missing, naming the path:nodes.load.output.address.citywhen there is noaddress.?.works:nodes.load.output.address?.citygivesnullinstead. - In a template,
nullprints the wordnulland an object prints[object Object]. Write${nodes.load.output.name ?? ""}or${JSON.stringify(nodes.load.output)}. - An expression that throws fails the step, and so does
vars.TYPO(unknown_variable).
Renaming and deleting a step
Expressions name steps in text, so renaming and deleting show what they touch first. Renaming a step that something reads lists each step and field that reads it, and the name it will be read as; confirming rewrites all of them as one change, which one undo reverses. A step nothing reads is renamed with no question.
Only real references change. Text inside a string and another step’s property with the same name stay as they are. A reference that cannot be followed, such as nodes[key], is listed apart as Not updated automatically.
Deleting lists the fields that will break, including those that read a step inside a deleted loop, condition or parallel group. After you confirm, those fields are marked with an error and publishing is refused until they are fixed.
Variables and secrets
vars.NAME reads the variable’s value when the step runs, never a copy saved in the flow: change the variable on the Variables page and the next run uses the new value, with no republish. The value arrives as text and is converted to the type the script declares, so vars.RETRY_COUNT in retries: int arrives as a number. A project variable wins over a global one with the same name.
Secrets stay secret in the record. When a field names a secret variable, alone or inside a larger expression, the step receives the real value, but the run stores the input as •••, and the run view shows it with a lock: Secret value — not recorded. Non-secret variables are recorded in clear. Suggestions and the picker list a secret’s name and never its value.
{
"customer": "Ana Souza",
"total": 129.9,
"api_key": "•••",
"currency": "BRL"
}Variables made by an integration (its password or access key) are read the same way, and the picker shows them under Variables.
Checks and error codes
One rule set decides these for the editor, for publishing, for agents over MCP and for runs. An error refuses publishing and running; a warning refuses neither. What cannot be proved from the flow is never an error.
| Code | Kind | Means |
|---|---|---|
binding_unknown_node | Error | There is no step with that name. The closest name is offered. |
binding_node_later | Error | The step comes later, or can never have run at this point. |
binding_outside_group | Error | The step is inside a loop or branch and is read from outside it. Read the group’s output. |
binding_loop_scope | Error | .item, .index or .iteration outside that loop’s body. |
binding_unknown_field | Error | A field absent from a declared or fixed shape, such as a SQL step’s output or a declared flow input. |
binding_wrong_type | Error | Provably the wrong type for this input: text in a number, a number as a loop’s list. |
binding_bare_text | Error | Text without quotes. Put in quotes fixes it. |
binding_unknown_name | Error | A bare name that does not exist here and would throw. |
binding_syntax | Error | The expression does not parse. The position is marked. |
unknown_variable | Error | The variable exists in neither scope. A variable deleted after publishing fails the step with the same code. |
binding_field_not_seen | Warning | The field was not in the step’s last run. |
binding_unknown_shape | Warning | The step’s fields are not known yet: a script with no return annotation that never ran. Run it once to check. |
binding_may_be_absent | Warning | The step may not run before this one, because its branch may not be taken. |
A refused publish or run answers binding_problems and lists each one with its step and field. invalid_parameter is checked when the step runs, for a computed value that does not fit the type the script declares.