Skip to main content

SALESFORCE / CONTACT IMPORT

Remove duplicate Salesforce contacts before a CSV import

If two Salesforce contact rows share a name, check the identifier your org uses for matching. When two rows really do share that key, decide which contact details should survive before removing the other row.

Published:

Updated:

Related tool: Remove duplicates

Use the key that Salesforce uses to match a contact

A duplicate name is not necessarily a duplicate person. Use the org's external ID, email, or another documented matching key, then decide which source row remains authoritative.

  • The same email appears more than once in the input
  • A blank external ID groups unrelated contacts together
  • The import reports duplicates after some records were already created

Plan for Salesforce matching and retries

For example, two source rows with external ID C17 may have different phone numbers. Check the trusted source or update date, put the preferred row first, then deduplicate on the external ID.

  • Separate contacts that have a blank matching key before deduplication
  • Record whether the newest or source-of-truth row wins
  • Keep accepted and rejected import results for a retry plan

Prepare the contact CSV in LocaCSV

LocaCSV does not merge contact fields or infer consent. Resolve conflicting values in the CRM or source system before deleting a row.

  1. Check which column contains the matching key and set aside rows with blank keys.
  2. Arrange the input so the row you want to keep comes first for each key.
  3. In Remove duplicates, select the matching column, run the operation, and save the result as a separate CSV.
  4. Check that the deduplication input count equals the output count plus the exclusions, then test the output in Salesforce.
Remove CSV duplicates

Reconcile the Salesforce import

  • Look up C17 in the output and compare its phone number with the row you chose. The total output count plus the excluded duplicate count should equal the number of input rows.
  • The chosen key is populated and formatted consistently
  • Headers and field mapping match the Data Import Wizard
  • Salesforce's duplicate and error reports are saved with the output

If Salesforce still flags duplicate contacts

Compare the org's matching rules, existing contacts, and external IDs. A duplicate may already exist in Salesforce even when the CSV itself is unique.

Remove Salesforce contact duplicates

Official documentation

Limits and import formats can change. Use the official documentation below as the final check for your account and plan.