Skip to main content
action.invoke-workflow, Execute another workflow and return its output

Configuration

Configuration goes inside the step’s with: block.
string
Workflow to invoke, definition name or wf_ id (tenant-scoped)
string
Legacy alias for workflow when the value is a wf_ id
"inline" | "child"
inline: run target steps in this execution (default). child: spawn a separate run with lineage.
record<string, unknown>
Input record keyed by the invoked workflow’s declared inputs
boolean
Child mode only. Wait for the invoked workflow to complete and return its output (default: true). Set false for fire-and-forget.
number
Child mode only. Max wait time in ms when waiting (default: 300000)
number
Child mode only. How often to poll status in ms when waiting (default: 1000)

Output

Returns record<string, unknown>. When wait is true, the invoked workflow’s declared output fields are flattened to the top level alongside a files array, reference them as {{ steps.<invoke>.output.<field> }} (there is no .data or .result wrapper). When wait is false, execution metadata. Call get_workflow_output_schema to see the exact resolved fields.