Blog / Automation & AI
Personalizing WhatsApp messages: variables and practical examples

In short
A message that uses the customer’s name and their data gets read and opens conversations; a generic message gets ignored. In this article we look at what variables are, how to insert them in WhatsApp messages and templates, with before-and-after examples, and which mistakes to avoid so you don’t come across as automated or get your templates rejected by Meta.
Open WhatsApp and imagine receiving two messages from two different shops. The first says: “Dear customer, we have some offers for you”. The second says: “Hi Marco, the jacket you set aside is back in stock in your size”. Which do you open? Which makes you want to reply? The difference between the two isn’t the product: it’s the personalization.
Personalizing means writing to a person, not to a crowd. On WhatsApp, where conversations are direct and personal by nature, a generic message feels off and gets filed away quickly. The good news is that personalizing doesn’t require writing a different message by hand for everyone: you use variables.
What variables are
Variables are placeholders that, at the moment of sending, are automatically replaced with each contact’s real data. You write the message once, insert a placeholder where you want the name to appear, and the system fills it with “Marco” for Marco, “Giulia” for Giulia, and so on. It’s like a letter with fields to fill in, but done automatically for thousands of recipients.
The most used variables are simple and powerful: the person’s name, the order number, the date of an appointment, the amount of a purchase, the name of a product. The more data you have in your address book, the more relevant you can make your messages. The secret isn’t using many, but using the right ones at the right moment.
Personalization in messages and in templates
Variables are used in two contexts, and it’s useful to distinguish them. In regular messages, that is, the ones you write to a customer within the 24-hour window from their last message, you have full freedom: you personalize however you like, even on the fly.
In templates, instead — the approved models you use to re-contact customers beyond 24 hours or to write first — variables are even more important, because they’re exactly what lets a single approved model adapt to each person. You approve the template “Hi [name], your order [number] is out for delivery” once and use it for everyone, changing only the values. Here, though, personalization follows stricter rules, because the text has to pass Meta’s review.
Before-and-after examples
The best way to understand the difference is to see it. Here are some typical messages, in the generic version and the personalized one.
| Situation | Generic version | Personalized version |
|---|---|---|
| Appointment reminder | Reminder of your appointment | Hi Anna, we’re expecting you tomorrow at 3:30 p.m. for your haircut |
| Order confirmation | Your order has been received | Thanks Luca, order 10482 is confirmed and ships tomorrow |
| Customer reactivation | Come back and see us, we have news | We miss you Sara, your favorite cream is back in stock |
Note what changes: not just the name, but also the concrete detail. “Your favorite cream” works because it’s based on something you know about that person. The most effective personalization isn’t slipping the name in everywhere, but showing the customer that you remember them.
Where the data for personalization comes from
A natural question arises: where do you get all this personal data? The main source is your address book, that is, the set of contacts with the information you gather over time. Every time a customer buys, books an appointment, or leaves you a contact detail, that data can end up in their record and become material for a tailored message.
The key point is quality: personalization is worth as much as the data that feeds it. If the address book is messy, with misspelled names or empty fields, even the best message will come out wrong. That’s why it pays to keep contacts clean, update information when it changes, and collect only the data you’ll actually use, without piling up useless fields no one updates.
Personalizing beyond the name
The name is just the beginning. You can personalize based on past purchases (“you loved last year’s model”), the city (“the Turin store”), the date of an event (“a week to go until your birthday”), or an order’s status. Every extra piece of data is an opportunity to make the message relevant, as long as you use it with measure and common sense.
With SendApp you insert variables into messages and templates by choosing the fields from your address book, without writing code. At the moment of sending, each contact receives the message already filled in with their data, and in campaigns the personalization is applied automatically to the whole list.
The mistakes to avoid
Personalization done badly can have the opposite effect: instead of drawing the customer closer, it pushes them away or, worse, gets your templates rejected. Here are the most common traps.
- The missing data point: if the name field is empty, the customer receives “Hi ,” or “Hi [name],”. It looks like a system error and makes a terrible impression. Keep the address book clean and set a fallback value, for example a neutral greeting.
- The name with the wrong capitalization: if you saved “marco” all lowercase in the address book, the message will show it that way. Take care of the quality of the data you enter.
- Overdoing the name: repeating it in every sentence sounds fake and mechanical. Once at the start is more than enough.
- Variables in templates without an example: when you submit a model for approval you have to provide a sample value for each placeholder, otherwise Meta rejects it.
- Wrong or outdated data: calling a customer by someone else’s name or citing a nonexistent order destroys trust. Better less personalization, but correct.
- Variables stuck together or at the start of the text: in templates they must be placed inside a complete sentence, never two in a row with no words in between.
Best practices for personalized messages that work
- Start from the data you already have and are sure is correct: better to personalize little and well than a lot and at random.
- Use the name once, at the start, and then focus on a concrete detail useful to the person.
- Always set a fallback value for fields that might be empty.
- In templates, fill in a realistic example for each variable before submitting the model for approval.
- Keep the address book tidy: well-spelled names, up-to-date data, contacts without duplicates.
- Test the message by sending it to yourself first, to see how it really looks once filled in.
In conclusion, personalizing WhatsApp messages is one of the simplest and most immediate ways to increase reads and replies. Variables let you do it at scale by writing once, but the difference comes down to care: correct data, measure in tone, and details that show the customer there’s someone on the other side who truly knows them.
Put it into practice with SendApp
Campaigns, AI and a multichannel inbox with no markup on message costs. Try it free, no credit card.
Redazione SendApp
The SendApp team — WhatsApp marketing and AI platform for businesses.