To connect a Shopify welcome popup to WhatsApp without sending the offer twice, decide on one place the code arrives, collect WhatsApp marketing consent on the form itself, and give exactly one workflow ownership of the welcome message. Then test four signup paths on a real phone. Most double sends come from a popup app and a WhatsApp workflow both thinking the welcome offer is theirs.
If your popup shows a code and an automation also sends it over WhatsApp, the shopper has two places to look and your team has two places to fix next month. Sort it out before you switch the popup on.
Should the code show on the popup or arrive on WhatsApp?
Both work. They suit different goals.
Option
How it works
Good for
Watch out for
Code on the success screen
Popup shows the code; a “Questions? Chat with us” link opens WhatsApp
Speed, no message cost
You don't confirm the number works
Code sent on WhatsApp
Form says “we'll send it on WhatsApp”, asks for consent, one workflow sends a marketing template
Meta charges per delivered marketing message; needs opt-in
Both
Code on screen and on WhatsApp
Rarely worth it
Two sources of truth, double the support questions
I'd go with the second option if WhatsApp is your main channel, as it is for a lot of stores selling in India, Pakistan, the Gulf and Brazil. A welcome code that lands in WhatsApp sits in the same thread as their order updates, so they find it again at checkout.
How do you collect WhatsApp consent on a Shopify popup?
Shopify Forms supports WhatsApp consent directly. Its settings page gives three choices: subscribe on submission, show a checkbox the customer must tick, or don't subscribe. WhatsApp and SMS consent need a phone field on the form.
Use the checkbox. The WhatsApp Business Messaging Policy requires opt-in before you message someone first, and a checked box with clear wording is the easiest consent to defend later. Something like:
☐ Send me my 10% code and occasional offers on WhatsApp. Reply STOP anytime.
If you use a different popup app, test which channel it records consent for and where that consent ends up. An email-only signup shouldn't land in your WhatsApp audience. Our guide to WhatsApp opt-in wording has more examples, and collecting WhatsApp opt-ins on Shopify covers the other places to ask.
A note on timing. Shopify Forms can show the popup on the first, second or third page view, immediately or after a delay. Its popup settings list exit intent as desktop only, and once a visitor dismisses the popup it doesn't show again unless they clear their cookies. So mobile visitors, who are most of your WhatsApp audience, only get the delay or page-view trigger.
A worked example: one welcome code, one owner
Say you sell modest fashion, mostly to shoppers in the UAE and Saudi Arabia. Your popup offers 10% off a first order. Last month the popup app sent the code by email, your WhatsApp workflow sent it on WhatsApp, and support got “which code do I use?” about a dozen times.
The fix:
Popup asks for phone number with the WhatsApp consent checkbox.
Success screen says: “Check WhatsApp, your code is on its way.”
The popup app's own welcome email is switched off for the code (it can still send a brand welcome).
One workflow sends one approved marketing template with the code.
The workflow skips anyone who already has a welcome tag.
The cost is easy to work out. As of November 2026, Meta's marketing rate is $0.0576 per delivered message in both Saudi Arabia and the UAE. At 600 signups a month that's about $34.56 in Meta charges, billed by Meta and passed through by WhatFlow with no markup. The pricing page has rates for other countries.
The template itself:
Welcome to Noor Studio, {{1}}! Here's your 10% code for your first order: WELCOME10. It's valid for 14 days. Reply here if you need help with sizing.
That last line matters. A reply opens the 24-hour customer service window, and sizing questions are where first orders are won.
Test four paths on a real phone
Before going live, submit the form:
As a brand-new subscriber with the box ticked. You should get one message.
Again with the same number. You should get nothing new, or a “you already have a code” reply.
With the box unticked. You should get no WhatsApp message at all.
As a new subscriber who completes a purchase before any scheduled reminder. Any follow-up nudge should stop.
Check that the code still works after each path, and search your other automations (abandoned checkout, broadcasts, the popup app) for anything that also sends the welcome offer.
Review the audience and the scheduled send in WhatFlow if you use a broadcast to deliver an offer.
If you're sending to a list you've exported rather than triggering per signup, check it against current opt-outs first. WhatFlow's audience spreadsheet guide covers mapping a CSV to a template. Native Shopify customer-segment sync is coming soon.
Leave support a reply for “I never got the code”
This will happen. A typo in the number, a shopper who unticked the box, a template still in review. Save this in the WhatFlow team inbox:
Sorry about that! Your 10% code is WELCOME10, valid on your first order for 14 days. If you'd like future offers on WhatsApp too, just reply YES.
The customer messaged first, so you can reply freely, and you don't need to subscribe them again to fix it. Only add them to marketing if they say yes.
Run WhatsApp for your Shopify store with WhatFlow
Free plan available. Templates, COD confirmation, Shopify Flow automations and a shared team inbox with no seat fees. Every feature is included on every plan, including Free.
Write down which system owns each customer-facing offer: welcome code, abandoned checkout, birthday, back-in-stock. When someone adds a new app, check that list before turning on its messages. WhatFlow includes templates, broadcasts, opt-outs and the blocklist on every plan, the Free plan included, so keeping WhatsApp sends in one place doesn't cost you a plan upgrade.
Frequently asked questions
Can Shopify Forms collect WhatsApp marketing consent?
Yes. As of November 2026, Shopify Forms lets you capture email, SMS and WhatsApp marketing consent, either on submission or with a checkbox. WhatsApp and SMS consent need a phone field on the form.
Should the welcome code show on the popup or arrive on WhatsApp?
Pick one. Showing it on the success screen is simplest and costs nothing per message. Sending it on WhatsApp proves the number works and starts a conversation, but it's a marketing template that Meta charges for and needs opt-in.
Why did a customer get the welcome offer twice?
Usually two systems own the same offer, such as a popup app's own automation and a separate WhatsApp workflow, or a shopper submitted the form twice. Give one workflow ownership and check whether the contact already received the offer.
Does a customer messaging my store count as WhatsApp marketing opt-in?
No. A support chat lets you reply inside the 24-hour customer service window, but it isn't permission to add that person to promotional broadcasts. Collect marketing consent separately.
WhatsApp's up-to-7-day free entry window vs the 24-hour window
What opens WhatsApp's free entry point window and the 24-hour service window, how they overlap, and what each means for your Shopify messages and costs.