OOS Tag Flow for Multiple Locations

We have two different established locations (Our Warehouse & our Retail Store) and we’re trying to build a flow that will add/remove the OOS tag for our e-mail flow. For some reason - it doesn’t seem to be adding/removing them properly, and the only times it adjusts the tag is when the product is first created.

I’ve attached screenshots of the current flow - any help would be appreciated.

What’s in flow run logs? I guess the trigger works, but the condition never true, so it never goes OOS?

Is your goal is to check if variant available at location, then update the tag?

Then you’re looking at the wrong property, because sellableOnlineQuantity is per variant, not per inventoryLevels_item, it does not account for location. I’d suggest

Okay I’ll change it to InventoryLevels_item.available and see if that resolves the issue. I’ll return tomorrow and let you know if that resolved it!

As of this morning, it only returned items that I had created in the last 24 hours - not all the items that went OOS in the last 24 hours.

hmm, strange. hard to tell from outside.

I’d look into Flow logs and see whether trigger is not firing or condition is not met – there is not so many things which can go wrong.

However, both of them work fine in my test store and in active stores I worked with.