Skip to content
Sub Flows

How to use Sub Flows

CoreFlow controlCost: 1 credit per runFull guide

What it is for

Sub Flows lets you split large automations into reusable flows: a main flow calls another, passes data and, optionally, waits for its answer. It is ideal for shared logic (for example, customer onboarding) used by several flows or for processing big files in batches.

Callable Flow needs no external URL: it fires instantly whenever another flow invokes it with Call Flow or Stream CSV to Subflows.

Set up the connection

  1. 1No connection is needed.
  2. 2In the child flow, choose the Callable Flow trigger and set an example of the incoming data in "Sample Data".
  3. 3If the main flow should wait for a result, end the child with the Return Response action.
  4. 4Publish the child flow, then in the main flow add the Call Flow action and select it in "Flow".

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Call Flow: pick the child "Flow", the "Mode" and fill "flowProps" with the data it needs, mapped from earlier steps.
  • Enable "Wait for Response" to use what Return Response sends back in the main flow.
  • Return Response: build in "Response" the result the calling flow will receive.
  • Stream CSV to Subflows: pass a "CSV File", choose the "Subflow" and set "Rows per batch" to spread the work; "Extra Data" adds shared context.

Tips

  • •Keep the "Sample Data" structure stable so calling flows' mappings do not break.
  • •Remember that each subflow run is a flow run of its own and uses its own credits.

Triggers (1)

Events that can start a flow. Expand each one to see its fields.

Callable FlowWebhook (paste the URL in the app)2 fields
FieldTypeRequired
ModeFixed listYes
Sample DataDynamic fieldsYes

Actions (3)

Operations available as flow steps. Expand each one to see its fields.

Call Flow4 fields
FieldTypeRequired
FlowList (from your account)Yes
ModeFixed listYes
flowPropsDynamic fieldsYes
Wait for ResponseYes / NoNo
Stream CSV to Subflows5 fields
FieldTypeRequired
CSV FileFileYes
SubflowList (from your account)Yes
Rows per batchNumberYes
DelimiterFixed listYes
Extra DataJSONNo
Return Response2 fields
FieldTypeRequired
ModeFixed listYes
ResponseDynamic fieldsYes

Common errors

The subflow is not listed in "Flow"

Make sure it uses the Callable Flow trigger and is published.

The response is empty

Enable "Wait for Response" and check that the child ends with Return Response.

Request timed out

Split the work into smaller batches or do not wait for a response on long processes.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps