Why does my flow send two Slack messages for different product types?

Solved

Why does my flow send two Slack messages for different product types?

adminclix
Tourist
4 0 1

I have a flow set up on my Shopify store to hold a high risk fulfillment, that says "Start when... Order ready to fulfill, Check if Tags Include Proceed, Check if Risk level is High or Medium, then Hold fulfillment and send a Slack message". My issue is that if a customer buys a product and adds Life warranty to it for example (digital product), the Flow sends 2 messages to Slack, one for physical products customer bought and one for the Life warranty since it is a digital product. How can I fix this so it sends only one message?

Accepted Solution (1)

paul_n
Shopify Staff
1299 148 297

This is an accepted solution.

Order ready to fulfill fires for each fulfillment order, so there might be 1 or more per order. You need to use another trigger if you want to guarantee it only fires once, something like Order Risk Analyzed. You might want to use a Wait step immediately after the trigger just to make sure the initial order processing is done for that Order (something like 5 min). 

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

Reply 1 (1)

paul_n
Shopify Staff
1299 148 297

This is an accepted solution.

Order ready to fulfill fires for each fulfillment order, so there might be 1 or more per order. You need to use another trigger if you want to guarantee it only fires once, something like Order Risk Analyzed. You might want to use a Wait step immediately after the trigger just to make sure the initial order processing is done for that Order (something like 5 min). 

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.