Starting a workflow

Starting a workflow from another workflow

The application provides new actions to start workflows that begin with custom triggers. List of actions to start a custom workflow

Action that starts a custom workflow and is independent of data from previous steps:

  • Start custom workflow — runs workflows that use the Custom trigger triggered trigger.

Actions that start custom workflows for the selected customer, order, or product in the current workflow:

  • Start custom customer workflow — runs workflows that use the Customer: custom trigger triggered trigger.
  • Start custom order workflow — runs workflows that use the Order: custom trigger triggered trigger.
  • Start custom product workflow — runs workflows that use the Product: custom trigger triggered trigger.

The app includes loop detection to prevent infinite recursive workflows. If a workflow is triggered more than 10 times with the same object and the same Specifier within 30 minutes, the loop detection will activate and the workflow will terminate with an error.

Actions that start custom workflows for a list of customers, orders, or products:

There are no limits on the number of elements that can be processed by these actions. However, these actions are subject to Shopify's rate limits. When rate limits are reached, action's execution will continue as limits become available. This may slow down the action's execution, but it will not result in an error.

You can adjust the delay between workflow starts using the action's configuration parameter Delay between triggering. This allows you to manage the load on Shopify Flow and avoid exceeding limits.

It is important to know that these actions only start workflows but do not wait for their completion. If you want to perform a subsequent action after the started custom workflow completes, you need to add this action to the end of the started custom workflow.

See also: