AcademyWorkflowsDevelopment

Parallel Sub-Workflow Execution with Wait-for-All

Technical teams building n8n automations that process many items, such as documents, in parallel.

  • Recommendedour rating
  • 8,144views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

pattern-for-parallel-sub-workflow-execution-followed-by-wait-for-all-loop.json

Loading the file...

What it does

This n8n template shows how to start several sub-workflows at the same time and wait until all of them report back. Each run gets a unique identifier and a resume URL, and a wait-for-all loop checks whether every run has finished before the parent workflow continues. It is a design pattern, so you adapt the input data to your own process.

Use cases

  1. 01Process a batch of documents in parallel
  2. 02Continue only when every sub-workflow has finished
  3. 03Track each run with its own identifier

Connects

HTTP Request · Code

Questions about
Parallel Sub-Workflow Execution with Wait-for-All.

What is Parallel Sub-Workflow Execution with Wait-for-All used for?

Technical teams building n8n automations that process many items, such as documents, in parallel. This n8n template shows how to start several sub-workflows at the same time and wait until all of them report back. Each run gets a unique identifier and a resume URL, and a wait-for-all loop checks whether every run has finished before the parent workflow continues. It is a design pattern, so you adapt the input data to your own process.

How do I import Parallel Sub-Workflow Execution with Wait-for-All into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Parallel Sub-Workflow Execution with Wait-for-All safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.