Quester Studio

subflow

Call another flow in the same workspace (depth and cycle guards)

Runs another flow by id and returns that flow’s output node result. Depth is capped (default max 5); cyclic call stacks are rejected. See SECURITY.md.

in ×1 subflow out ×1
Calls another flow. Multiple outgoing edges (fan-out) share the same output.

Data

FieldTypeDescription
labelstringOptional UI label
flowIdstringTarget flow id (filename without .flow.json)
inputobjectOptional map of string templates → subflow run input fields

Input / output

Value
Execute inputPrevious node output (not automatically passed unless you map it in input)
OutputSubflow’s flow output value

Examples

{
  "id": "callEcho",
  "type": "subflow",
  "data": {
    "flowId": "echo-subflow",
    "input": {
      "message": "foreach count={{nodes.mapIds.count}}"
    },
    "label": "Call echo-subflow"
  }
}

The sample workspace includes echo-subflow for this pattern; kitchen-sink calls it on the demo path.