Docs Your customers
WhatsApp and SMS (Pro)
Send order updates on WhatsApp or by SMS through your own Meta or Twilio account.
Plattivo Pro sends order updates on WhatsApp or by SMS to customers who agree to get them. Messages go through your own account with the service: the service bills you for each message, and Plattivo adds nothing.
Open Restaurant → WhatsApp and SMS (owners).
Choosing the services
| Service | Sends | Good to know |
|---|---|---|
| WhatsApp Cloud API (Meta) | Meta's own service; the lowest price per WhatsApp message | |
| Twilio | SMS worldwide, and WhatsApp | One account for both. Twilio adds its fee to Meta's WhatsApp price |
Choose a service under Send WhatsApp through and Send SMS through, fill in its settings, and click Save. Keys and tokens are kept on the server and never shown again; leave a key field empty to keep the saved one.
WhatsApp Cloud API
- In Meta for Developers, create a Business app with WhatsApp and add your business phone number.
- Copy the Phone number ID and the WhatsApp Business Account ID from WhatsApp → API Setup.
- Create a system user in Meta Business Settings, give it your app and WhatsApp account, and generate a permanent token with the
whatsapp_business_messagingandwhatsapp_business_managementpermissions. The temporary token on the API Setup page stops working after a day.
Twilio
- From the Twilio console, copy the Account SID and Auth token.
- SMS sender: a Twilio number able to send SMS to your customers' country, or a Messaging Service SID (MG…).
- WhatsApp sender: your WhatsApp number registered with Twilio, if you send WhatsApp through Twilio.
India: SMS to Indian numbers must use wording registered under DLT with your sender ID. Register the wording before you turn SMS on.
WhatsApp templates
WhatsApp only lets a business start a conversation with a template that Meta has approved. Create templates in WhatsApp Manager (or in Twilio's Content Template Builder) and wait for approval, usually minutes to a day. Use the template category Utility for order updates. Suggested wording, with {{1}}, {{2}} for the parts Plattivo fills in:
- Order accepted: "Your order {{1}} is accepted and will be ready by {{2}}. Track it: {{3}}"
- Ready for pickup: "Your order {{1}} is ready for pickup."
- Out for delivery: "Your order {{1}} is on the way. Track it: {{2}}"
Order updates
Under Order updates, each update has:
- Send by: WhatsApp, else SMS (WhatsApp when a template is chosen and the message gets through, SMS otherwise), WhatsApp only, SMS only or Off;
- WhatsApp template: click Load approved WhatsApp templates, choose one, then what goes in each
{{1}},{{2}}… (order number, ready time, tracking link…); - SMS text: your wording with variables such as
{number},{promised_time}and{tracking_url}(the full list is under the updates).
| Update | Sent when | On at first |
|---|---|---|
| Order accepted | The restaurant accepts the order | Yes |
| Ready for pickup | A pickup or takeaway order is ready | Yes |
| Out for delivery | A delivery leaves | Yes |
| Delivery attempt failed | The driver couldn't deliver | Yes |
| Order not accepted / Order cancelled | With the reason's label | Yes |
| Ready time changed | Staff change the ready time | No |
| Thank you | 30 minutes after the order is done | No |
| New online order (to you) | A website or QR order arrives | Yes |
| Order late (to you) | An order is 5 minutes past its promised time | Yes |
Each update goes once per order (a changed ready time and failed deliveries each time they happen). Every message is noted on the order, so staff see it in the order's history.
Alerts to you: up to three mobile numbers get the new-order and late-order alerts. They need no opt-in.
Customers' consent
Customers get updates only if they agree:
- Ordering page and checkout page: a box "Send me order updates on WhatsApp or by SMS", unticked. Logged-in customers who said yes last time find it ticked on the checkout page.
- Counter and phone orders: after entering the customer's number, staff turn on WhatsApp/SMS updates when the customer agrees.
Without a yes, or without a mobile number, the order gets one note saying no updates were sent.
Sending a test message
Under Send a test message, choose WhatsApp or SMS and enter your mobile number. For WhatsApp, click Load approved templates, choose one and fill in its variables. Without a template, WhatsApp delivers the test only if that number wrote to your WhatsApp number in the last 24 hours.
Latest messages
The list shows the last 50 messages, who they went to (partly hidden), what they were for, and what happened:
- Waiting: queued; a message the service couldn't take is tried again after 1, 5 and 30 minutes;
- Sent: the service accepted it;
- Delivered and Read: the phone got it, or WhatsApp shows it was read (with delivery receipts, below);
- Failed: the service refused it (for example a wrong number or template), or reported later that it couldn't deliver it, with its reason. A WhatsApp update set to WhatsApp, else SMS then goes by SMS.
Delivery receipts
- Twilio reports what happened to each message by itself; there is nothing to set up.
- WhatsApp Cloud API: in Meta for Developers → your app → WhatsApp → Configuration, set the Callback URL and Verify token shown under the WhatsApp Cloud API settings, click Verify and save, and subscribe to the messages field. Then enter the App secret (App settings → Basic) in Plattivo, so Plattivo can check that receipts really come from Meta.
Without receipts, messages stay Sent.
Verification codes
Plattivo can send one-time codes that prove a customer holds a phone number; the screens that ask for them come with later updates. The Verification code update sets how codes go: by SMS with your text (it must contain {code}), or by WhatsApp with an Authentication template (Plattivo fills its code and its copy-code button).
Codes are 6 digits, valid 10 minutes, with 5 tries; a phone can get 3 codes in 15 minutes, and your whole site sends at most 200 codes a day. That cap stops someone from running up your SMS bill by asking for codes to many numbers; a developer can raise it with the plattivo_otp_daily_cap filter. Codes are never shown in the latest messages.
Messages are kept 90 days. Tools → Export Personal Data and Erase Personal Data include the messages about a customer's orders.
Still stuck? Email [email protected] and a real person will reply, usually within two working days.