Skip to content

Importing your leads

CSV import from a fixed-column template, with a per-row report of what failed — and how to avoid the two mistakes everyone makes.

4 min readUpdated 30 July 2026
Lead capture
Six intake paths, one lead record
Meta Lead Ads
Campaign, adset, ad and form attached to the lead
Google Ads
GCLID captured at the form for offline conversions
WhatsApp
An inbound message becomes a lead and a thread
Website forms
Public capture endpoint, no login, spam-guarded
IVR & calls
A call to a virtual number creates or matches a lead
CSV & REST API
Bulk migration and anything else you already run
Whichever path a lead arrives on, deduplication runs before assignment — so two agents never call the same person.

Go to Leads, click the Import / Export icon next to New Lead, and choose Import leads.

Preparing your file

A CSV with a header row. There is no mapping step, so the column *names* must match the import sample (Download import sample in the same menu): first_name, last_name, phone, email, city, source, status, owner_email, next_action_at, note. Case does not matter, and a space works in place of an underscore; any other column is ignored.

A name is optional. What every row needs is a usable phone number or email address: a row with neither is skipped and listed in the report, and a file with no phone or email column is refused.

A minimal file looks like this:

csv
first_name,last_name,phone,email,city,source,note
Aarav,Patel,9812300045,aarav@example.com,Mumbai,Google Ads,Asked about pricing
Diya,Shah,9820011122,diya@example.com,Pune,Referral,Referred by existing customer

Column names

Nothing is guessed and nothing is shown before the import runs. A column whose header is not one of the names above is ignored without a warning — a column called "Contact" or "Name" is simply dropped.

What each column does (state, estimated value and custom fields cannot be imported):

  • first_name, last_name, phone, email, city — the person (name and city are only used when the contact is new); note becomes a note on the lead
  • source and status — matched by name to your lead sources and lead stages; an unknown name fails the row
  • owner_email — the sign-in email of an active user, who becomes the owner; next_action_at — a date such as 2026-08-12 15:30

Duplicate handling

There is no preview: rows are created one by one as the file is read, and each is checked against your existing contacts as it goes. Matching is on phone number and email, normalised — so +91 98123 00045 and 9812300045 are recognised as the same person.

There is no setting for this; what happens depends on the leads the person already has:

SituationWhat happens
Person already has an open leadImporting another open lead for them fails; the row is listed in the report and the existing lead is untouched
Person has only closed leadsA new lead is created and linked to the earlier one as a re-enquiry
No matchA new contact and lead are created

There is no update mode, so an import never edits a lead that already exists.

The two mistakes everyone makes

Importing before setting up stages

If a value in your CSV's status column does not match one of your lead stages, that row fails with "Unknown stage" and is not imported; rows with no status land in your entry stage. Create your stages first, then import.

Importing with distribution switched on

Warning
Historical leads are not new leads. If distribution is active when you import three years of history, every one of those records gets assigned to a telecaller as fresh work — and your team will spend a day calling people who bought long ago.

Turn distribution off, import, assign historical leads in bulk to whoever should own them (or to nobody), then turn distribution back on.

After the import

The importer shows a summary: how many rows were imported and how many were skipped, with the row number and reason for each skipped row (the first 50 are listed on screen; there is no download).

Rows usually fail because a source, stage or owner email does not match your workspace, a next_action_at date cannot be read, the row has no usable phone or email, or the person already has an open lead. Fix the file and re-import just those rows — a row already imported into an open stage will fail rather than double up, but closed-stage rows would be imported again.

Larger migrations

A file may carry at most 5,000 rows (and 10 MB), so split a bigger sheet into several files. If you are moving from another CRM with activity history and attachments, contact support. We do these regularly and it is included on Growth and above.

Something unclear or missing? Tell us and we will fix the page — send us a note.

Importing your leads — Documentation — atomcrm.ai