How do I confirm or cancel Cash-on-Delivery orders in Shopify via interactive WhatsApp messages using MyOperator?

How do I confirm or cancel Cash-on-Delivery orders in Shopify via interactive WhatsApp messages using MyOperator?

⚡Quick answer -

Turn on the COD Order Confirmation or Cancel workflow inside MyOperator ➜ Ecomm+ ➜ Workflow.

Pick your approved COD template (with “Approve” and “Cancel” buttons), map the Shopify variables ({{name}}, {{orderid}}, {{link}}), test the message, and click Update workflow.

Each time a shopper places a COD order, they’ll instantly receive a WhatsApp prompt to confirm or cancel with one tap—helping you filter out non-serious buyers.

When should I use this guide?

Use these steps if you already have:

• The MyOperator ↔ Shopify plugin is installed and connected

• A verified WhatsApp Business Account (WABA) linked to MyOperator

• At least one Meta-approved COD confirmation template in the Utility category


Prerequisites checklist

What you need

Why it matters

MyOperator account with Ecomm+

Gives access to the Workflow tab

Shopify store admin rights

Lets the plugin read order data

Verified WhatsApp Business Account

Required for sending official messages

1 × approved Utility template for COD confirmation

Powers the Approve / Cancel buttons


Create your COD WhatsApp template

  1. In MyOperator, go to WhatsApp → Create Template.
  2. Name it clearly (e.g., cod_approval).
  3. Pick Utility as the category.

image.png

Alt text: Creating a new WhatsApp template

  1. Add interactive Quick Reply buttons:
    1. Button 1 label = Approve COD
    2. Button 2 label = Cancel Order
  2. Use exactly three variables:

Placeholder

Maps to Shopify

Example fallback

{{name}}

Customer first name

Customer

{{orderid}}

Order ID

{{link}}

Custom link powering both buttons

6. For the buttons to function, embed these dynamic links in your template body:

• Approve: https://shopify.myoperator.com/order-confirmation/{{approve}}

• Cancel: https://shopify.myoperator.com/order-confirmation/{{cancel}}

Wait until the template status shows Approved before continuing.


Step-by-step setup

  1. Navigate ➜ MyOperator ➜ Ecomm+ ➜ Workflow.
  2. Scroll to Cash-on-Delivery (COD) Management and locate COD Order Confirmation or Cancel.
  3. Toggle the flow ON, then click its name to open Edit workflow.

Alt text: Open and edit the COD workflow

  1. Select Template: choose cod_approval from the dropdown.
  2. Map Variables - Connect the variables from your template to the correct Shopify data.
      • Map {{name}} to the customer's Name.
      • Map {{orderid}} to the Order ID.
      • Map {{link}} to the Custom Link. This variable is used to power the confirmation buttons.
      • Provide a Fallback value for each variable, like "Customer" or a default order number, in case the data isn't available.
  3. Send Test: click Test, enter a 10-digit mobile number, and press Send Message.
  4. Review the live preview on the right; if everything looks good, click Update workflow to activate.

Alt text: Configure the confirmation message


Expected outcome & how to test

Outcome:

• Every new COD order triggers a WhatsApp message with Approve COD and Cancel Order buttons.

• Shopper tap = immediate status update in MyOperator and Shopify.

Testing steps:

  1. Place a test COD order in your store.
  2. Wait a few seconds; confirm the WhatsApp message arrives.
  3. Tap Approve COD; order status should update to “Confirmed.”
  4. Repeat test and tap Cancel Order; order should be marked “Cancelled.”

When this won’t work

• Template is still Pending or Rejected.

• Buttons fail if you didn’t use the exact dynamic link format.

• Customer has opted out of WhatsApp messages.

• Any required variable left unmapped → workflow error, message not sent.


Troubleshooting

Issue: “Template variable missing”

• Re-open the workflow and map every {{variable}}; add fallbacks.

Issue: Buttons do nothing

• Verify the template links match the exact URLs shown above.

Issue: Message not delivered

• Check MyOperator ➜ WhatsApp Logs for failure reason.

• Confirm recipient number includes country code and is WhatsApp-enabled.


Keywords - COD confirmation WhatsApp • MyOperator COD workflow • Approve Cancel COD order • Shopify WhatsApp COD