How can I tag orders with negative inventory in a specific location using Shopify Flow?

Solved

How can I tag orders with negative inventory in a specific location using Shopify Flow?

amellick
Tourist
7 0 1

I''m try to get FLOW to tag an order when an order is created if a line item is a negative inventory IN A SPECIFIC LOCATION then tag the order. I have multiple locations so I'm just looking to tag orders with no stock for line items in a specific location.

Any assistance appreciated

 

Accepted Solutions (2)

paul_n
Shopify Staff
1196 144 279

This is an accepted solution.

You want something like this:

 

22-54-4s8m9-dw3v2

Note: the "available" variable is deprecated so you'll need to expand that section to find it. The referenced "quantities" field does not appear to be available yet. 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.

View solution in original post

paul_n
Shopify Staff
1196 144 279

This is an accepted solution.

You chose "physicalLocation" which is only used for POS orders. You must follow the exact path I showed above.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.

View solution in original post

Replies 3 (3)

paul_n
Shopify Staff
1196 144 279

This is an accepted solution.

You want something like this:

 

22-54-4s8m9-dw3v2

Note: the "available" variable is deprecated so you'll need to expand that section to find it. The referenced "quantities" field does not appear to be available yet. 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
amellick
Tourist
7 0 1

Thanks Paul - this doesnt seem to work for me. Can you please check my setup. 

(Tag an order when one of the line items stock levels at the location "Alexandria Warehouse"  > 0)

amellick_0-1684804619543.png

 

paul_n
Shopify Staff
1196 144 279

This is an accepted solution.

You chose "physicalLocation" which is only used for POS orders. You must follow the exact path I showed above.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.