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
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.
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.
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
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.






