YallaHelp Centre

Use variables and contact fields

Put each person's name or other details into a WhatsApp template with variables, choose what fills each blank, and check it in the preview.

Owners, admins and marketing team members (anyone allowed to create templates)Checked against Yalla on 4 Dec 2026

A variable is a blank in your template, like {{1}}, that Yalla fills in for each person. Press @ in the message, pick the detail you want, and it is added for you.

What it does for you

One template can say "Hi Aisha" to one customer and "Hi Daniel" to the next. You choose what each blank is filled with: a detail from the contact, or a fixed value you type. The preview shows an example so you can see how it will read.

Steps

  1. Open Templates, click New Template, then click in the Body box and press @. A list of fields opens. Click one, such as First Name. Yalla puts {{1}} in your message.
    The list of contact fields opened with the @ key
  2. Keep writing. For the next blank, click Add Variable under the message.
    The Add Variable button under the Body box
  3. Pick another field from the list, or scroll to the bottom and click Manual value to use the same words every time.
    The Manual value option at the bottom of the list
  4. If you chose Manual value, type it in the box that appears, for example "Saturday at 10am".
    A box holding the fixed value for {{2}}
  5. Look at Variable Mapping under the message. It lists each blank and what fills it. Click a row to change it.
    The Variable Mapping list under the message
  6. Check the Message preview. It shows an example in place of each blank, such as "John" for First Name.
    The Message preview with the examples filled in

What happens next

When you click Submit for Approval, the template goes to Meta with its blanks. Each time you use the template, Yalla fills every blank from that person's details. See Create a WhatsApp template.

Common questions

Which details can I use?

Under Basic Information: Full Name, First Name and Last Name. Under Contact Details: Email, Phone Number, Company, Address, Job title, Website and LinkedIn. Contact fields you have created yourself appear in the list too. You can also type in the Search fields box at the top to narrow it down.

What is the Booking group?

It holds details of a meeting, such as the Meeting link, Booking date and Reschedule link. They have a value only when a booking starts the message, for example from a flow. In an ordinary message they stay empty, so don't use them there.

How do I remove a variable?

Delete {{1}} (or whichever number) from the message. Yalla removes the matching row from Variable Mapping for you.

Good to know

  • Variables are numbered in order: {{1}}, {{2}}, and so on.
  • The example in the preview is only for you. It is not what your customer receives.