Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
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.
It's unclear from your description exactly what is sending an email to the supplier. What do you mean by "releasing the fulfillment"?
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.
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.
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?
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.
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.
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024