Shopify Integration
Recover abandoned carts, confirm COD orders, keep every shopper posted, and send coupons that actually work at your checkout — all on WhatsApp, automatically.
Automations included
- Abandoned-cart recovery — a three-step ladder, each touch with its own delay, message and optional discount code minted live in Shopify.
- COD confirmation — Confirm / Cancel buttons on the order, with optional auto-cancel if the shopper never replies.
- Order lifecycle — confirmed, paid, shipped, out for delivery, delivered, cancelled and refunded.
- Growth loop — review requests, cross-sell picks, win-backs for lapsed customers, back-in-stock alerts and a welcome message.
- Coupons that redeem at checkout — send a code on WhatsApp and it's created inside Shopify, with the orders it brings in tracked back to it.
Prerequisites
- A MotherBot account with a connected WhatsApp number.
- A plan that includes the Shopify integration.
- A Shopify store you can install an app on.
Step 1 — Connect your store
1
One-click install (recommended)
Go to Integrations → Shopify → Connect and authorize MotherBot from your Shopify admin. No API keys to copy, and the webhooks for orders, checkouts, fulfilments and refunds register themselves.
2
Or paste a custom app token
If you prefer to run your own custom app, create one in your Shopify admin and paste its Admin API access token and API secret key. The secret is what Shopify signs your webhooks with, so it has to be the one from your app.
Step 2 — Pick the store's WhatsApp number
1
Why it's one number
Meta approves a template against a single WhatsApp number, so a template approved on number A simply is not sendable from number B. Every store therefore pins exactly one number, and all its automated messages go out from it.
2
Request the templates
With the number chosen, submit all 15 store templates for Meta approval in a click. Cart, COD and order messages go to shoppers who haven’t messaged you, so they must be pre-approved templates — free text is only allowed inside the 24-hour window.
Step 3 — Turn on automations
1
Enable and tune
Open the automations panel and switch on what you want. Each recovery step has its own delay, message and optional discount; COD confirmation has its own auto-cancel window.
2
Set the guard rails
Quiet hours, per-contact daily caps and opt-out are enforced on every automated send, so a busy store can’t accidentally message someone six times before breakfast.
Step 4 — Make your coupons work at checkout
1
Create the coupon
Go to Grow → Coupons → New coupon, set the discount, expiry and caps, then tick Make it work at my checkout and choose your Shopify store. The same code is created inside Shopify, carrying across your expiry, usage limits and minimum spend.
2
Send it on WhatsApp
Use Send on the coupon to reach a tag or a saved segment. A promotional code has to travel inside an approved template, so pick the template and which
{{n}} variable carries the code. A chatbot can hand one out mid-conversation too, with the Give a Coupon node.3
Watch the redemptions come back
When a shopper checks out with the code, the order webhook records it against the coupon, the contact and the order — including what the order was worth. Open See orders on the coupon card to read the list.
Tip
A unique coupon mints a separate single-use code in Shopify for each person, at the moment it is sent to them — so nothing appears in your store until you actually send it. If Shopify refuses to create a code, that recipient is not messaged: handing someone a code their checkout rejects costs you the sale and a support conversation.
Tip
Already created the code in Shopify yourself? Sync it anyway — MotherBot recognises the clash and adopts the existing code rather than refusing. An adopted code is never deleted when you turn the coupon off, because you made it and may be using it elsewhere.
Warning
Cancelling or fully refunding an order releases the coupon it used — the count goes back down and a single-use code becomes usable again. A partialrefund does not: that’s still a sale the discount was part of, and giving the code back would let it be spent twice on one order.