Skip to main content
OutputsTerminal

Workflow Output

output_return
Aliases:output

Expose the final workflow output.

Inputs1
Outputs0
Settings0
Field AccessPayload
Examples2

About this Node

Marks the final output of a workflow branch and captures the evaluated result payload (`entire_state`, a single `specific_key`, or a `custom_template` using `{{key}}` placeholders) as the workflow's return output. Internal `_`-prefixed runtime metadata keys are automatically stripped from the returned payload.

Ports & Branches

Inputs (1)
inPort 0Terminal inbound execution flow
Outputs (0)None (terminal node)

How this Node Reads Data

Input Access Field Example Description
Output Payload Selection Payload — { "summary": "{{summary}}", "status": "ok" } Selects the entire clean workflow state, a single state key, or a custom JSON/text template interpolated with `{{key}}` placeholders.

State Keys Written (Outputs)

Key Pattern Type Role Description
_workflow_output object | string | any Primary Captured final result payload displayed in run history and returned to parent Sub-Workflows or API callers.

Tips & Best Practices

  • Terminal node (`IsTerminal = true`): has an input port (`0`) only and cannot be wired downstream.
  • Alias `output` resolves to `output_return` in authoring specs and `/docs?node=output`.

Commonly Paired With