Library / Building Blocks & Utilities
Building Blocks & Utilities
Run Sub-Workflows in Parallel and Wait for Completion
When run manually or via webhook, several sub-workflows are started in parallel and the parent loops until all have reported back.
What it does
## Main/Parent Workflow * This starts multiple executions of the sub-workflow in parallel and then loops until they all report back.
The steps
- When clicking ‘Test workflow’
- Loop Over Items
- Webhook Callback Wait
- Update finishedSet
- Initialize finishedSet
- Simulate Multi-Item for Parallel Processing
- If All Finished
- Start Sub-Workflow via Webhook
- Acknowledge Finished
- Continue Workflow (noop)
- Wait
- Call Resume on Parent Workflow
- Respond to Webhook
- Webhook
Similar automations
Building Blocks & UtilitiesSpeed Up Workflows with Parallel Fan-Out and Fan-In Processing18 stepsBuilding Blocks & UtilitiesChain Multiple Claude Calls: Sequential, Parallel and Memory31 stepsBuilding Blocks & UtilitiesTest an n8n Sub-Workflow with Sample Input5 stepsChatbots & Messaging BotsDetect Customer Wait Times with OpenAI and Redis29 steps