How to get instant out-of-stock alerts for a single location
Get immediate email notifications when a product variant goes out of stock at your primary fulfillment location, helping you restock faster and prevent lost sales.
The Problem
Manually tracking inventory for numerous variants is a huge time sink, and missing an out-of-stock alert at your main warehouse means lost sales and frustrated customers. Every hour a popular variant is unavailable, you're not just losing revenue, you're risking customer loyalty and giving competitors an open door to your market share.
What This Automation Solves
This Flow triggers instantly when a variant's inventory quantity changes for a specific location. It then checks if the variant is truly out of stock and, if so, sends a critical internal email to your designated team, ensuring immediate awareness and action. Optionally, it can update a product metafield, marking the variant for easy identification in reports or automated collections.
When to Use This Automation
- You primarily fulfill online orders from a single warehouse or store location.
- You need rapid, real-time alerts to restock popular items before demand shifts.
- Your team requires automated notifications instead of manual inventory checks.
Workflow
Trigger
Step 1Starts when inventory quantity changes
Condition
Step 2Condition checking if the variant is out of stock at the location
Action
Step 3Notify staff of out of stock variant
Action
Step 4Update the variant metafield based on stock state
Step-by-Step Setup
- 1
**Set Trigger:** Choose "Product variant inventory quantity changed."
- 2
**Add Condition:** Filter for "Product variant > Inventory quantity > is 0" at your specific location.
- 3
**Add Action:** Configure "Send internal email" with variant details and a link to the product admin.
- 4
**Optional Action:** Use "Update product variant metafield" to flag the variant as 'out_of_stock' for future reporting.
Related Questions
- Can this Flow monitor inventory across multiple locations simultaneously?
- No, this specific Flow is designed for a single location check. For multiple locations, you'd need to create separate Flows or more complex conditional logic to manage each one.
- What details should I include in the internal email notification?
- Include the variant title, SKU, a direct link to the product's admin page, and the specific location name so your team can quickly identify and address the stock issue.
- How can I get a consolidated list of all out-of-stock items after running this Flow?
- If you use the optional "Update product variant metafield" action, you can then create a saved search in your Shopify admin or use a reporting app to filter products by that specific metafield.
- Can this Flow automatically hide out-of-stock products from my storefront?
- While this Flow doesn't hide products directly, updating a metafield can be used with a collection condition (e.g., 'Metafield: out_of_stock is true') to automatically remove them from specific collections that are published on your store.
Recommended Tools & Apps
Launch this automation
Open Shopify Flow and use this page as your setup blueprint.
Merchant Insight
To make this Flow even more powerful, include a direct link to the product's admin page in your internal email. This dramatically cuts down the time from 'alert received' to 'restock action started' by eliminating search time for your team,
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.