Hi {{customer_name}}, your order {{order_id}} has been confirmed.Hi John, your order #12345 has been confirmed.| Component | Description | Example |
|---|---|---|
| Header | Optional section shown at the top of the message. Can contain text or media. | Invoice Details / Product Image |
| Body | Main message content. | Your order has been shipped |
| Footer | Optional additional information. | Thank you for choosing us |
| Buttons | Optional actions for customers. | Visit Website / Call Now |
| Category | Purpose | Example |
|---|---|---|
| Marketing | Used for promotional messages | New offers, discounts, product updates |
| Utility | Used for customer-related updates | Order confirmation, delivery status |
| Authentication | Used for verification | OTP, login code |
{{variable_name}}Hi {{customer_name}}, your order {{order_id}} is ready.Hi John, your order 1001 is ready.Hi David, your order 1002 is ready.Hi {{1}},
Your order {{2}} has been confirmed.| Variable | Value |
|---|---|
{{1}} | John |
{{2}} | ORD12345 |
Hi John,
Your order ORD12345 has been confirmed.Hi {{customer_name}},
Your order {{order_id}} has been confirmed.| Variable | Value |
|---|---|
customer_name | John |
order_id | ORD12345 |
Hi John,
Your order ORD12345 has been confirmed.| Feature | Positional Variables | Named Variables |
|---|---|---|
| Format | {{1}} | {{customer_name}} |
| Identification | Number | Descriptive name |
| Readability | Basic | Excellent |
| Easy to Maintain | Moderate | Yes |
| Best For | Small templates | Large or complex templates |
| Template Component | Variables Supported | Example |
|---|---|---|
| Header | ✅ Yes (Text Header only) | Invoice {{invoice_number}} |
| Body | ✅ Yes | Hi {{customer_name}}, your order is ready. |
| Buttons | ✅ Yes (Dynamic URL Buttons) | https://example.com/order/{{order_id}} |
| Footer | ❌ No | Footer text is always static. |
Note: Media headers (Image, Video, Document, and Location) do not use text variables.
| Variable | Description |
|---|---|
customer_name | Customer's name |
order_id | Order number |
tracking_url | Order tracking link |
appointment_date | Appointment date |
invoice_number | Invoice reference |
| Incorrect Example | Reason |
|---|---|
{{abc}} | Not descriptive |
{{value1}} | Meaning is unclear |
{{data}} | Too generic |