Decide what belongs in a template, what should be a variable, and when you need a new template.
Every template has two parts: the words that stay the same, and the details that change. The words are reviewed by WhatsApp once. The details are variables, filled in each time the message is sent. Getting this split right is what makes a template easy to approve and easy to reuse.
This guide helps you decide what goes where, with examples of templates that work well and ones that don't. It takes about five minutes to read, and it's worth doing before you create your first few templates.
A template should still make sense if you read it out loud with the variables left in. If you can't tell what the message is about from the fixed words alone, neither can WhatsApp.
ChatReach has three kinds of variables. Which one you use decides who fills it in.
| Variable | Examples | Filled in by |
|---|---|---|
| Contact details | {first_name}, {email}, your own custom fields | ChatReach, for each contact, from the contact's details. |
| Shopify and Calendly details | An order number or a booking time | The automation that sends the message, from the order or booking that started it. |
| Your own variables | {discount_code}, {sale_date} | You, once, when you send a campaign. Everyone gets the same value. |
Contact, Shopify and Calendly details are in the list when you click Add variable. To make your own variable, type its name between braces in your message, like {discount_code}. When you send a campaign with that template, you fill it in under Optional custom variable fields.
| Situation | What to do |
|---|---|
| The message greets each customer by name. | Use {first_name}. |
| You send the same order update for every order. | Use one template, with a variable for the order number. |
| You run the same kind of sale every month, with a new code each time. | Use one template, with variables for the code and the end date. |
| You want to send an order update and, separately, a promotion. | Create two templates. One is Utility, the other Marketing. |
| You send the same message in English and Dutch. | Create a template for each language. |
| You want a version with an image and one without. | Create two templates. The header type is part of the template. |
| You want to change more than a few words. | Create a new template. |
Hi {first_name}, {message}
The whole message is a variable, so WhatsApp can't tell what you'll send. It's likely to be rejected for having too many variables for the amount of text. Even if it isn't, a promotion and an order update can't share a category.
Hi {first_name}, your order {shopify_order_number} has shipped and is on its way. We'll let you know when it's out for delivery.
The fixed words say exactly what the message is, and the variables only fill in the details.
{first_name}, your appointment is confirmed for {calendly_meeting_date} at {calendly_meeting_time}
Hi {first_name}, your appointment is confirmed for {calendly_meeting_date} at {calendly_meeting_time}. See you then!
WhatsApp doesn't accept a template that starts or ends with a variable. ChatReach checks this for you and shows Variables can't be at the start or end. Add text before or after them.
Hi {first_name}! {offer_text} Shop now at {link}.
Hi {first_name}, our {sale_name} has started! Use code {discount_code} for {percentage} off everything until {end_date}.
In the first version, the offer itself is hidden in a variable, so the template could say anything. In the second, each variable is a single detail, and you can reuse the template for every sale by changing the values.
Don't do this: one Utility template that you sometimes use for order updates and sometimes for a discount.
Do this: a Utility template for the order update and a separate Marketing template for the discount.
WhatsApp decides the category from what the template says, and a message with anything promotional in it counts as marketing. See Choose a template category and type.
A text header can have only one variable, so keep it short and put the other details in the message.
{sale_name} for {first_name}
Your {sale_name} code
A contact variable is only filled in if the contact has that detail. When a campaign uses {first_name} and a contact has no first name saved, we skip that contact instead of sending a message with a gap in it. You'll see them in the campaign's details as Missing template variable.
Before you send, check that your contacts have the details your template uses. If many of them don't, choose a variable they all have, or write the message without it, for example Hi there instead of Hi {first_name}.
WhatsApp asks for an example of every variable when it reviews a template. We fill these in for you, and we use the variable's name to pick a sensible example. A name like {discount_code} gets an example like "SAVE20", and {end_date} gets "31 December".
So give each variable a short name that says what it holds, in lowercase with underscores. Avoid names like {text1} or {x}: they don't tell you, your team or WhatsApp what goes there.
Our team is happy to help.