Skip to main content

Run subflow

Sophie avatar
Written by Sophie
Updated over 2 weeks ago

Definition and Usage

This command executes a specified subflow within the main workflow. It allows you to modularize your automation by breaking it down into smaller, reusable components that can be called when needed.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

Subflow

Select the subflow to execute

Any available subflow in the project

Yes

The dropdown displays all subflows defined in the current project

Variables produced

This action doesn't produce any variables.


Using Variables in Conditions

When working with the Run subflow command, you can use variables created in the main flow within the subflow. Variables created within the subflow can also be accessed in the main flow after the subflow has been executed, allowing for data exchange between different parts of your automation.


Notes

  • Subflows are useful for organizing complex workflows into more manageable components

  • Ensure that the subflow exists before attempting to run it

  • Subflows can be nested, allowing you to call a subflow from within another subflow

  • Using subflows improves workflow readability and promotes code reuse

  • If the subflow contains errors, they will affect the execution of the main workflow

Did this answer your question?