Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Shopify Community Downtime: The Shopify Community will be down December 5th for 15 minutes between 3pm and 4pm EST. Thank you for your understanding.

How To Mark An Order As Fulfilled Without Sending A Fulfillment Request Email?

How To Mark An Order As Fulfilled Without Sending A Fulfillment Request Email?

sgr
Excursionist
25 1 10

I'm working on a flow where if certain conditions are met, the order is marked as fulfilled by flow and supplier A is emailed.

 

If these conditions fail, "send an internal email" is used to email supplier B.

 

I have then added an action to put the order on hold if the "send an internal email" action is activated, so that anyone looking at the order can see that an action has been taken. However, when removing the hold and releasing the fulfillment, the internal email is sent to the supplier again.


Is there any way to add an action to mark the order as fulfilled via flow without sending the fulfillment email to the supplier? I have seen that the Shopify API function can be used but I'm unsure how to set this up for this function.

Replies 6 (6)

paul_n
Shopify Staff
1431 157 332

It's unclear from your description exactly what is sending an email to the supplier. What do you mean by "releasing the fulfillment"? 

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.
sgr
Excursionist
25 1 10

Hi Paul,

 

Thanks for your reply.

 

When an order is placed on hold, to take it off hold you have to release the fulfilment. When you click the button to do this (in Shopify orders), the hold is removed from the order. When this happens, flow runs again, leading to the same outcome as when it ran the first time around and the order is again placed on hold. It is only when removing the hold a second time that the flow stops running.

 

I have found a slight workaround for this. Rather than placing the order on hold, I have set the flow to archive the order. It's not perfect but allows staff to see that an action has been taken.

paul_n
Shopify Staff
1431 157 332

What trigger are you using?

 

You likely need to add a condition to the workflow to check for something that is different the second time around. You could for example add a tag "firsthold" add the end of the workflow. Then add a condition after the trigger to check for that tag, only proceeding if it's missing.

 

 

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.
sgr
Excursionist
25 1 10

ok, thank you paul. at the moment the "archive order" action is working ok.

 

Ideally I want the outcome to be that the order is marked as fulfilled without a fulfillment request being sent. Is this a possibility?

paul_n
Shopify Staff
1431 157 332

I don't think marking something as fulfilled should send out a fulfillment request. It's possible you have a separate workflow doing that. That's what I was asking 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.
sgr
Excursionist
25 1 10

Hi Paul,

 

I've tested in isolation and if conditions are met for an order followed by a "mark as fulfilled action", if the item(s) on the order are assigned to a fulfillment location that has custom order fulfillment assigned to it in the Shopify settings (ie. an email address for the fulfillment location). The order is marked as fulfilled by flow and a request for fulfillment is sent in the same action to the fulfillment centre. I will check my other Shopify settings to make sure that this isn't being triggered by a setting outside of flow.