Passing data between steps
Each step can leave data for the steps after it. You use that data with placeholders in double braces. The editor shows what is available and warns you when a placeholder will not work.The three places data comes from
Lists use numbers in square brackets (
{{trigger.body.items[0].title}}). A name with spaces uses quotes: {{steps.node_1.response.body["order id"]}}. Placeholders only look up values, nothing is calculated. A placeholder that finds nothing is left empty.
A step can only read the output of steps that run before it on the path to it. Use the Insert field button next to a field: it lists exactly what the earlier steps give you, with example values from the last run or the captured sample.
What each step outputs
For
response.body, result.json and delivery.body the editor learns the fields from the last run or from the captured sample. Run the workflow once, or send a test request, to see the fields in the picker.
Which step can follow which
- One entry step: Trigger or Webhook Trigger. Nothing connects into it.
- Condition (call outcome) only works after an AI Agent Call.
- Steps with an
errorortimeoutoutput: connect it, or a failure ends the run. An unconnectederroroutput makes the run fail. - An unconnected branch of an If / Switch just ends that branch.
- An older step with a single line out (for example Send Email) should lead to one next step. A second line is allowed but drawn dashed, because only the first is followed.
- A loop is only allowed if it goes through a Wait for Webhook or AI Agent Call. A loop without a wait is refused.
What the warnings mean
Warnings never block saving or activating. Errors (a missing required setting, a step with nothing before it, a loop without a wait, a rule that reads a step that is not before it) save the workflow as a draft but stop you from activating it.
Saving as a draft or activating
- Save always stores your work. With errors, it is stored as a draft and an active workflow is switched off.
- Activate is possible only when there are no errors. The button shows the reason when disabled. Activation also checks that the agents, listeners, credentials and tools you picked still exist.
- A run keeps the version of the workflow it started with.
Example
A shopper abandons a cart; the agent calls, then WhatsApp is sent.- Webhook Trigger gets
{{trigger.body.phone_number}}and{{trigger.body.checkout_url}}. - AI Agent Call passes
product={{trigger.body.items[0].title}}to the agent. - Condition checks the call was answered.
- Connector Action (Respond.io
send_message) sends the template with{{trigger.body.checkout_url}}.