How do I use the output of one step in the next one?

Two ways:

  • Click it: the What arrives here panel on every step lists the fields from earlier steps. Click a field and it is written in the right form for that box.
  • Type it: ${step.field}, where step is the node’s number on the canvas.
Reference Means
${2.result_id} A field from node 2
${10.analysis} Agent Node 10’s answer
${3.items} All records from node 3
${5.key} The current record inside Loop Over Items 5
${inputs.file_name} A value given when the run started
${event.path} A field of the event that started the run

Common mistakes:

  • ${3.rows} can be a row count. Use items for the records.
  • A field reference reads one value, usually from the first record. To work on every record, use Loop Over Items.
  • In a Condition or a prompt, write the plain field name (priority), not item["priority"].
  • If ${7.summary} is left as text, step 7 didn’t run on that branch or doesn’t return summary.

Under each setting a green line reads the reference back, for example “Uses result_id from node 2”. Check it before you run.

Docs: Passing Data Between Nodes