Passing data between steps
Use start fields, earlier results and the agent's context in later steps with {{placeholders}}.
Each step can use data from the start form, from any step that ran before it, and from what the agent provides. Text settings that support it accept placeholders in double braces, which are replaced with values when the step runs.
{{fieldName}}: a field from the start form, for example{{customerName}}.- A step's result: under "What this step passes on", each step names its result, so later steps can refer to it.
{{context.name}}: a value or text the agent fills for a need called name.{{roles.name.emails}}: the email addresses of the people filling a role need, for emails to the right team.- Placeholders work in instructions, email subjects and messages, review instructions, API paths and what they send, messages and names in memory.
Tips
- Name outputs for what they hold (extractedInvoice, riskTier), not for the step that made them.
- Use a Data Transformation step to calculate values a branch needs, such as a total or a tier.
- Check a run's page to see the actual values each step received and produced.