How to set up location-specific OOS alerts with Flow app?

Hello!

We operate multiple locations in Shopify, each managing its own inventory. I’m trying to create a Flow that notifies me only when a product goes out of stock at our warehouse location.

I’ve tried using the variable location name, but the notifications still trigger whenever any location runs out of stock—not just the warehouse.

Does anyone know which variables I can use to filter by a specific location in Shopify Flow? Thanks in advance!

Something like this works properly in my flow

I tried something similar, but somehow it reads all the location names instead of just the one I specify.

Yes, the Condition input includes all options.
It needs to be “any item” where “available” <=0 AND “name” == “location name”

I see! I’ve tried and noticed that the alert triggers every time Wheelock’s inventory hits zero, as long as the warehouse inventory is already at zero.

How can I prevent alerts from triggering repeatedly when my warehouse inventory is zero? I only want the alert to trigger the first time the warehouse inventory reaches zero, and not again when Wheelock’s inventory drops to zero afterward.

Can’t say since I do not see your entire flow.

Hey Wongg, use the location ID in Shopify Flow instead of the name. Add a condition like Inventory Level → Location → ID = your warehouse ID so alerts only trigger for that warehouse. It worked for me on a multi-location store.

Hello @jordialba675, thanks for the suggestion!!

However I have some products that have two locations sharing the same inventory pool. Would you happen to know if there’s any criteria or filter that could be used to manage this?