Skip to content

How do I reuse one workflow inside another?

The Sub-Workflow step runs another of your workflows as one step, and carries on with its result.

  • Reuse: build “send a branded receipt” or “add a lead to the CRM” once, and call it from every workflow that needs it. Fix it in one place.
  • Readability: a 40-step workflow becomes five clear calls.
  • Separation: let a teammate own the payments sub-workflow while you own the sales one.
  1. Build the workflow you want to call. Start it with Run Manually.
  2. In the calling workflow, add Sub-Workflow and pick the workflow to run.
  3. The data reaching the Sub-Workflow step is passed in as the called workflow’s starting data.
  4. Whatever the called workflow produces at the end comes back as the step’s output.

If / Else branches inside the called workflow are honoured: only the path that matches runs.

  • Name sub-workflows by what they do: “Send receipt (sub)”.
  • Keep each one focused on a single job, with clear inputs.
  • Test the sub-workflow on its own first, with sample data.

Questions

What is a sub-workflow?

A workflow you call from another workflow as one step. It runs, then the calling workflow carries on with its result.

Which plan includes Sub-Workflow?

Basic and above.

How do I pass data to a sub-workflow?

The data reaching the Sub-Workflow step becomes the called workflow's starting data.