Skip to main content

Use parameters in WhatsApp templates

A parameter is a placeholder inside a template. When the message is sent, Voixt replaces it with real customer information — a name, an order number, an OTP, an appointment time.

This is what lets one approved template serve thousands of customers.

What a parameter looks like

A parameter is a number inside double curly brackets:

{{1}}

The number tells Voixt which value belongs in that position.

Template:

Hello {{1}},
Your order #{{2}} has been confirmed.
Expected delivery date: {{3}}.
Thank you for shopping with us.

What the customer receives:

Hello Rahul,
Your order #ORD12345 has been confirmed.
Expected delivery date: 15 July 2026.
Thank you for shopping with us.

Why use parameters

  • Send personalized messages without creating a separate template per customer.
  • Insert customer-specific details automatically.
  • Eliminate manual typing errors.
  • Reuse one approved template indefinitely.

Common uses: customer name, order ID, OTP or verification code, payment amount, appointment date and time, tracking number, company name, delivery address.

Add parameters to a template

  1. Go to WhatsApp → Templates and click Create Template.
  2. Enter the basic details — name, category, language, type.
  3. Write your message text, placing parameters where customer-specific information belongs.
  4. Number them in order, starting at {{1}}. Do not skip numbers.
  5. Add a sample value for every parameter, so Meta can review the template in context.
  6. Preview the rendered message.
  7. Submit for approval.

Parameter rules

RuleCorrectIncorrect
Use double curly brackets{{1}}{1}, (1), [1]
Start at number 1{{1}}{{2}} as the first parameter
Do not skip numbers{{1}}, {{2}}, {{3}}{{1}}, {{3}}, {{5}}
Wrap parameters in real sentencesHello {{1}}, your OTP is {{2}}.{{1}} {{2}}
Always supply sample values{{1}} = Rahul Sharma(empty)
warning

Meta rejects templates whose parameters are malformed, out of sequence, or missing sample values. A rejected template cannot be edited — you must create a new one.

Sample values

Sample values exist so Meta's reviewer can see what the finished message looks like. They are used only for review and are never sent to a customer.

Give realistic values. {{1}} = Rahul Sharma tells the reviewer far more than {{1}} = test.

Practical examples

PurposeTemplateDelivered as
Order confirmationHi {{1}}, order #{{2}} is confirmed.Hi Priya, order #ORD9981 is confirmed.
OTP{{1}} is your verification code.448210 is your verification code.
AppointmentHi {{1}}, your appointment is on {{2}} at {{3}}.Hi Amit, your appointment is on 12 July at 4:30 PM.
Payment reminderHi {{1}}, ₹{{2}} is due on {{3}}.Hi Neha, ₹1,499 is due on 20 July.

Common mistakes

  • A message that is only parameters. {{1}} {{2}} reads as spam and will be rejected. Put the parameters inside a sentence.
  • Skipping a number. Going {{1}}{{3}} breaks the mapping.
  • Single brackets. {1} is not a parameter; it is literal text.
  • Empty sample values. Meta cannot review what it cannot see.
  • A parameter at the very start of a Marketing template. Some reviewers treat this as a spam signal. Lead with a word or two first.

Best practices

  • Use a parameter only where the value genuinely changes between customers. Static text belongs in the template.
  • Keep the parameter count low; each one is another chance for a bad value to render badly.
  • Sanity-check what happens when a value is missing — a blank name turns "Hello Rahul," into "Hello ,".
  • Preview with the longest realistic value, not the shortest.

FAQ

How many parameters can one template have? Meta does not publish a hard cap, but templates with many parameters are reviewed more strictly. Keep it to what the message actually needs.

Can I use a parameter inside a button? Yes, in dynamic URL call-to-action buttons. Quick reply button labels must be static — see Quick reply buttons.

Can I reuse the same parameter number twice? Yes. {{1}} can appear more than once and receives the same value each time.

What if I send fewer values than the template expects? The send fails. Voixt reports the error rather than delivering a broken message.

Next steps