Connect WhatsApp and SMS
Send draft-order invoices to customers over WhatsApp with your own Meta Business account, and connect your own Twilio or Notify.lk account for text messages.
On this page
A Meta Business WhatsApp Cloud API app (for WhatsApp) or a Twilio/Notify.lk account (for SMS).
Open Notifications
Go to Settings → Notifications and scroll to the WhatsApp Business card.
Create a Meta app
At developers.facebook.com, create an app, add the WhatsApp product, and find your Phone number ID under WhatsApp → API Setup.
Connect WhatsApp
Check Enable WhatsApp messages, paste the Phone Number ID, and paste a permanent (System User) Access token, not a temporary 24-hour one. Once a token is saved, leave the field blank to keep it.
Set a default country code
Optionally enter a Default country code, digits only (for example 94 for Sri Lanka), so local numbers starting with 0 are sent correctly.
Add an approved template (recommended)
Enter an Invoice template name for an approved WhatsApp message template with 4 body variables (name, invoice number, amount, store), and its Template language (for example en). Without one, a plain-text message is sent, which Meta only delivers within the 24-hour window after the customer last messaged you.
Save WhatsApp
Click Save WhatsApp. The card shows Connected once a token is saved.
Send an invoice over WhatsApp
When you send an invoice from a draft order whose customer has a phone number, it is sent over WhatsApp as well as by email. WhatsApp is not used for order confirmation or shipping emails.
Set up SMS
In the Text messages (SMS) card, choose Twilio (your account) or Notify.lk (Sri Lanka), enter the Account SID and Auth token (Twilio) or User ID and API key (Notify.lk), enter a Sender, and click Save SMS.
Send a test SMS
Click Send test SMS. It goes to the mobile number in your account profile. SMS is used by app features that send texts, such as auction alerts in Hammer Auctions & Offers, and only to customers who agreed to receive them.
CHECK YOUR WORK
You’re ready when…
IF SOMETHING DOESN’T LOOK RIGHT
Troubleshooting
WhatsApp messages aren't delivering outside the 24-hour window.
Without an approved message template, Meta only delivers plain-text messages within 24 hours of the customer's last message to you. Add an approved template for reliable delivery.
My access token stopped working after a day.
You probably used a temporary token. Create a permanent System User token in Meta Business Settings and save it.
Send test SMS is greyed out.
Save your SMS settings first. The test button only works once a provider is set up and there are no unsaved changes.