Automate Low Stock Sales & OOS Product Hiding
Automatically promotes low-stock items to drive final sales while instantly unpublishing out-of-stock products to prevent customer frustration and wasted ad spend.
The Problem
Manually tracking and updating product availability wastes valuable merchant time, leading to missed opportunities for last-chance sales and frustrating customers with 'out of stock' items on product pages. Displaying sold-out products also burns ad budget and damages conversion rates, creating a poor shopping experience that can lose repeat business.
What This Automation Solves
This Flow instantly reacts when a 'Product variant inventory quantity changed'. If 'Inventory ≤ 0', it automatically 'Unpublish product' from your online store. For 'Inventory ≤ 10', the Flow 'Add product to collections' (e.g., 'Last Chance Sale') and 'Add product tags' like 'Low Stock', ensuring timely promotions and improved inventory awareness without manual effort.
When to Use This Automation
- When you want to automatically highlight specific products nearing sell-out for final sales pushes.
- To prevent customers from ordering out-of-stock items, eliminating refund headaches and negative experiences.
- If you need to quickly identify and manage products that are critically low on stock for reordering.
Workflow
Trigger
Step 1Starts when inventory quantity changes
Condition
Step 2Condition checking if the product is out of stock
Action
Step 3Remove the out of stock product from the online store
Condition
Step 4Condition checking if the product is low stock
Action
Step 5Add the low stock product to a sale collection
Action
Step 6Add the tag: Low stock
Step-by-Step Setup
- 1
Set the trigger to 'Product variant inventory quantity changed'.
- 2
Add a 'Condition' path: 'Inventory quantity ≤ 0'. Under this path, add an 'Action' to 'Unpublish product'.
- 3
Add a second 'Condition' path: 'Inventory quantity ≤ 10'.
- 4
Under this second path, add an 'Action' to 'Add product to collections' (e.g., your 'Last Chance' sale collection).
- 5
Finally, under this same path, add an 'Action' to 'Add product tags' with the tag 'Low Stock'.
Related Questions
- How do I create a 'Last Chance' collection for this Flow?
- Navigate to Products > Collections in your Shopify admin, click 'Create collection', give it a relevant name like 'Last Chance Deals', and ensure its type is set to 'Manual'.
- Can I adjust the low stock threshold (e.g., to 5 or 20) in this automation?
- Yes, absolutely. Simply edit the 'Inventory quantity ≤ 10' condition within the Flow to any number that best suits your product's sales velocity and desired reorder points.
- What happens when a product goes out of stock and then gets restocked?
- This specific Flow unpublishes at zero. To automatically re-publish upon restock, you'd add another condition path to the Flow checking 'Inventory quantity > 0' and an action to 'Publish product'.
- How can I effectively use the 'Low Stock' tag added by this automation?
- You can use the 'Low Stock' tag to create dynamic collections, filter products in your Shopify admin for reordering, or even trigger targeted email campaigns via marketing apps like Klaviyo for 'Last Chance' alerts.
Recommended Tools & Apps
Launch this automation
Open Shopify Flow and use this page as your setup blueprint.
Merchant Insight
Pro-tip: Combine this Flow with a Shopify admin saved search for 'Products tagged with Low stock'. This creates a quick, always-updated dashboard of items needing reorder or promotion, turning potential stockouts into actionable insights fo
Related Automations
How to Get Email Alerts for Low Product Variant Inventory
Automate internal email notifications instantly when any product variant's inventory dips below your critical threshold, ensuring you never miss a restock opportunity.
How to Automatically Hide Out-of-Stock Products on Shopify
Automatically unpublish products from your online store when inventory hits zero, and republish them when restocked, ensuring customers always see available items.
Automatically Republish Back-in-Stock Products
Automatically make products visible on your online store the moment they come back in stock, ensuring customers can purchase without delay.