The Output step ends a branch of execution and produces the workflow’s return value. Every reachable branch in a workflow should terminate with an Output step.Documentation Index
Fetch the complete documentation index at: https://docs.anyreach.ai/llms.txt
Use this file to discover all available pages before exploring further.

What it does
- Evaluates any expressions in the output fields
- Returns the result to the caller
- Terminates that path of execution with status
success
Output fields
Each output field has:- Name — the key returned to the caller
- Type —
string,number,boolean,array, orobject - Value — a literal value or expression resolved against
ctx
When to use multiple Output steps
Use a separate Output step on each branch of a Condition step so every path has a clear termination:Examples
Simple success output
Not-found output
Agent-tool friendly output
When the workflow is invoked as an agent tool, keep output small and text-focused. The agent’s LLM uses the output to formulate a spoken response:summary string is more robust than a deeply-nested object the LLM has to navigate.
Considerations
- Output terminates the path. Any steps connected after an Output are unreachable.
- Pure expressions preserve types.
{{ n1.balance }}returns a number if the source is a number. Mixing with text (e.g.,"Balance: {{ n1.body.balance }}") always produces a string.

