Output
The Output component — assemble what the workflow returns from its steps.
The Output component is the single terminus of every workflow. It's where the result is assembled from the steps you wire into it. It's not a schema editor — it's an assembly surface: connect the values you want returned, and it builds the final result from them.
Modes
The Output has two modes, set with a pill in its header:
- Single — the workflow returns one value. SDK and API callers receive that value directly, unwrapped.
- Structured — the workflow returns an object with several named fields, each filled from a step you wire in. Callers receive an object of those fields.
Assembling the result
When you wire a node into the Output, Compass automatically adds a field named after that source — so the common case needs no extra work. To refine it, open the Edit output panel, where you can:
- rename, add, remove, and reorder fields,
- set what each field is bound to,
- and preview the shape of the result.
In single mode the lone field's value becomes the return value; in structured mode the fields become the keys of the returned object. The assembled shape is the workflow's return contract — what an execution produces and what callers downstream (an agent, the API) read.
If nothing is wired in yet, the Output prompts you to connect a step or open the panel to assemble a result by hand.