RocketLauncher AI

WhatsApp

How to Use Custom Variables in WhatsApp Templates and Automations

By Marnix Geerkens. Published 2024-01-16. Updated 2026-06-02.

Custom variables in GoHighLevel WhatsApp templates work the same way as in email or SMS. When building a template, insert a variable placeholder tied to a field like contact first name or account name. The platform fills in the real value at send time. You can also use WhatsApp as both a trigger and an action inside workflow automations, combining variables with conditional logic and wait steps.

Watch it, then build it

Get the full platform free for 30 days

That walkthrough runs on GoHighLevel. Start it free through RocketLauncher and you get 30 days instead of the usual 14, the whole platform unlocked, plus our setup help and a community of thousands of builders in 47+ countries.

30 days, not 14Full platform, nothing held backFree community and setup help

We earn a referral commission if you keep GoHighLevel after the trial. It never changes your price.

Summary. GoHighLevel supports custom variables inside WhatsApp message templates, letting messages feel personal at any send volume. A template can pull in any contact or account field, and the same variable syntax works inside workflow actions. WhatsApp can act as a trigger in an automation (when a contact replies on WhatsApp) or as an action (send a WhatsApp template or freeform message). Adding a short wait step before an automated reply prevents responses from appearing instant and robotic.

Steps

  1. Build a template with variables

    Go to Settings, then WhatsApp, then Templates. Create a new template. In the header or body field, click to place your cursor where the variable should appear and use the variable selector to insert a field like contact first name. The preview panel on the right shows how it will look with sample data.

  2. Set up a WhatsApp trigger in a workflow

    Open Automations and create a new workflow. Add a trigger and search for WhatsApp-related options such as Customer Replied. Under filters, set the reply channel to WhatsApp. This automation will now fire whenever a contact replies to your WhatsApp number.

  3. Add actions and a wait step

    After the trigger, add any actions you want, such as tagging the contact or sending a follow-up. Insert a Wait step before the reply action (30 seconds is common) so the automated response does not arrive the same instant the trigger fires.

Related tutorials

How to Create and Use WhatsApp Message Templates in HighLevel
How to Create and Use WhatsApp Message Templates in HighLevel5:46 · WhatsApp
How to Send Voice Notes on WhatsApp Through the HighLevel Mobile App
How to Send Voice Notes on WhatsApp Through the HighLevel Mobile App1:42 · WhatsApp
How to Set Up Interactive CTA Buttons for WhatsApp
How to Set Up Interactive CTA Buttons for WhatsApp6:37 · WhatsApp
How to Use WhatsApp Conversation Rebilling
How to Use WhatsApp Conversation Rebilling1:48 · WhatsApp
How To Deploy WhatsApp Directly For a Location
How To Deploy WhatsApp Directly For a Location1:44 · WhatsApp
How to Easily Add WhatsApp Templates to Your Snapshots
How to Easily Add WhatsApp Templates to Your Snapshots2:56 · WhatsApp

Watch it, then build it

Get the full platform free for 30 days

30 days, not 14Full platform, nothing held backFree community and setup help

Frequently asked questions

What variables can I use inside a WhatsApp template?

Any contact field, account name, appointment data, or custom value available in your sub-account.

Can I use WhatsApp as a trigger in a workflow?

Yes. Use the Customer Replied trigger and filter by WhatsApp as the reply channel.

Why add a wait step before an automated WhatsApp reply?

An instant reply can feel automated and impersonal. A short delay makes the interaction feel more natural.

Back to all WhatsApp tutorials