A CRM export without duplicates or gaps with ChatGPT

The struggle: Your CRM is full of duplicate contacts and blank fields, so every pipeline report is wrong.

What you end up with: A cleaned copy of your export with a change log, ready for you to review and import yourself.

ChatGPT finds likely duplicates, blank fields and inconsistent values in a CSV export and writes a cleaned copy plus a change log. You review a sample before anything touches the CRM.

Tools: ChatGPT. Level: Pro. Time: 1 hour.

Use it if

  • Reports disagree with what reps know
  • You are about to import a list or migrate tools
  • Nobody has time to clean by hand

Skip it if

  • Your CRM can merge and dedupe natively and you trust it
  • The file holds data you may not upload to an AI tool

What you need first

  • A ChatGPT plan with file uploads and data analysis (limits vary by plan)
  • A CSV export of one object, such as contacts

The method

  1. Upload a trimmed export (ChatGPT: Data analysis)

    Export contacts as a CSV. Delete columns you do not need, such as personal phone numbers or notes with private details. Upload the file to a new chat. Keep a copy of the original untouched.

    You get: The file is loaded and ready to inspect.

    Tip: Start with a small slice of rows and expand only after the first pass works.

  2. Profile the mess (ChatGPT: Data analysis)

    Ask for a report only. Do not let it change anything yet. Read the counts for blanks, case differences and duplicate groups.

    Prompt to copy:

    Do not change my file. Profile it: per column count blanks, inconsistent spellings or casing, and invalid values. Then find likely duplicate contacts by matching email first, then name plus company. Show 10 example duplicate groups and say how sure you are about each. If a rule would be a guess, say so.

    You get: A report of what is wrong and how often.

    Tip: A report before any change lets you spot a wrong assumption early.

  3. Set merge rules (ChatGPT: Data analysis)

    Tell ChatGPT how to pick the record to keep. Say which fields win on conflict and which rows to leave alone. Anything uncertain goes to a separate list for a person.

    Prompt to copy:

    Apply these rules: keep the record with the most recent activity date, fill blanks from duplicates, standardise country and job title casing. Do not merge rows that only share a name. Put every uncertain merge in a separate sheet called REVIEW. Make a change log with row id, field, old value, new value.

    You get: Clear rules with a review list.

    Tip: Never let two people with the same name at one company merge on name alone.

  4. Produce the cleaned file (ChatGPT: Data analysis)

    Ask for the cleaned CSV, the REVIEW sheet and the change log as downloads. Open the change log and compare 20 random rows against your original before you accept the result.

    Prompt to copy:

    Apply the rules and give me three downloads: the cleaned CSV with the same columns as my original, the REVIEW sheet, and the change log. Then state how many rows went in, how many came out and how many were merged. If the numbers do not add up, say why.

    You get: A cleaned CSV, a REVIEW sheet and a change log.

    Tip: Check at least one row where fields were filled from a duplicate.

  5. Import carefully (ChatGPT: Chat)

    Import a small slice into a sandbox or a test list in your CRM first. Check the fields, then import the rest yourself using your CRM's own import tool. Work through the REVIEW sheet with the account owners.

    You get: The cleaned data in the CRM with nothing lost.

    Tip: Keep the original export for at least a month so a wrong merge can be undone.

Where this goes wrong

  • Review a sample against the original before any import; one wrong merge can delete a real customer record.
  • Upload only the columns you need and only data your company allows in AI tools. Contacts are personal data.
  • Analysis on messy data can be wrong, so keep the change log as your audit trail.

Sources

More like this

Updated . Written with AI help and checked by an independent review step, as described in our editorial standards.