Skip to main content
All CollectionsTemplates
WhatsApp Templates - How do variables work?
WhatsApp Templates - How do variables work?

Using variable in Whats App templates - How do these text modules work?

Fredi avatar
Written by Fredi
Updated over 4 months ago

With the help of variables you can design your WhatsApp templates in an overall, general way and still flexibly adjust them to fit an individual need or personalize the message for your customers. Below you will find an overview of all non-user-defined variables within Superchat.

Overview πŸš€

  • Variable: Name of the variable as it is displayed in Superchat when a template is created.

  • Value: Code that lies under the variable: ##{{ example }}

  • Text: Text that is automatically inserted into the module after it has been sent.

Variable

Value

Text

first name

##{{ firstName }}

first name of contact the message is going out to

last name

##{{ lastName }}

last name of contact the message is going out to

review URL

##{{ reviewURL }}

individual review link (tracking link)

company name

##{{ companyName }}

your company name (Business Settings > General)

current user

##{{ currentUserFullName }}

full name of user currently logged in

current user - first name

##{{ currentUserFirstName }}

first name of user currently logged in

current user - last name

##{{ currentUserLastName }}

last name of user currently logged in

informal greeting

##{{ informalGreeting }}

Hello Mr/Ms + contact's last name

formal greeting

##{{ formalGreeting }}

Dear Mr/Ms + contact's last name
​
In case there is no last name saved to the contact:

Dear Sirs and Madams

πŸ’‘ User-defined contact attributes can also be integrated as variables in templates. In this case, the value that is stored for the respective contact for the created attribute is inserted as text.

Did this answer your question?