Shopify Flow/Inventory & Restock/Automate Low Stock Sales & OOS Product Hiding
Operational EfficiencyMedium Difficulty

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

  1. Trigger

    Step 1

    Starts when inventory quantity changes

  2. Condition

    Step 2

    Condition checking if the product is out of stock

  3. Action

    Step 3

    Remove the out of stock product from the online store

  4. Condition

    Step 4

    Condition checking if the product is low stock

  5. Action

    Step 5

    Add the low stock product to a sale collection

  6. Action

    Step 6

    Add the tag: Low stock

Step-by-Step Setup

  1. 1

    Set the trigger to 'Product variant inventory quantity changed'.

  2. 2

    Add a 'Condition' path: 'Inventory quantity ≤ 0'. Under this path, add an 'Action' to 'Unpublish product'.

  3. 3

    Add a second 'Condition' path: 'Inventory quantity ≤ 10'.

  4. 4

    Under this second path, add an 'Action' to 'Add product to collections' (e.g., your 'Last Chance' sale collection).

  5. 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.

Open Shopify Flow

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 Automate Low Stock Sales & OOS Product Hiding | Shopify Flow Library