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

ServiceSendsGood to know
WhatsApp Cloud API (Meta)WhatsAppMeta's own service; the lowest price per WhatsApp message
TwilioSMS worldwide, and WhatsAppOne 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

  1. In Meta for Developers, create a Business app with WhatsApp and add your business phone number.
  2. Copy the Phone number ID and the WhatsApp Business Account ID from WhatsApp → API Setup.
  3. Create a system user in Meta Business Settings, give it your app and WhatsApp account, and generate a permanent token with the whatsapp_business_messaging and whatsapp_business_management permissions. The temporary token on the API Setup page stops working after a day.

Twilio

  1. From the Twilio console, copy the Account SID and Auth token.
  2. SMS sender: a Twilio number able to send SMS to your customers' country, or a Messaging Service SID (MG…).
  3. 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).
UpdateSent whenOn at first
Order acceptedThe restaurant accepts the orderYes
Ready for pickupA pickup or takeaway order is readyYes
Out for deliveryA delivery leavesYes
Delivery attempt failedThe driver couldn't deliverYes
Order not accepted / Order cancelledWith the reason's labelYes
Ready time changedStaff change the ready timeNo
Thank you30 minutes after the order is doneNo
New online order (to you)A website or QR order arrivesYes
Order late (to you)An order is 5 minutes past its promised timeYes

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 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.