Skip to main content

What should my CSV file look like to import contacts?

Your contacts CSV needs a header row and one column of email addresses; first and last name are optional. See the column names ValiantAI recognizes.

Your file needs to be a .csv file with a header row (column names in the first row) and one column of email addresses. A first name column and a last name column are optional. Every other column is ignored, so you do not need to delete them before you import.

Example

The simplest file that imports email addresses and names has this header row:

Email,First Name,Last Name

Each row below it holds one person, for example [email protected],Jane,Smith. A row with only an email address is fine; the name fields stay empty.

Column names ValiantAI recognizes automatically

On the Map Columns step of the import, ValiantAI picks your columns for you when their names match one of these. Capital letters and spaces at the start or end of a name do not matter.

Field

Column names recognized

Email

email, e-mail, email_address, emailaddress, email address

First Name

first_name, firstname, first name, first, fname, given_name

Last Name

last_name, lastname, last name, last, lname, surname, family_name

If your columns have other names, for example "Customer Email", the import still works: choose the right column for each field in its dropdown on the Map Columns step.

What is ignored

  • Any column other than email, first name and last name, such as phone number, company, tags, notes, consent or custom fields.

  • Blank lines.

  • Rows with no email address. The Preview step counts these as "rows skipped (no email)".

A single "Name" column holding full names is not split into first and last name. If you map it to First Name, the whole name goes into the first name. To keep them separate, split the column in your spreadsheet before you export it.

Check your email column before you import

  • Remove repeated addresses. If the same address appears twice in the file and is not yet in your account, the import stops with an error. ValiantAI treats "[email protected]" and "[email protected]" as the same address, because it stores every address in lower case with spaces trimmed.

  • Remove anything that is not an email address. The import does not check that each value is a valid email address, so a cell such as "n/a" or "unknown" is imported as a contact.

  • Only include people who agreed to hear from you. Imported contacts get the consent label Not yet asked and receive your email campaigns. A consent column in your file is not read. See What do Subscribed, Not yet asked, Waiting for confirmation and Enquiry only mean?.

Addresses that are already in your account are not a problem. They are matched to the existing contacts; see What happens to contacts that already exist when I import a CSV?.

How to save your file as a CSV

  • In Microsoft Excel, choose File, then Save As, and pick the format "CSV UTF-8 (Comma delimited)".

  • In Google Sheets, choose File, then Download, then "Comma Separated Values (.csv)".

  • In Numbers on a Mac, choose File, then Export To, then CSV.

  • In another email platform, use its contact export and choose CSV as the format.

Excel (.xlsx) and Numbers files cannot be uploaded directly; you see "Please upload a .csv file." Save a comma-separated file in UTF-8 where your spreadsheet offers the choice.

Is there a size limit?

There is no fixed row limit in the import window, but the whole file is read in your browser and sent in one go, so a very large file can fail with an error after you select the import button. If that happens, split the file into several smaller files with the same header row and import each one into the same list. Keep the import window open until it shows Import complete.

Related articles

Did this answer your question?