Template Variables
Template variables are placeholders within WhatsApp Business message templates that are replaced with data specific to each recipient. Instead of sending the same generic text to everyone, you can personalize each message with the customer's name, order number, or delivery date. It is a key concept for WhatsApp campaigns that look professional and not like spam.
Why does it matter to an SME?
If your business sends appointment reminders, purchase confirmations, or shipping notifications, template variables make each message feel unique. A 'Hello {{1}}, your order #{{2}} is on its way' is much more effective than a 'Hello, your order is on its way'. Additionally, WhatsApp requires templates to have variables for certain use cases, such as transactional notifications.
Concrete example
Imagine a real estate agency that schedules visits. The template could be: 'Hello {{1}}, we confirm your visit to {{2}} on {{3}} at {{4}}. Reply to this message if you need to reschedule.' Here {{1}} is the customer's name, {{2}} the address, {{3}} the date, and {{4}} the time. With a single message approved by WhatsApp, you cover all your contacts without writing one by one.
Common mistakes
- Using too many variables: if the message has 10 fields, it becomes hard to read and increases the risk of error when loading the data.
- Not respecting the format {{1}}, {{2}}, etc.: WhatsApp does not accept variables with names, only sequential numbers.
- Forgetting that variables are filled in when sending: if you do not load the correct data, the message arrives incomplete or with errors.
- Thinking that variables are the same as auto-replies: templates are for campaigns or proactive messages, not for responding in the chat.
The approval time for templates in WhatsApp can be up to 48 hours, and conversation costs vary by country. It is always advisable to check Meta's official documentation to know the current limits and requirements.
At Wando, templates with variables integrate with your message inbox and campaigns, so personalization doesn't have to be a headache. But even if you use another tool, understanding this concept will save you time and improve your customers' responses.
How it's used in practice: a complete example
Let's look at a real case of an SME in the food industry in Buenos Aires. A restaurant wants to notify its customers that their order is ready for pickup. At Wando, you create a template with variables: 'Hello {{1}}, your order of {{2}} is ready. We'll be waiting for you until {{3}}.'
When the team sends the campaign from the inbox, they fill in each variable with the customer's name, the dish, and the time. Wando's AI suggests responses for the inquiries that come in afterward, but the template is sent as is, with the data loaded.
The result: each message looks personalized, WhatsApp shows it as a utility message (not spam), and the customer knows exactly what to expect. Without variables, you'd have to write each message by hand or send a generic text that nobody reads.
What it's commonly confused with and how it differs
Template variables are confused with two things: auto-replies and chatbots. They are not the same.
Auto-replies are automatic messages sent when someone writes to you first. Template variables, on the other hand, are used in proactive messages: campaigns, reminders, confirmations. The difference is key: one thing is reacting, another is starting the conversation.
A chatbot (like Wando's) suggests responses in real time based on what it learns from your team. Variables are just static fields that are filled in when sending. They don't learn, they don't improvise. They are complementary: you use variables for the first message and the chatbot for the conversation that follows.
What happens if you ignore it: the concrete consequence
If you don't use variables, your WhatsApp campaigns look the same as any business that sends spam. The generic message 'Hi, you have a promo' not only gets less response: it also increases the risk of your customers blocking or reporting you.
And there's a more direct problem: WhatsApp requires certain transactional messages (like order confirmations or appointments) to have variables to be approved. Without them, your template may be rejected and the campaign falls through.
The real cost is trust. A message with the customer's name and their specific order generates openness. A generic one doesn't. On a channel where 90% of messages are read, wasting that opportunity is expensive.
How it relates to Meta's official API
Template variables are a requirement of the official WhatsApp API (WhatsApp Cloud API). Meta does not allow proactive messages without an approved template, and variables are part of the mandatory format.
When you create a template in Wando, it is sent to Meta for approval. The deadline can be up to 48 hours, and conversation costs vary by country. There's no control over that: it's the platform.
The good news: by using the official API, your messages have Meta's approval and are not at risk of being blocked. Variables are the bridge between your business and the platform: without them, there are no proactive messages.
When it does NOT apply or is not convenient
Template variables are not for everything. If your communication is 100% reactive (you reply when they write to you), you don't need them. What matters there is the inbox and auto-replies.
They are also not suitable for ultra-short messages where personalization doesn't add value. A 'Hello, how are you?' doesn't need variables. And if your database has incomplete data, variables get filled with garbage and the message ends up worse than the generic one.
Also, if your business handles few customers and you know them by heart, writing by hand can be faster than setting up templates. The tool makes sense when there is volume: dozens or hundreds of messages with repetitive data.
Most common mistakes of those who just understand it
The first: using more than three or four variables. The message becomes unreadable and it's easy to make mistakes when entering the data. Less is more.
The second: not respecting the format. WhatsApp only accepts {{1}}, {{2}}, etc. If you put {{nombre}}, the template is rejected. It seems obvious, but it's the most frequent error.
The third one: thinking that variables fill themselves in. No. Someone has to load the correct data when sending. If the order number is wrong, the message arrives wrong.
And the fourth: confusing templates with auto-replies. Templates are for initiating, auto-replies for reacting. Mixing them generates inappropriate messages and annoyed customers.
Frequently asked questions
What are template variables in WhatsApp?+
They are dynamic fields written as {{1}}, {{2}}, etc., inside a message template. When sending, they are replaced with specific data for each contact, such as name, order number, or date.
How many variables can I use in a template?+
There is no fixed public limit in Meta's documentation; it depends on message length and platform policies. The recommendation is to use the minimum necessary so the message is clear and not overloaded.
Do template variables have an additional cost?+
No, the variables themselves have no extra cost. What may vary is the conversation price per template message, which depends on the country and template type (marketing, utility, etc.). Check Meta's official documentation for current pricing.
Can I use variables in automatic reply messages?+
Not directly. Template variables are for proactive messages (campaigns, reminders). Auto-replies are based on rules or AI, not templates with variables. In Wando, you can use both: templates to initiate and auto-replies for the chat.
What happens if a variable is left empty when sending?+
The message arrives incomplete or with a blank space, which looks bad and can cause confusion. That is why it is crucial to fill in the data correctly before sending. Wando alerts you if a required field is missing before launching the campaign.
Do variables work the same on Instagram and Messenger?+
No. Template variables are specific to WhatsApp. On Instagram and Messenger, proactive messages have other rules and formats. In Wando, management is unified, but template personalization applies only to WhatsApp.
Do I need to know programming to use variables?+
No. In Wando, you fill in the variables from the interface, without code. You only define the fields and load the data when sending. The tool handles the format and approval with Meta.