Skip to main content

AI Variables

Unlock the Magic of AI Variables for Personalized Campaigns! ✨

Updated this week

Hello lemlister! 👋

Struggling to adapt raw data for your email campaigns? You’re not alone. That’s why we’re excited to introduce AI Variables—a game-changing feature designed to make personalization effortless. 😎


Why Use AI Variables? 🧐

AI Variables allow you to:

  • Clean job titles or company names: No more messy data.

  • Segment up to 1,000 leads in seconds: Fast and efficient.

  • Write personalised messages: Tailored outreach based on lead data.

  • Improve data accuracy: Standardise and clean information, such as removing emojis or inconsistent formatting in job titles.

These powerful tools help you save time and boost engagement effortlessly.

AI variables also help you achieve authentic communication and increase reply rates by making messages highly relevant.


Getting Started with AI Variables ⚒️

Here’s how to set up this feature:

1️⃣ Add Your OpenAI API Key

To use AI Variables, you’ll need to connect your API key. Follow our simple step-by-step setup guide here if you need assistance.

2️⃣ Locate AI Variables in the Leads Page

Once your setup is complete, head to the Leads page in your campaign to access the feature.


Setting Up an AI Variable

1️⃣ Choose the template

Lemlist has a template library for AI prompts that can help you generate variables. You can choose one of them. If you want to write your own prompt, click on "Create from scratch" button.

2️⃣ Create the name of the variable

If you choose the template, the variable will be named automatically with the name of the template, but you can edit this. In case you created a prompt for AI from scratch, you'll need to enter the name of the variable.

3️⃣ Choose Your Preferences

  • Select the AI you want to use: Options include OpenAI (GPT), Claude, Preplexity and Google

  • Set Temperature: Adjust randomness and creativity:

    0: Focused and deterministic.

    1: Creative and varied.

  • Tip: Use a higher temperature for informal interactions and a lower one for professional contexts.

  • Select your credit source: If AI is connected through your API key, the system spends your API key credits. If AI is not connected, lemlist uses lemlist credits and charges one credit per request.

Pro tip: When a template relies on a custom variable and that variable is missing, a yellow banner appears to indicate which one is unavailable and the output cannot be generated.


Crafting Prompts and Generating Outputs ✨

After you write prompt or choose one from the templates library, click on Generate AI variables to generate them.

You'll have two options here:

  • Generate all rows

  • Generate empty rows only

If you choose Generate all rows it will overwrite existing data for that column.

💡 Pro Tip: If you update lead data, you can regenerate the variable for updated results. Enable auto-generation for newly imported leads to save even more time.


Important Notes ❌

  • Default Variables: AI features cannot be applied to default variables like First Name, Last Name, Email, etc.

Did this answer your question?