November 26, 2026 · 5 min read

How to Clean a Client CSV Before Importing It into a CRM

How to Clean a Client CSV Before Importing It into a CRM

A CSV that opens correctly is not necessarily ready for a CRM.

For an agency or growing business, the risky details are rarely visible at first glance. They live in identifier mismatches, property mapping, controlled values, and unclear rules for handling duplicates. This guide gives you a repeatable preflight for preparing a client contact or lead file — the kind of checklist that catches most import failures before they happen.

Exact rules vary by CRM and account configuration. What follows is the framework that applies across HubSpot, Salesforce, and most others.

Step 1: Define the import action first

Before touching the file, write down what you want the import to do. The options aren't interchangeable:

  • Create new leads
  • Update existing contacts
  • Associate records with a company
  • Attach campaign results to an existing record

These are different operations. The identifier that safely updates an existing record may not be the same field used to report campaign performance. HubSpot's import documentation describes this explicitly — if the right identifier is missing or mapped incorrectly, the intended update may silently fail (the import reports success, but the record isn't touched).

Get clear on the import action before you open the file.

Step 2: Preserve and profile the source

Keep a read-only copy. Work on a duplicate. Record:

  • Source (which export, which system)
  • Received date
  • Client or account
  • Export period
  • Intended destination

Then profile the file before editing it. Row count. Blank required values. Distinct controlled values. Date formats. Duplicate identifiers. Unexpected columns.

Don't delete duplicate-looking rows at this stage. Two people can share a name. One person can appear under different formatting. A stable CRM ID or client-approved unique key is a safer identifier than fuzzy name similarity. If the key is missing, report the gap — don't guess.

Step 3: Map fields and allowed values

For every source header, document four things:

  • Destination property
  • Data type
  • Required yes / no
  • Allowed values and any transformation rule

Keep source headers in your working notes so a harmless rename isn't confused with an unintended property update.

Controlled fields — statuses, campaign categories, dropdown properties — need special attention. Most CRMs accept only documented labels or internal values for enumeration properties. An invalid value may cause an error or a silently blanked field, depending on the import method. Do not invent a status or campaign category. Confirm allowed values with the CRM owner before the import.

Step 4: Normalize formats without changing meaning

Standardize dates to the destination format and clarify the timezone. Format phone numbers as the destination expects. Trim accidental whitespace. Normalize capitalization only when case carries no meaning and the owner approves the rule.

Some things you should never change during a normalize pass:

  • Currencies — never convert without a source currency and a recorded rule
  • Campaign names — never rewrite based on resemblance
  • Contact names — never "correct" spelling unless the client confirms

For anything that needs mapping (campaign names, product codes, region labels), use a reviewed lookup table with four columns: original name, canonical name, mapping owner, effective date. Anything that doesn't match an approved entry goes to an exception list — not into the import.

Step 5: Treat identifiers and duplicates separately

Blank IDs, duplicate IDs, and repeated full rows are three different conditions and they need three different rules.

A duplicate email may be a shared inbox. Repeated campaign rows may represent different dates. Preserve the evidence and let an approved rule determine what is safe to update or exclude.

Use the CRM's error export in the correction cycle. HubSpot reports duplicate alternate IDs and invalid values; Salesforce reports field mapping conflicts and import errors. Compare four numbers at the end:

  • Attempted
  • Successful
  • Skipped
  • Failed

Every row that doesn't appear in "successful" should be accounted for. Cleaned should never mean unexplained rows disappeared.

Step 6: Test a sample and reconcile counts

Test a representative copy in a safe environment — a sandbox, a duplicate account, or a limited set approved by the CRM owner. Include the tricky cases:

  • Normal rows
  • Missing optional field
  • Controlled value mismatch
  • Existing ID (update, not create)
  • Duplicate key

Confirm which fields update and how associations are created.

Track every row through the full cycle:

  • Source rows
  • Excluded rows
  • Valid rows
  • Changed rows
  • Rows held for review
  • Rows submitted
  • Imported rows
  • Rejects

The counts should reconcile. If they don't, a rule failed silently and needs to be found before the import.

The preflight checklist

Before you click import:

  • Import action and object are defined
  • Source is preserved and row counts recorded
  • Every header maps to an intended property
  • Required identifiers are present for the requested operation
  • Controlled values match approved options
  • Dates, times, phones, and currencies have explicit rules
  • Ambiguous matches are flagged, not merged
  • A representative test has been checked
  • Successes, failures, and exceptions reconcile

Where MakeBeacon comes in

A scoped MakeBeacon workflow can handle the mechanical parts: preserve the source, map fields, validate required formats, apply approved normalizations, report duplicate keys, and return an exception file with a change summary.

Where import behavior is ambiguous — which CRM object this maps to, which identifier the client wants to use, what "safe to update" means for their account — we flag the question for the CRM owner before automation decides anything.

The output is a repeatable handoff, not a guarantee. An import can confirm that every row was processed. It cannot determine whether every lead is commercially valid. That decision stays with you.

If you have a messy file and a CRM import coming up, send us a process description or a synthetic sample. We'll review it against this preflight and tell you what needs to change before import day.

Written by MakeBeacon

Technology, Automation & Business Solutions

← Back to all articles

Start with the problem

Have a business problem worth solving?

Tell us what you are trying to achieve. We'll start by understanding your needs and identifying a practical next step.