May 21, 2025

Flow: More actions and nesting in For Each loops

In a For each loop in Flow, you can add more than one action per loop, enabling you to use single loops for more use cases.

Two actions in a loop

In addition, you can also nest For Each loops, up to a maximum of two levels of For each steps. For example, in a workflow that uses “Get order data” to return a list of orders, you can now loop over those orders and then use a second For each to loop over the line items on that order.

nested loops

In addition, the maximum number of iterations of a loop has been increased from 100 to 1000 items at a time.

For more information about how it works, visit the documentation. For questions and feedback, post to the Shopify community.