Sub-Workflow Output

Define typed output ports and pair with an input route to complete a sub-workflow interface.

Overview

The Sub-Workflow Output node declares the output interface for a workflow that is intended to be invoked as a sub-workflow. It pairs with a Sub-Workflow Input node via a shared route ID to define a complete input-to-output execution path. The visible output port determines which result is surfaced to the calling workflow.

Configuration

Field Type Default Description
Label string "Sub-Workflow Output" Display name for this output interface.
Route ID string "" The route ID of the paired Sub-Workflow Input node. Selected from a dropdown of available input routes in the workflow.
Ports SubWorkflowPort[] 1 default port List of output ports. Each port has a name and media type. Minimum 1 port required.
Visible Output Port string "" ID of the port whose result is shown as the preview in the calling workflow.

Port Configuration

Field Type Default Description
ID string auto-generated Unique port identifier.
Name string "Output" Display name for the port.
Media Type enum "any" Output data type. Options: text, image, video, audio, any.

Inputs & Outputs

Inputs:

Outputs: None. This is a terminal node within the sub-workflow. Results are returned to the calling Sub-Workflow node.

Best Practices

Common Use Cases

Tips