Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. When clicking ‘Test workflow’
  2. Loop Over Items
  3. Webhook Callback Wait
  4. Update finishedSet
  5. Initialize finishedSet
  6. Simulate Multi-Item for Parallel Processing
  7. If All Finished
  8. Start Sub-Workflow via Webhook
  9. Acknowledge Finished
  10. Continue Workflow (noop)
  11. Wait
  12. Call Resume on Parent Workflow
  13. Respond to Webhook
  14. Webhook

Similar automations