Create the workflow
Head to automations tab, create new flow and select the WhatsApp channel
Search for the "COD Confirmation Template" & Use that
The best thing about Spur is that the template is already setup for you! This covers many things
If a customer confirms the COD Order, a "COD Confirmed" tag is added to the respective Shopify Order
If they cancel, the order is cancelled and a "COD Cancelled" tag is added to the respective Shopify Order
Exit Conditions
If you'll click the trigger (green color) and see the options inside of it, you'll notice two exit conditions
What if customer does not reply & cancels after fulfillment?
A few customers do this, and to mitigate this issue, you can implement the following.
We'll do the following
Add a delay block as the next step after the cod message is sent
After X hours/days, you will set the order tag to "COD Unanswered"
Add that tag to the exit condition
Now we check if COD Confirmed or COD Cancelled tag is added or not, just to ensure we don't add two tags
Last step, add an action for the "COD Unanswered" tag.
Add that tag, enable and save!
Final flow after setting it up
Conclusion
COD is a big pain, but we're here with you to solve it! If you have any more feedback, feel free to reach out to use using the chat widget on your Spur app on the bottom right.