Using double-nested variables

Mailmeteor’s double-nested variables let you take personalization to the next level. With this feature, you can include variables inside other variables, enabling more dynamic and reusable content blocks in your email campaigns.

  1. In your spreadsheet, add a column named EmailOutput with content like:

    Hello {{ FirstName }}, Thanks for being a valued customer at {{ Company }}!

  2. Reference the outer variable in your email template.

    {{ EmailOutput }}

  3. When you send your campaign, Mailmeteor first inserts the EmailOutput content, then replaces {{ FirstName }} and {{ Company }} with the correct details for each recipient.

Example

Let’s look at a practical example to better understand how variables are resolved.

Your spreadsheet structure:

EmailOutput FirstName Company
Hello {{ FirstName }}, thanks for choosing {{ Company }} today! Alex GreenTech
Hello {{ FirstName }}, thanks for choosing {{ Company }} today! Priya BlueLabs

Your email template:

{{ EmailOutput }}

Result after Mailmeteor sends the email:

Recipient Email sent
Alex Hello Alex, thanks for being a valued customer at GreenTech!
Priya Hello Priya, thanks for being a valued customer at BlueLabs!

Tips for success

  • Name variables clearly so you know what each one contains.
  • Test before sending using Mailmeteor’s preview feature to ensure variables resolve correctly.
  • Keep your spreadsheet organized for smoother campaign management.