Solved

Shopify Flow - SKU Allow List for order tagging

dougdrury
Shopify Partner
2 0 0

Hello! I need a bit of guidance on creating a flow on order creation that looks at all SKUs in the order to see if they all are in an allow list of SKUs (eg. 111,222,333).

 

Below is a hypothetical to get the point across:
If there is an allow list of skus of 111,222,333 and an order comes in with skus 111 and 222 the flow should add a tag 'all-good' to the order, but if the order comes in with skus 111 and 555 in it the flow should add a tag of 'not-good'.

 

I have tried quite a few iterations/variations of conditions in flow, but have not been able to get one to kick off and/or add either tag to the order. I have created new orders via the back-end admin and also as a customer through the cart/checkout process. Nothing seems to kick off my flow. And yes, it is set to 'ON'.

 

I have even tried the negative testing conditions like 'not any of' to see if I can reverse engineer the flow, but no luck.

 

Any info/thoughts/help would be greatly appreciated.

 

Here are a couple of images of the generic flow I am trying to get working.

Shopify.pngShopify2.png

Accepted Solution (1)

DaveMcV
Shopify Staff
78 25 24

This is an accepted solution.

Hi Dougdrury

 

What you have there should work correctly, but you're getting caught by a small bug in how we evaluate lists. This should be resolved shortly if it hasn't been already.

 

Sorry for the inconvenience! 

DaveMcV | Flow Development 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 2 (2)

DaveMcV
Shopify Staff
78 25 24

This is an accepted solution.

Hi Dougdrury

 

What you have there should work correctly, but you're getting caught by a small bug in how we evaluate lists. This should be resolved shortly if it hasn't been already.

 

Sorry for the inconvenience! 

DaveMcV | Flow Development 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.
dougdrury
Shopify Partner
2 0 0

Thank you Dave. I tried it again this AM and it seems to be working. I appreciate the quick turn around!