How many variables can I use in the WhatsApp template body, and can I use variables in the footer?

How many variables can I use in the WhatsApp template body, and can I use variables in the footer?

⚡ Quick answer —

• There is no hard limit on the number of placeholders (variables) you can add in the body of a WhatsApp template, as long as the combined text + variables stays within 1024 characters.

• No, WhatsApp does not allow variables (placeholders like {{1}}) in the footer section of a template.


1 — How many variables can I use in the body of the template?

What is a Variable?

A variable is a placeholder used to insert dynamic content into a template. They are written as:

📌 Example:

• Template:

Hi {{1}}, your order {{2}} from {{3}} has been shipped. Track it here:{{4}}

• Filled Message:

Hi Riya, your order #4812 from ZapKart has been shipped. Track here: zap.link/track4812

Common Use Cases

1 {{1}}, {{2}}, {{3}} .... within the character limit of 1024.

Variables are perfect for personalising messages at scale, such as:

• Customer name

• Order ID

• Brand/store name

• Tracking link

• Date/time

Best Practices

• Variables must be numbered sequentially: {{1}}, {{2}}, {{3}}

• Do not skip or repeat variable numbers.

• Always have a proper value mapped against the variables.

• Always preview & populate variables during template submission for Meta approval.

• Variables are allowed only in the body — not in the footer or button text.

Validation Rules

• Templates with missing or out-of-sequence variables will be rejected.

• Only 1 variable is allowed in the Header if you select "Text". Variables can't be added in the Header if you select an image, video, or document.

Using variables in header

✨ Pro Tip: Keep variable usage minimal and meaningful—overloading templates with 10+ placeholders often hinders readability and increases the risk of rejection.


2 — Can I use variables in the footer?

What Is the Footer Used For?

The footer is an optional section meant only for static, supporting text, such as:

• Legal disclaimers

• Company names or taglines

• Contact notes (e.g., “Customer Service” or “T&C apply”)

Footer Limitations

• Maximum 60 characters

• No variables, formatting, or media allowed

• Must be static text only

• If you insert a variable, your template will be rejected by Meta during review

Where Can I Use Variables?

Variables are allowed only in:

• Body section → within the character limit of 1024 (it includes variables and text).

Example: Hi {{1}}, your order {{2}} is ready.

• Header → you can use only 1 variable in the header section when you chose "Text" option.

• URL buttons → inside query strings.

Example: https://track.com/{{1}}

WhatsApp Template Sections — Variables & Limitations

Section

Variables Allowed?

Header

⚠️ Limited 

Only 1 allowed in Text option (in media - you can upload a file) 

- One text variable in the header

Body

✅ Yes 

- Within the character limit of 1024 

- Must be sequential ({{1}}{{2}}…) 

- Supports formatting (bold, italics, emojis)

Footer

❌ No 

- Max 60 characters 

- Static text only (no variables, formatting, or media)

✨ Pro Tip: Use the footer for static trust-building text (e.g., “This is an automated message from ZapKart”) while keeping all personalisation in the body.

    • Related Articles

    • How many variables can I use in the body of the template?

      ⚡Quick answer - There is no hard limit of adding placeholders (variables) in the body section of a WhatsApp message template. The template body has character limit of 1024 and as many variables can be added along with text within the character limit ...
    • What is the correct way to use parameters in the MyOperator app for WhatsApp templates?

      ⚡Quick answer - Use double-brace placeholders — {{1}}, {{2}}, {{3}} — in your template body (and header text/button URLs if needed). Provide matching sample values in square brackets when submitting the template, then map each column from your ...
    • What are the major components of a WhatsApp template?

      A WhatsApp message template is made up of four components. The Body is mandatory (required in every template). The Header, Footer, and Buttons are optional, but if used, they must follow Meta’s strict guidelines. These parts determine how your ...
    • What is a WhatsApp Template Message?

      A WhatsApp Template Message is a pre-approved message format that businesses use to initiate conversations with customers outside the 24-hour service window. These templates help maintain compliance with WhatsApp’s rules while ensuring messages are ...
    • How to submit a New WhatsApp Template Message?

      To send proactive messages such as alerts, OTPs, or promotions via WhatsApp, you need to create and submit a template message. These templates must be approved by Meta before they can be used in business-initiated conversations. ? Prerequisites ...