Last updated

Approved templates

WhatsApp Notifications

Approved templates

A WhatsApp template in CartWhizz links your message to the template Meta approved.

FieldWhat to enter
Message textYour wording with variables like {{customer_name}}. Used for the preview, and sent as-is only to customers who messaged you in the last 24 hours.
Approved template nameThe name Meta approved (Gupshup: template ID; Twilio: Content SID).
Template languageThe language it was approved in, for example en_US or hi.
Parameter orderWhich detail fills {{1}}, {{2}} and so on in the approved template. Drag rows, use the arrows, or click Use message order.
Approval statusSet to Approved once Meta approves it. Draft, Pending approval and Rejected templates are not sent.

The preview shows the phone view and each value. It warns if a value would be empty, because WhatsApp rejects empty values.

Example: Meta approved order_shipped: "Hi {{1}}, your order {{2}} has shipped. Track it here: {{3}}". Set the parameter order to customer name, order number, tracking link.

Without an approved template name, a message can only reach customers who wrote to you in the last 24 hours. Offers always need an approved template.

Your store logo and web address in a template

An image header and the start of a link button are fixed: Meta approves them as they are. Two placeholders stand for your store's own details there, filled in when you submit the template and in every message:

PlaceholderWhereWhat it becomes
{{store_logo_url}}An image header's link, on its own. Use my store logo fills it in.Your logo from My store → Branding (JPEG, PNG or WebP), placed whole on a 1200×628 banner.
{{store_url}}The start of a link button, for example {{store_url}}/{{order_path}}Your store's web address, custom domain first.

{{order_path}} is the customer's order page (or the order tracking page for a guest), so {{store_url}}/{{order_path}} opens their order. These placeholders are not variables: you don't give examples for them.

WhatsApp crops an image header to fit the message, so a wide logo sent as it is would lose both ends. Your logo therefore goes out centred on a 1200×628 banner: on white, on near-black when the logo itself is white, or on the logo's own background colour when it has one. Nothing changes in the template, and a new logo needs no new review.

A guest's {{tracking_url}} (an order with no carrier tracking link yet) opens the order tracking page with the order number already filled in.

WhatsApp rejects a template whose message text starts or ends with a variable, such as one that ends with {{tracking_url}}. The template page warns you, and Submit to WhatsApp stays off until you add a word before the variable or a sentence after it, for example Track it here: {{tracking_url}} followed by Thank you for shopping with us. One-time code templates are the exception: WhatsApp writes their text itself.