Articles on: Setup

Are Both {{and}} (Curly Brackets) Required for Message Variables in Super Send?

Are Both {{ and }} (Curly Brackets) Required for Message Variables in Super Send?

Yes, both {{ and }} are required for message variables in Super Send. This syntax is part of the Liquid templating language used to dynamically insert values into your messages.



How Message Variables Work



Liquid syntax uses double curly braces to define variables. When the message is sent, these variables are replaced with the corresponding data from your uploaded list of contacts.

Example:



If you have a variable called first_name and want to include it in your message, use:

Hi {{ first_name }},

I wanted to follow up on our last conversation...


When sent, the message will dynamically replace {{ first_name }} with the contact’s actual first name, such as:

Hi John,

I wanted to follow up on our last conversation...




Why Are {{ and }} Necessary?



Variable Recognition:
The double curly braces tell the system to look for a variable and replace it with the corresponding value.

Error Prevention:
Without the correct syntax, the variable will not be recognized, and the text will appear exactly as typed (e.g., Hi first_name, instead of Hi John,).

Liquid Syntax Compliance:
Super Send’s template engine follows Liquid syntax standards, which require the use of {{ and }} for variable placeholders.


Tips for Using Message Variables



Check Your Variables:
Ensure the variable names in your message match the headers in your contact list exactly (e.g., first_name in your message and first_name in your spreadsheet).

Use Defaults Where Necessary:
To handle missing values, use a default value:

Hi {{ first_name | default: "there" }},

This will display "Hi there," if first_name is missing.

Preview Before Sending:
Always preview your message to confirm that variables are replaced correctly.


By correctly using {{ and }}, you ensure your message variables function properly, creating personalized and professional outreach campaigns.

Updated on: 22/01/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!