WhatsApp Shopify integration for order updates and COD confirmation
Connect Shopify with an access token and ReploChat sends your approved WhatsApp templates when an order is placed, fulfilled or cancelled, or a checkout is left behind. Cash-on-delivery orders get Confirm and Cancel buttons that write the answer back to the order.
- 7-day free trial
- No card needed
- Official WhatsApp Business API
What the WhatsApp Shopify integration does
The ReploChat WhatsApp Shopify integration listens to your store's order and checkout webhooks and answers each one with a WhatsApp template you picked, sent from your own WhatsApp Business number. There is no app to install from the Shopify App Store: you create a small custom app in your own Shopify admin, paste two keys, and ReploChat sets up and verifies the webhooks for you.
Every message is a normal chat in your shared team inbox, labelled Shopify, so when a customer replies "can you change the size?" an agent picks it up in the same thread. It is built for Pakistani cash-on-delivery stores first, but works the same for prepaid stores anywhere.
| Automation | Shopify trigger | Typical template category |
|---|---|---|
| Order confirmation | Order created (prepaid) | Utility |
| COD confirmation | Order created with Cash on Delivery | Utility |
| Order shipped | Order fulfilled | Utility |
| Order cancelled | Order cancelled | Utility |
| Abandoned cart reminder | Checkout created or updated, not completed after your delay | Marketing |
Setup
Connect Shopify to WhatsApp in four steps
You need a connected WhatsApp number and at least one approved template. No developer required.
Create an app for your store
In Shopify admin open Settings → Apps → Develop apps and create an app in the Dev Dashboard. Give it the
read_orders,write_ordersandread_fulfillmentsscopes, then install it on your store.Paste two keys
In ReploChat open Integrations → Connect a store → Shopify. Enter your
your-shop.myshopify.comdomain and the app's client ID and client secret. ReploChat keeps the access token renewed for you.Map each event
For every automation choose the WhatsApp number and an approved template, then map each variable to an order field: customer name, order number, total, items, tracking, checkout link or store name.
Send a test
Use Send test with your own number and pick the event. A sample order goes out so you see the real message, without touching any real Shopify order.
Shopify signs every webhook with your API secret key and ReploChat checks that signature, so nobody can fake an order to trigger messages. Each event is remembered per store and order, so a webhook Shopify redelivers never sends a second message.
Cash on delivery
COD order confirmation on Shopify with one tap
The customer confirms or cancels inside WhatsApp, and the answer is written back to the Shopify order.
How the answer updates Shopify
- ReploChat spots COD orders from the payment gateway (for example "Cash on Delivery (COD)") and sends the COD confirmation template instead of the plain order confirmation.
- The template needs two quick-reply buttons: the first means Confirm, the second means Cancel. You write the button text yourself.
- Confirm adds the tag
cod-confirmedand an order note saying the customer confirmed on WhatsApp. - Cancel adds
cod-cancelledand a note. Tick "Also cancel the order on Shopify when the customer taps Cancel" to cancel it as well; stock is restocked, no refund is issued and Shopify sends no email. - The customer gets your Reply after Confirm or Reply after Cancel text, which can use
{name},{order_number},{total}and{store}. - A second tap changes nothing, and only the number the confirmation went to can answer it.
Your team can then filter Shopify orders by the cod-confirmed tag before booking couriers.
Why COD confirmation cuts fake orders and RTO for Pakistani stores
In Pakistan most online orders are still paid in cash on delivery. That is good for conversion and painful for margins: some orders are placed with a wrong address, by someone testing the checkout, or by a buyer who changes their mind before the rider arrives. Each of those parcels is booked, shipped and returned to origin (RTO), and you pay the courier both ways.
A WhatsApp confirmation before dispatch filters most of that out cheaply:
- A real, reachable number. If the number is not on WhatsApp the message fails, and you see that under Recent events before you book a courier.
- An explicit yes. Dispatch only orders tagged
cod-confirmed. Unanswered ones get a call from your team, not a parcel. - Cancellations happen before shipping. A buyer who changed their mind taps Cancel instead of refusing the parcel at the door.
- No call-centre load. Manually calling every COD buyer takes hours each day; the buttons do it in the background.
- Address fixes in the same chat. If the customer replies "please deliver to my office", an agent sees it in the inbox and edits the order.
We don't publish RTO percentages because results depend on your products, price points and courier. The mechanism is simple: fewer unwanted parcels leave the warehouse. For a longer walk-through, see the WhatsApp for ecommerce playbook.
Message examples
Order confirmation, shipping, cancellation and abandoned cart messages
Sample copy you can adapt for your own templates. Variables are filled from the Shopify order.
Order confirmation (prepaid)
Order shipped
Sent when the order is fulfilled; tracking comes from the latest fulfillment.
Order cancelled
Abandoned cart reminder
Sent after your delay (5 minutes to 7 days); skipped if the checkout is completed first.
WhatsApp template requirements for Shopify automations
WhatsApp only lets a business start a conversation with an approved message template. You create the templates in ReploChat, they are submitted to Meta, and once approved they appear in each automation's template list.
- Utility for order updates. Order confirmation, COD confirmation, shipped and cancelled messages are tied to a specific order, which is what Meta's Utility category is for. Keep them free of promotions; a discount line can get a template re-categorised as Marketing.
- Marketing for abandoned carts. Meta's guidelines list cart reminders as Marketing because they encourage a purchase. Create that template in the Marketing category.
- COD needs two quick-reply buttons. First button = Confirm, second = Cancel.
- Variables with samples. Use
{{1}},{{2}}(or named variables) for name, order number, total, items and tracking, and give Meta realistic sample values. - Media headers. If a template has an image, video or document header, paste a link to the file in the automation.
Meta bills your own WhatsApp Business Account per message by category and country; ReploChat adds no markup. Templates are in English. See the templates guide for approval tips.
Good to know
- Phone numbers. Local numbers like 0300 1234567 get the country code from the shipping address or the store's default country (Pakistan unless you change it).
- Opt-outs. A customer who replied STOP is never messaged by any automation.
- Recent events. Every webhook and its result (sent, skipped and why, or failed and why) is listed on the Integrations page.
- Disconnecting removes ReploChat's webhooks from your store and stops its automations. Messages already sent stay in your inbox.
- Custom checkout or headless store? Send the same events through the store-events API described in the store integrations guide.
Running WooCommerce as well? The WooCommerce integration works the same way.
7-day trial, no card needed.
Frequently asked questions
Still unsure? Ask us on WhatsApp or try it free for 7 days.
How do I connect Shopify to WhatsApp?
read_orders, write_orders and read_fulfillments scopes, then install it on your store. Paste its client ID and client secret into ReploChat under Integrations → Connect a store → Shopify. ReploChat creates the order, checkout and fulfillment webhooks and renews the access token for you. Full steps are in the store integrations guide.What happens in Shopify when a customer taps Confirm or Cancel?
cod-confirmed or cod-cancelled tag and a note saying the customer answered on WhatsApp. If you tick "Also cancel the order on Shopify when the customer taps Cancel", the order is cancelled too (restocked, no refund, no Shopify email). The customer then receives your thank-you or cancellation reply.How does ReploChat know an order is cash on delivery?
Does the Shopify abandoned cart reminder message every visitor?
Which WhatsApp template category should I use?
Is the Shopify integration a Shopify App Store app?
Who pays for the WhatsApp messages?
Keep exploring
- WooCommerce Order confirmations, COD Confirm/Cancel that changes the order status, and completed/cancelled updates.
- Ecommerce & online stores COD confirmation, abandoned carts, shipping updates, Instagram DM answers and broadcasts for online stores.
- Message Templates 102 ready-made templates, carousels and offers, with media headers, buttons and variables, submitted to Meta and synced.
- Shared Team Inbox Every WhatsApp number, Page and Instagram account in one inbox, with auto-assignment, team controls, WhatsApp calls, CSAT ratings and the 24-hour window built in.
- Campaigns Personalised broadcasts by label or segment, A/B tests, retargeting, scheduling, and delivered/read/clicked per recipient.
Step-by-step guides
Ready to grow your business on WhatsApp?
Team inbox, AI assistant, chatbots, Flows, campaigns and store automations on the official WhatsApp Business API.
- Create your account No card
- Connect the number you already use Meta popup
- Invite your team and start replying Same day