Flow Automation: Loop Operation
In Flow Automation, the Loop Operation executor allows you to apply actions to each item in a list of data—such as orders, customers, or products—returned by a query. For example, you can automatically tag products, update customer notes, or move items into specific categories one by one. This article explains how to configure the loop target, supported triggers, real-world use cases, and ready-to-use templates.
Field Description
| Field | Description |
| Loop Target | Select the list of data you want to operate on in batch, such as queried customers, orders, or products. |
Applicable Workflows
The Loop Operation executor can be used in workflows triggered by any trigger:
- Any types of trigger
Example Use Case
Here’s an example of how to use the Loop Operation executor — Schedule products with a specific tag to be added to a target category:
| Note: This use case can also be found in the template section under the Product category. |
- Trigger: Scheduled Trigger
-
Executor 1: Batch Query Products
- Condition: Tag contains [New]
-
Executor 2: Loop Operation
- Add each matched product to a specific category
Available Templates
Below are common workflow templates that include the Loop Operation executor. Click any template name to view details or apply it directly:
- Schedule products with a specific tag to be added to a category: Automatically adds tagged products to the target category at scheduled times. This is useful for preparing seasonal pages (e.g., grouping Christmas products in advance) or managing time-sensitive promotions.
- Add tags to multiple specified products: Tags selected products in bulk at scheduled times. This is ideal for labeling new arrivals or marking slow-moving items for follow-up.
- Tag products based on their supplier: Automatically labels products according to their supplier, helping streamline purchasing strategies and inventory turnover management.
- Unpublish all products in a selected category on a schedule: Automatically unlists all products under a selected category. This is useful for off-season product clearance (e.g., removing winter apparel after March).
- Publish products from a specific supplier on a schedule: Automatically publishes products from a supplier based on their delivery cycle to improve product launch efficiency.
- Mark incomplete orders: Periodically detects and tags long-standing incomplete orders to help with identifying and managing order exceptions.