Flow Automation: Archiving Products
When managing products with long-term stockouts, Flow Automation can help streamline operations by automatically archiving them. This article explains how to set up a workflow using this automation.
Supported Actions
You can use the following actions with this trigger. Click on each action name to view its setup details:
- [Product] Bulk Product Operation
- [Product] Product Ordered Successfully
- [Product] Product Status Updated
- [Product] Product Inventory Changed
Example Use Case
Here’s a real-world example to help you understand how to configure the workflow to automatically archive products that have been out of stock for an extended period. This setup is ideal for merchants who want to automatically remove long-term out-of-stock items from their storefront to maintain a clean product display (available in product templates):
- Trigger: Product Inventory Changed – Triggered when all SKUs have a stock quantity of 0.
- Condition: After 7 days, check if all SKUs still have a stock quantity of 0.
- Action: Archive product.
Available Templates
Here is a ready-to-use template that incorporates this trigger. Click the template to view or apply it:
- Automatically archive products after long-term stockout: Triggered by inventory changes from customer transactions. If all SKUs go out of stock and stay that way for seven days, the system will archive the product automatically.