Skip to main content
Add custom variables to your email 🧩

How to Use Custom Variables

Updated this week

Hiii lemlister!

Custom variables in lemlist help you personalize emails by inserting specific lead information directly into your campaigns. This enhances engagement and boosts reply rates.


Predefined Custom Variables

Lemlist provides the following default variables:

  • {{email}}

  • {{firstName}}

  • {{lastName}}

  • {{picture}}

  • {{phone}}

  • {{linkedinUrl}}

  • {{companyName}}

  • {{icebreaker}}

  • {{sender.name}}

You can also create unlimited custom variables to fit your specific needs.


Setting Up Custom Variables

  1. Case Sensitivity: Custom variables are case-sensitive. For example, {{firstName}} is not the same as {{FirstName}}.

  2. CSV Import: When importing leads, the variable names must match the headers in your CSV file.

    • Example: If your CSV header is "Industry," the variable should be {{Industry}}.

  3. No Spaces or Errors: Ensure braces are correctly opened and closed with no spaces.

    • βœ… {{firstName}}

    • ❌ {{ firstName }}

Here's video tutorial on how to create custom variables from CSV πŸ‘‡


Using Fallback Values

If a variable is empty for some leads, fallback values ensure your emails still look polished.

Example:

  • Without fallback: Hello {{firstName}},

    • Displays as: Hello ,

  • With fallback: Hello {{firstName|there}},

    • Displays as: Hello there,


Advanced Features

  • Images as Variables: Use URLs in your CSV to include personalized images, like profile pictures. You can check this article for more info.

  • Character Limit: Custom variables support up to 2000 characters, allowing detailed personalization.

  • Avoid Duplicates: Match your custom variable columns carefully to prevent issues during review.


Example Email Template

Template:

Hi {{firstName}}, 
I noticed {{companyName}} has been making waves in {{industry}}. Let’s connect and explore how we can help you achieve even more success.
Best regards,
{{sender.name}}

Outcome: Each email feels tailored and personalized, increasing the chance of a reply.


Need Help?

If you have any questions about custom variables or need further assistance, contact our support chat. We’re here to help! 😊

Did this answer your question?