How to Prepare a CSV for lemlist: Columns, Variables and Clean Emails
A lemlist-ready CSV has one row per lead, an email column, and clearly named columns for first name, last name and company, so they map to lemlist's standard fields. Every other column you keep becomes a custom variable, so fill or segment its blanks first. Then remove duplicates and verify the emails before the file goes anywhere near a campaign.
Most lemlist import problems are not lemlist problems. They are spreadsheet problems that only show up once the first emails go out with "Hi ," or a broken icebreaker. Fixing the file first is quicker.
The columns that matter
Think of the CSV in two groups.
Standard fields. Email, first name, last name and company name are what nearly every template uses. Name the headers plainly (email, firstName, lastName, companyName, or the spaced versions) so the import screen matches them without guesswork.
Custom variables. Anything else: an icebreaker line, a city, a tool the company uses, a LinkedIn URL, a pain point you researched. lemlist keeps these as variables you can drop into the copy with double curly braces, such as {{icebreaker}}. Use short, simple header names without spaces or punctuation, since the header becomes the variable name you type in the editor.
A clean header row might look like this:
email,firstName,lastName,companyName,icebreaker,city
Make variables safe before import
Every variable your copy uses needs a value for every lead in that campaign. Go column by column:
- Filter for blanks. In the spreadsheet, filter each variable column to empty cells.
- Decide per column. Either fill a sensible fallback ("your team" for a missing company name) or move the blank rows to a separate campaign whose copy skips that variable.
- Check the content, not just the presence. Look for cells with trailing spaces, line breaks pasted from a website, or text in all caps. A line break inside an icebreaker cell can split the email in an odd place.
- Read three random rows aloud with the template. If the sentence sounds wrong for any of them, it will sound wrong in a few hundred inboxes too.
Names deserve a specific pass. Lists built from scraping or enrichment often have full names in one field, initials only, or the name in capitals. The full-name splitter separates first and last names, and a quick case fix sorts the rest.
If you write spintax into your copy instead of using columns, the spintax checker catches unbalanced braces before lemlist does.
Remove duplicates and past contacts
Duplicates inside a CSV are easy to miss when the same person appears with Jane@Company.com and jane@company.com. Run the email column through remove duplicate emails, which treats case-variants as the same address.
Then remove anyone already in another lemlist campaign, already a customer, or on your suppression list. Exporting those from lemlist (the lemlist export page has the steps) and comparing the two files is the reliable way to do it.
Verify, then split
Once the file is deduped, verify it. The result tells you what to do with each row:
| Result | Where it goes |
|---|---|
| Valid | Main campaign |
| Catch-all | Separate campaign at lower volume |
| Invalid | Delete |
| Unknown | Hold back, retry later |
| Role address (info@, hello@) | Usually leave out of person-to-person campaigns |
Splitting catch-all rows out matters because their bounces show up after the send, and lemlist's bounce safeguards look at the campaign as a whole. Keeping them separate means a rough segment cannot pause your good one. Our guide to lowering bounce rate in lemlist campaigns covers those thresholds and what to do when one trips.
The import itself
With a clean file, the import is the short part: upload the CSV, check that each header maps to the field you expect, keep the custom columns you need as variables, and skip the ones you do not. Then preview several leads in the campaign before launching, not just the first one. The first row is usually the cleanest one in the file.
Checklist
- Header row with plain names, one row per lead
- Every variable used in the copy filled or segmented
- No line breaks or stray spaces inside cells
- Duplicates and past contacts removed
- Emails verified; invalid rows deleted
- Catch-all rows in their own campaign
- Preview checked on several random leads
Try it on your next file
Sign in with Google and your first 100 email checks are free, no card, so you can verify the next lemlist CSV before you import it. For bigger lists, monthly plans are on the pricing page.
Common questions
What columns does a lemlist CSV need?
Only an email column is essential. In practice you want email, first name, last name and company name, because those map to lemlist's standard lead fields and are the variables most copy uses. Any other column you import can be kept as a custom variable and inserted into your messages.
How do custom variables from a CSV work in lemlist?
Each extra column you keep during import becomes a variable you can insert into your email copy with double curly braces. The variable is filled per lead from that lead's cell, so an empty cell means an empty spot in the email unless you handle it.
What happens if a variable is empty for some leads?
The email is built with nothing in that spot, which often reads badly. Before import, either fill every cell in the columns your copy uses, or move leads with missing values to a version of the campaign whose copy does not use that variable.
Should I verify emails before importing into lemlist?
Yes. lemlist checks deliverability signals and can pause campaigns on high bounce rates, but the cheapest bounce to deal with is the one that never reaches the campaign. Verify the CSV, then import only confirmed addresses into the main campaign.
Check your list before you send
Real mailbox checks over SMTP, and nothing is sent to the address. Sign in with Google and your first 100 email checks are free, no card. Plans for bigger lists are on the pricing page.