n8n-docs/docs/flow-logic/subworkflows.md
Charlie Kolb b2d43334e5
Add sub-workflow extraction page and link it from subworkflows page (#3221)
Co-authored-by: Justin Ellingwood <justin@n8n.io>
2025-06-11 11:00:33 +01:00

1.1 KiB

contentType description
howto Call workflows from other workflows, and split large workflows into smaller components.

Sub-workflows

You can call one workflow from another workflow. This allows you to build modular, microservice-like workflows. It can also help if your workflow grows large enough to encounter memory issues. Creating sub-workflows uses the Execute Workflow and Execute Sub-workflow Trigger nodes.

Set up and use a sub-workflow

This section walks through setting up both the parent workflow and sub-workflow.

--8<-- "_snippets/flow-logic/subworkflow-usage.md"

How data passes between workflows

--8<-- "_snippets/flow-logic/subworkflow-data-flow.md"

Sub-workflow conversion

See sub-workflow conversion for how to divide your existing workflows into sub-workflows.