Confirm Shopify Cash on Delivery Orders and Cancel Unconfirmed Ones

12 min setup
No coding required
Runs automatically

Cash on delivery orders that nobody confirms often come back as failed deliveries and return shipping costs. This workflow texts and emails the customer when a COD order comes in, follows up a day later if the order still isn't marked confirmed, then either cancels it or adds a note for your team, depending on the risk you set.

Shopify logo icon
When a new Shopify order comes in
twilio logo icon
Twilio texts the customer to confirm
Email the same confirmation request
Shopify logo icon
Reload the order to check for confirmation
twilio logo icon
Twilio sends one follow-up text
Shopify logo icon
Reload the order one more time
Shopify logo icon
Cancel the high-risk order and restock it

How it works

12 steps to confirm every COD order before you ship it

Shopify logo icon

When a new Shopify order comes in

App connector: Shopify • Time to complete: 1 minute

Runs for every new Shopify order.

Keep only cash on delivery orders

App connector: Filter • Time to complete: 1 minute

Continue only when the order's payment gateway is Cash on Delivery (COD).

twilio logo icon

Twilio texts the customer to confirm

App connector: Twilio • Time to complete: 1 minute

Text the customer's phone number with the order number, shipping address and total, asking them to confirm. Your team (or a confirmation form workflow) adds the tag cod-confirmed once they do.

Email the same confirmation request

App connector: Email • Time to complete: 1 minute

Send the same confirmation request to the customer's email address.

Wait 24 hours

App connector: Delay • Time to complete: 1 minute

Wait 24 hours.

Shopify logo icon

Reload the order to check for confirmation

App connector: Shopify • Time to complete: 1 minute

Load the order again to read its current tags.

Continue only if the order isn't confirmed

App connector: Filter • Time to complete: 1 minute

Continue only if the order's tags do not contain cod-confirmed and the order isn't already canceled.

twilio logo icon

Twilio sends one follow-up text

App connector: Twilio • Time to complete: 1 minute

Send one follow-up text saying the order will be held until it's confirmed.

Wait another 24 hours

App connector: Delay • Time to complete: 1 minute

Wait another 24 hours.

Shopify logo icon

Reload the order one more time

App connector: Shopify • Time to complete: 1 minute

Load the order again.

Hold or cancel orders still unconfirmed

App connector: Paths • Time to complete: 1 minute

If the order is still not tagged cod-confirmed: on the high-risk path (for example, the shipping region or postal code is on your high-return list, or the customer is tagged high-rto), cancel it in the final step; on the other path, use Shopify Update Order Notes to add 'COD not confirmed after 2 follow-ups, call before shipping'.

Shopify logo icon

Cancel the high-risk order and restock it

App connector: Shopify • Time to complete: 1 minute

On the high-risk path, cancel the order with the reason 'customer' and restock its items.

Trusted by 1,000+ merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

Ready to confirm every COD order before you ship it

Get setup in 12 minutes.

Use this template →

FAQs

How does an order get marked as confirmed?

The workflow checks for the order tag cod-confirmed. Your team can add it after a reply, or you can build a second workflow where a MESA form (order number plus phone) finds the order and adds the tag.

Can it send WhatsApp messages instead of SMS?

MESA's Twilio step is Send SMS, so this template confirms orders by text message and email. If your customers prefer WhatsApp, send the confirmation request by email with a link they can reply from, and keep SMS as the follow-up.

How do I decide which orders to cancel?

Set the high-risk path to whatever predicts failed deliveries in your store, such as postal codes or regions with a high return-to-origin rate, a customer tag, or an order total above a limit. Everything else gets a note instead of a cancellation.

Will it cancel orders that were confirmed late?

No. The order is loaded again right before each check, so a cod-confirmed tag added at any point before the last check stops the workflow.

Personalize this template

Customize this workflow even further:

Set custom delays
Schedule actions to trigger after a set time period, such as sending follow-up emails 3 days after an event.
Chain multiple actions
Connect several steps together in one workflow, like tagging data, updating records, and notifying your team simultaneously.
Store data in tables
Save order details, customer preferences, or custom metrics in your own database for reference and reporting.
Deploy AI agents for smart decisions
Let AI agents evaluate complex scenarios and choose the right action path based on your defined rules.

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

confirm every COD order before you ship it

12 min setup • Fully supported if you need help