Map Variables in Template

When creating WhatsApp templates for business messaging, one of the most critical steps is mapping variables accurately. Variables (often referred to as placeholders like {{1}}, {{2}}, etc.) allow you to personalize messages dynamically—such as adding customer names, order IDs, or delivery dates. Proper variable mapping ensures that the right data is inserted into each placeholder when the template is sent, leading to a contextual, personalized experience for the end-user. This process is essential for compliance with WhatsApp’s policies, improving engagement, and maintaining message clarity. In this guide, we’ll explore how variable mapping works, best practices, and common pitfalls to avoid.

Mapping Variables

1

Select template

Go to journeys or broadcasts and select a template which has variables. For this example, we are using Abandoned cart template.

2

Add Variables

1. Click on "+ Dynamic Variable"

2. Select Source of the Dynamic value and Field Name

3. Add Fallback (optional)

  • Define fallback values for variables to avoid broken or awkward messages.

  • Click on add fallback

<figure><img src="../../../../.gitbook/assets/image (85).png" alt=""><figcaption></figcaption></figure>
3

Save and continue

Last updated