Template Parameters
How dynamic parameters work in WhatsApp templates, parameter types, and how to fill them in Trochai.
Template Parameters
Parameters are the dynamic placeholders within a WhatsApp template that you fill in with specific information when sending the message. They allow you to personalize the same message for each recipient.
What are parameters
When a template is created in Meta Business Manager, parts of the text can be defined as changeable on each send. These placeholders are indicated with double curly braces:
Hello {{1}}, we are writing from {{2}} to follow up
on the property in {{3}}. Do you have availability
for a visit this week?In this example, {{1}}, {{2}}, and {{3}} are parameters that you will fill in with the client's name, the agency name, and the property location when sending.
Parameter types
WhatsApp uses two parameter formats, and Trochai detects them automatically:
Positional parameters
These are numbered parameters like {{1}}, {{2}}, {{3}}, etc. This is the most common format. The order is fixed and corresponds to the order they appear in the text.
Hello {{1}}, your appointment to see the property at {{2}}
is confirmed for {{3}}.| Parameter | What to fill in |
|---|---|
{{1}} | Client name |
{{2}} | Property address |
{{3}} | Appointment date and time |
Named parameters
These are parameters identified by a descriptive name instead of a number. This format is more recent and clearer:
Hello {{client_name}}, we are sharing a new property
in {{location}} priced at {{price}}.| Parameter | What to fill in |
|---|---|
{{client_name}} | Client name |
{{location}} | Property location |
{{price}} | Sale or rental price |
The parameter format (positional or named) is defined when creating the template in Meta Business Manager. Trochai automatically detects the type and shows you the corresponding fields.
Parameter sections
Parameters can appear in different sections of the template. Trochai indicates which section each parameter belongs to with a label next to the field:
Header parameters (HEADER)
These appear at the top of the message. They are generally short text like a title or a name.
Header: New property in {{location}}Body parameters (BODY)
These are the most common. They appear in the main text of the message.
Hello {{name}}, we have a {{bedrooms}}-bedroom
property in {{area}} that might interest you.Button parameters (BUTTON)
These appear in buttons with dynamic URLs. They are less common and generally contain an identifier or code that is appended to a base URL.
Button: View property → https://example.com/property/{{property_id}}How to fill in parameters in Trochai
When you select a template with parameters to send from a conversation, Trochai shows you a form with one field for each parameter.
Each field includes:
- Parameter name — a readable name like "Client Name" or "Parameter 1" if positional.
- Section label — indicates whether the parameter belongs to HEADER, BODY, or BUTTON.
- Example — when the template includes an example value, it is shown below the field for reference.
All parameters are required. You cannot send a template if any field is left empty. The send button is enabled only when all fields have a value.
Common examples for real estate
Below are typical examples of how to fill in parameters for templates commonly used by real estate agencies:
Lead follow-up
| Parameter | Example value |
|---|---|
| Client name | Maria Rodriguez |
| Agency name | Costa Rica Properties |
| Property type | 2-bedroom apartment |
Appointment confirmation
| Parameter | Example value |
|---|---|
| Client name | Carlos Jimenez |
| Address | Escazu, San Jose |
| Date | Friday, March 15, 10:00 AM |
| Agent name | Ana Mora |
New listing
| Parameter | Example value |
|---|---|
| Location | Santa Ana, San Jose |
| Price | $285,000 |
| Bedrooms | 3 |
| Link | https://example.com/property/123 |
How parameters are processed
When you fill in the parameters and click send, Trochai:
- Groups the parameters by section (header, body, button).
- Builds the message in the format required by the Meta API.
- Sends the request to WhatsApp with the template and values.
- Stores the message in the conversation with the details of the template used.
The contact receives the final message with the values substituted into the parameters. For example:
Hello Maria Rodriguez, we are writing from Costa Rica Properties
to follow up on the 2-bedroom apartment.
Do you have availability for a visit this week?Best practices
- Use accurate information — verify names, addresses, and prices before sending.
- Keep values short — overly long parameters can make the message look cluttered.
- Do not include line breaks in a parameter — use simple single-line text.
- Check the example shown below each field as a reference for the expected type of information.
Next steps
- Sending templates — full guide to the sending process.
- Creating templates in Meta — learn to create templates with well-defined parameters.