Shopify low stock alerts by location: 3 ways
Short answer: Shopify doesn't send a low stock alert for each location out of the box. Its built-in alerts and Flow's inventory trigger look at the total across all your locations, so a store can run out while the total still looks fine. You can get per-location alerts three ways: a ShopifyQL report of days of stock left at each location, a Shopify Flow workflow with a location condition, or an app that checks every store for you.
This guide walks through all three, with the exact report query and Flow conditions, and when each one makes sense.
Why the total hides the problem
Say you sell a shirt in three stores:
| Location | On hand | Sold per day | Days left |
|---|---|---|---|
| Main St | 6 | 2 | 3 |
| Mall | 40 | 1 | 40 |
| Outlet | 54 | 0.3 | 180 |
| Total | 100 | 3.3 | 30 |
A total of 100 units and 30 days of cover won't trip any low stock rule. But Main St runs out in three days, and the Mall and the Outlet have more than enough to cover it. A per-location alert catches this; a total-stock alert never will.
That's also why "low stock" should be measured in days left at that location, not a fixed unit count. Six units is plenty for a slow store and three days' worth for a busy one.
Option 1: a ShopifyQL report of days left at each location
Shopify's analytics data includes a per-location forecast, days_of_inventory_remaining_at_location, in the inventory_by_location dataset. In the Shopify admin, open Analytics → Reports, start a new report, and switch to the ShopifyQL editor if your plan has it. Then paste:
FROM inventory_by_location
SHOW ending_inventory_units_at_location,
days_of_inventory_remaining_at_location
GROUP BY inventory_location_name, product_variant_id
HAVING days_of_inventory_remaining_at_location < 14
AND ending_inventory_units_at_location > 0
SINCE -30d UNTIL today
ORDER BY days_of_inventory_remaining_at_location ASC
LIMIT 200This lists every variant, at every location, with less than 14 days of stock left, the most urgent first. It's based on Shopify's own example query in the ShopifyQL reference. Change 14 to your supplier lead time plus a week of safety stock.
Things to know before you rely on it:
- It's a report, not an alert. Nothing tells you when something new crosses the line. Save the report and check it on a schedule.
- The forecast uses net stock change, not sales. Shopify works out days left from how much stock went down per day. A delivery or a transfer into the store during those 30 days makes it look like the store sold less, so the days left come out too high. Read it as a rough guide in weeks when deliveries arrive.
- The location filter has been unreliable. Merchants have reported location filters breaking in some inventory reports. Grouping by
inventory_location_name, as above, is the safer way to split by store. - It doesn't say what to do. It tells you Main St is low, not that the Outlet has 54 units sitting there.
Option 2: a Shopify Flow workflow per location
Shopify Flow can email you when stock changes, but its usual low stock template checks the variant's total across locations. Merchants on the Shopify Community have worked out a per-location version (discussion):
- Trigger: Product variant inventory quantity changed.
- Condition: "at least one of" the variant's inventory levels (under Product variant → Inventory item → Inventory levels) has both the location name equal to the store you want to watch and available at or below your threshold. Both checks must sit inside that same block, joined by AND. If they're separate conditions, Flow only checks that the store exists, which is always true.
- Action: send an internal email (or a Slack message) naming the product, variant and location.
- To stop repeat emails: add a true/false variant metafield for that location. Only alert when it isn't set, set it when you send the alert, and clear it when stock at that location goes back above the threshold.
Repeat the workflow for each location, with its own threshold and its own metafield.
What to watch for:
- The trigger doesn't say which location changed. It fires for the variant, and its "prior quantity" is the total across locations. Without the metafield, a sale at one store re-sends the alert for another store that's already low.
- Thresholds are in units, not days. You'll need a different number per store and per product to be accurate, and someone has to keep them up to date as sales change.
- Test before switching it on. Try each workflow on one variant and check the run log before using it for everything.
- It's one email per variant. On a busy day that's a lot of email, and none of it says where to get stock from.
Option 3: an app that checks every store
Several apps on the Shopify App Store do per-location low stock alerts. They fall into two groups:
- Alert apps send a list or digest of what's low at each location. Examples include StockPulse Alerts, StockLane and LSA Low Stock Alert.
- Transfer apps also look at the other stores and suggest moving stock before you reorder. Floorwalk (ours) is one of these; we cover how others compare on the Stocky alternative page.
Floorwalk reads your Shopify POS data read-only and, each morning, lists what runs out in the next two weeks at each store, measured in days left from actual sales. Next to each one, it shows which store has spare stock to send, with the numbers behind it. It's free for up to 3 stores.
Which option to choose
| ShopifyQL report | Shopify Flow | App | |
|---|---|---|---|
| Cost | Included | Included | Free to paid |
| Setup | 10 minutes | An hour or more per location | A few minutes |
| Alerts you automatically | No, you check it | Yes, by email | Yes |
| Measures low stock in | Days left (rough) | Units | Usually days left from sales |
| Suggests where to get stock | No | No | Transfer apps do |
| Best for | 2–3 stores, checked weekly | A few key products | 3 or more stores, checked daily |
Set the threshold in days, per store
Whichever option you choose, base the threshold on time rather than a fixed number:
Days left = units on hand at the store ÷ average units sold per day at that store
Flag anything with fewer days left than your supplier lead time plus a safety buffer. If the next delivery is 21 days away, a store with 3 days left needs stock from somewhere else, and the fastest place is usually another store. For more on the formula, see days of supply by store; for how many units to move, see stock transfer between stores.