Home/Glossary/What is a template variable?

Messaging and templates

What is a template variable?

A template variable is a placeholder inside a WhatsApp message template, written as {{1}}, {{2}} or a named form such as {{order_id}}, that is replaced with a specific value when the message is sent. Variables let one approved template personalise thousands of messages while keeping the reviewed wording fixed.

Updated 29 Aug 2026 · 1 min read

On this page
  1. Why it matters
  2. In VGraple CRM
  3. Related terms

MESSAGING AND TEMPLATES

Template variable (placeholder)

A template variable is a placeholder inside a WhatsApp message template, written as {{1}}, {{2}} or a named form such as {{order_id}}, that is replaced with a specific value when the message is sent. Variables let one approved template personalise thousands of messages while keeping the reviewed wording fixed.

message templatetemplate rejectionerror 132000custom field

Template variable (placeholder) in one line

Why it matters

Variables are the most common cause of template rejection and send failure. Meta rejects templates whose variables could hold arbitrary content (a variable alone in a line, adjacent variables, a variable at the very start or end without context) because they could be abused to send anything. At send time, a missing or mismatched variable count fails with error 132000, and newlines or excessive length in a value fail with 132012.

In VGraple CRM

The builder requires a sample value for every variable, checks placement rules before submission, and maps variables to contact and custom fields so broadcasts fill them automatically with fallbacks for empty values. Sends validate the variable count and length against the approved template before calling Meta.

Message template, Template rejection, Error 132000, Custom field.

Frequently asked questions

How many variables can a template have?
Meta does not publish a hard cap, but bodies with more than a handful are rejected as too open-ended. Keep to what the message needs.
Can a variable hold a link?
In the body, a URL in a variable is a rejection risk. Use a call-to-action URL button with a dynamic suffix instead.
What happens if a contact has no value for a variable?
VGraple CRM substitutes the fallback you set in the mapping (for example "there" for a missing first name) so the send does not fail.

Run your WhatsApp on VGraple CRM

Free forever plan, official Meta WhatsApp Business API, set up in 15 minutes. No card needed.