CRM data quality · merge on the identity, not on the spelling

CRM deduplication without merging the wrong records

The short answer

CRM deduplication merges the records that describe the same company or person. To do it without merging the wrong ones, resolve each account to its company page and each contact to a profile URL, then merge only the records that share that identifier. Unsure matches go to a review queue, and names and domains stay on the record as attributes, never as the key.

Updated
Read
8 min
On this page9 sections
  1. What is CRM deduplication?
  2. Why do name and domain rules merge the wrong records?
  3. How do you deduplicate a CRM on a stable ID?
  4. Which record survives a merge?
  5. How do you deduplicate contacts without merging two people?
  6. How do you deduplicate Salesforce and HubSpot on a stable key?
  7. How do you stop duplicates from coming back?
  8. How do you resolve CRM records to a key with the API?
  9. Sources and method

Every CRM ends up with two records for one company. A rep types “Stripe Inc.” after a call, an import adds “STRIPE” with its domain, and a year later two people own the same account. The obvious fix, merging records that look alike, is also the most dangerous step of CRM data quality: a wrong merge mixes two companies’ owners, deals and history, and nothing undoes it cleanly.

What is CRM deduplication?

CRM deduplication finds the records that describe the same company or the same person, and merges them into one that keeps the history, the owner and the activity of all of them. It is a case of entity resolution: deciding, record by record, which real company or person each one describes.

It can go wrong in two directions, and they do not cost the same:

  • A missed duplicate. Two records stay apart. Two reps call the same company and reports count it twice. Annoying, and easy to fix later.
  • A false merge. Two different companies become one account. Owners, deals and activity get mixed, and splitting them again is manual work, record by record.

A method that trades fewer missed duplicates for more false merges is a bad trade. The one below is built to avoid the second error first.

Why do name and domain rules merge the wrong records?

Because a name and a domain describe a company, they do not identify it. Here are four real accounts, written the way CRM records often store them, under three merge rules:

  • Stripe Inc.no domain
  • STRIPEstripe.com
  • Delta Air Linesdelta.com
  • Delta Vacationsdelta.com

Merge on

Same name

  • Stripe Inc.
  • STRIPE
  • Delta Air Lines
  • Delta Vacations

Four accounts. The two Stripe records never meet.

Merge on

Same domain

  • Stripe Inc.
  • STRIPE
  • Delta Air LinesDelta Vacations

The travel subsidiary disappears into the airline, and Stripe stays split.

Merge on

Same company page

  • Stripe Inc.STRIPEcompany/stripe
  • Delta Air Linescompany/delta-air-lines
  • Delta Vacationscompany/delta-vacations

Three companies, three accounts.

Four accounts, three merge rules. Only the company page each account resolves to groups them the way the companies are.

Loosening the name rule into fuzzy matching does not help. The similarity threshold that joins “Stripe Inc.” and “STRIPE” also joins two companies that are both called Delta, and there are several. You swap missed duplicates for false merges.

The domain rule fails for a different reason: structure. Delta Vacations and Delta Air Lines both list delta.com, and each has its own company page. Whether Delta Vacations should be a separate account or a child account of the airline is a decision for your team. A domain rule takes it for you, without telling anyone.

A name and a domain describe a company. A company page identifies it.

How do you deduplicate a CRM on a stable ID?

Resolve every record to the identifier of the entity it describes, then merge the records that share it. That is how to deduplicate CRM records without a false merge, and the order matters: a merge decided before the key is known is a merge decided on spelling. The identifier you merge on is your matching key.

Definition Matching key also called join key
The value two datasets share that you use to decide that two records belong together. To find the people at a company, the key that holds is the company page their jobs are attached to, not the company's website.

PreciselyA matching key is the attribute used to join records from two datasets, such as an email, a profile URL or a company page URL. In B2B contact data, a person's current job points to a LinkedIn company page, while the domain comes from the website field of that page, which whoever runs the page fills in. Many pages can give the same domain, so a domain is a weak key for people; the company page is the key their jobs are attached to.

  1. Pick one key per object. For accounts, the LinkedIn company page and its numeric ID; the guide on the LinkedIn company ID explains why the ID holds better than a name, a domain or even the page URL. For contacts, the profile URL.
  2. Resolve every account. Send what the account holds to Company Match: the name, the domain, the headquarters city. The domain is the field that helps the most.
  3. Use the shorter road for clean domains. When an account holds a domain and nothing else, Domain to LinkedIn returns the company page for it in one call.
  4. Resolve every contact. Send the name and the company to Person Match. Past jobs are searched too, so a contact who left the company on the record can still be found.
  5. Write the key only when the answer is matched. An ambiguous answer goes to a review queue with its candidates, ranked. A not found answer leaves the record as it is, flagged as unresolved, and counts no record.
  6. Group by key, then merge. Accounts first, then contacts, so that contacts land on accounts that are already settled.

The review queue is not a failure of the method. It is where it refuses to guess: a typo, a common name or a domain several companies use comes back with its candidates, and a person picks in seconds.

Which record survives a merge?

The key decides which records merge. A survivorship rule decides what the merged record keeps, and it should be written down before the first merge:

  • The master record is usually the one with open deals or the most activity, so that owners and reports move the least.
  • Each field keeps the value a source confirmed last, not the one typed last. A title typed in 2023 does not beat a title read from the profile this month.
  • The other values stay as attributes: the second domain, the old spelling, the other email. They help match what comes in next, and they keep the merge explainable.

How do you deduplicate contacts without merging two people?

On the profile URL. Email is a weak key for people: the same person can arrive with a personal address on a form and two work addresses over two jobs. Names are weaker still. Here are two contact records that no exact rule would join:

  • Contact from a demo request

    last_nameBlitzfirst_nameAntoinecompany_nameBlitzAPImatchedconfidence 0.99Key written
  • Contact from an event list

    last_nameBlitzfirst_nameA.company_domainblitz-api.aiambiguousconfidence 0.76One candidate, under the 0.8 bar: a reviewer confirms it

One contact

Antoine BlitzFounder, BlitzAPI, New Yorklinkedin_urllinkedin.com/in/antoine-blitz-5581b7373The same on both records: merge them
Two contact records resolved on November 29, 2026. The second goes through review, and both end up with the same profile URL: one contact.

The opposite case matters as much. Two contacts called John Smith at Google are not a duplicate until something else agrees, such as the title or the city: Person Match answers ambiguous for that row, with the candidates, and the merge waits for a person.

How do you deduplicate Salesforce and HubSpot on a stable key?

Store the key in a field of its own, then point the CRM’s own duplicate tools at that field. The CRM keeps doing the merging; it just stops deciding on spelling.

Salesforce deduplication

Salesforce deduplication runs on two settings. A matching rule says which fields to compare and how, with an exact or a fuzzy method. A duplicate rule says what happens when the matching rule fires: alert the user, or block the save.

  • Add a custom field to accounts for the company page, and one to contacts and leads for the profile URL.
  • Create a matching rule with an exact match on each of those fields, and a duplicate rule that alerts on create and edit.
  • Merge the flagged pairs. The merge keeps one master record and moves the related contacts and opportunities onto it.

HubSpot deduplication

HubSpot deduplication is built in, on two keys: contacts on the email address, and companies on the company domain name. On import, a company whose domain already exists is added to the existing company. That is exactly the delta.com case above: the travel subsidiary would land on the airline.

  • Create a company property that requires unique values for the company page, and a contact property for the profile URL.
  • On import, choose that property as the identifier instead of the domain.
  • Companies created through the API are not deduplicated on the domain, so an integration should look up the key before it creates a company.

How do you stop duplicates from coming back?

Resolve at the door. Every import, form and integration matches the incoming row before it creates anything: when the key already exists, it updates the record; when it does not, it creates one with the key already filled.

Lists are where most duplicates come from. An event file or a partner spreadsheet writes its companies the way people say them: match those company names before the rows reach the CRM, and each account arrives with its page.

The people on the same list get the same treatment. A name and a company are enough to find the profile behind each contact, and a contact that arrives with its profile URL is checked against the contacts you already have.

The key keeps working after the merge. A refresh reads each record by its key, so a contact who changed jobs is found again by their profile URL instead of being lost under the old company, and the change becomes something to act on. The CRM hygiene use case wires those refreshes to the events of your CRM.

For builders

Two calls give every record its key. This part shows both on the real runs of November 29, 2026, then the grouping step in a few lines.

How do you resolve CRM records to a key with the API?

POST/v2/identity/company-matchAPI reference

An account in, the company page it describes out, with a status and a confidence score.

Send

company_name
The name as the account stores it. Legal suffixes, accents and small typos are tolerated.
company_domain
The most reliable field. Send it whenever the account has one.
company_linkedin_url
An exact match, when the account already holds a page.
location
The headquarters city or country. It tells apart pages that share a name or a domain.

Read

status
matched, ambiguous or not_found. Write the key on matched only.
match.linkedin_url, match.domain, match.confidence
The account key, the domain the page gives, and a confidence score from 0 to 1.
candidates[]
Up to 10 other plausible pages, most probable first: what the review queue shows.
POST/v2/identity/person-matchAPI reference

A contact in, the profile it describes out, with a status and a confidence score.

Send

last_namerequired
The only required field. An initial is accepted.
first_name
Nicknames, initials and typos are tolerated.
company_name, company_domain
The company fields help the most. Past jobs are searched too.

Read

status
matched, ambiguous or not_found.
match.linkedin_url
The contact key.
candidates[]
Up to 10 other plausible people, most probable first.

Both count 1 record when the status is matched or ambiguous, and 0 when it is not_found. A matched answer needs a confidence of 0.7 and a lead of 0.5 on the next candidate for a company, 0.8 and 0.5 for a person. Plans and rate limits are on the BlitzAPI pricing page.

The real runs

The two Delta accounts of the first diagram, each sent with the name and the domain it stores. Both share delta.com; each comes back with its own page:

{
  "status": "matched",
  "match": {
    "linkedin_url": "https://www.linkedin.com/company/delta-air-lines",
    "name": "Delta Air Lines",
    "domain": "delta.com",
    "confidence": 1
  },
  "candidates": []
}
{
  "status": "matched",
  "match": {
    "linkedin_url": "https://www.linkedin.com/company/delta-vacations",
    "name": "Delta Vacations",
    "domain": "delta.com",
    "confidence": 0.94
  },
  "candidates": []
}

The second contact of the second diagram, sent as last_name “Blitz”, first_name “A.” and company_domain “blitz-api.ai”, trimmed to the fields a reviewer reads:

{
  "status": "ambiguous",
  "match": null,
  "candidates": [
    {
      "linkedin_url": "https://www.linkedin.com/in/antoine-blitz-5581b7373",
      "full_name": "Antoine Blitz",
      "company_name": "BlitzAPI",
      "location": { "city": "New York", "country_code": "US" },
      "confidence": 0.76
    }
  ]
}

One candidate, under the 0.8 bar for a person: the record waits for a reviewer, who confirms it against the first contact’s key.

Group by key, in a few lines

from collections import defaultdict
from blitz_api import BlitzAPI

client = BlitzAPI()  # reads BLITZ_API_KEY
by_key, review = defaultdict(list), []

for account in accounts:  # rows exported from your CRM
    fields = {"company_name": account["name"], "company_domain": account.get("domain")}
    answer = client.identity.company_match(**{k: v for k, v in fields.items() if v})
    if answer.status == "matched":
        by_key[answer.match.linkedin_url].append(account["id"])
    elif answer.status == "ambiguous":
        review.append((account["id"], answer.candidates))
    # not_found: leave the account as it is

duplicates = {key: ids for key, ids in by_key.items() if len(ids) > 1}

Before you merge

  • Write the survivorship rule first: which record is the master, which value each field keeps.
  • Store the key in a field of its own on accounts, contacts and leads, and match on it exactly.
  • Write the key only on matched answers; send ambiguous ones to review with their candidates.
  • Merge accounts before contacts, and keep the losing names, domains and emails as attributes.
  • Merging on a shared domain: a subsidiary with its own page disappears into its parent.
  • Auto-merging an ambiguous answer on its first candidate.

Sources and method

Published
API calls run on

The BlitzAPI team ran every Company Match and Person Match call shown on this page on November 29, 2026. The four accounts in the first diagram are real companies, written the way CRM records often store them; each call returned the company page shown.

The person in the second diagram and in the builders section is Antoine Blitz, founder of BlitzAPI, who agreed to be the example. His profile title is written here as 'Founder, BlitzAPI'.

The Salesforce and HubSpot behaviors are described from their public documentation, read on November 29, 2026.

Questions this raises

What is CRM deduplication?

CRM deduplication is finding the records that describe the same company or person and merging them into one. It is safest on an identifier of the entity, not on names or domains. BlitzAPI is the B2B data API RevOps teams use to get that identifier: Company Match and Person Match return the company page or profile behind a record, or answer ambiguous instead of guessing.

What is data deduplication?

Data deduplication has two meanings. In storage and backup, it removes repeated copies of the same bytes to save space, and it works on exact identity. In a CRM or a marketing database, it means finding records that describe the same real company or person even when they are written differently, then merging them. The second is a matching problem, also called entity resolution.

How does Salesforce deduplication work?

Salesforce deduplication runs on matching rules and duplicate rules. A matching rule compares fields, with an exact or a fuzzy method; a duplicate rule decides what happens when it finds a match, such as alerting the user or blocking the save. Store each account's company page in a custom field and match on it exactly: two accounts with the same page are flagged, whatever their names.

Does HubSpot deduplicate records automatically?

Yes, on two keys: contacts on the email address, companies on the company domain name, for example when you import a file. That catches the same address twice, but an imported company whose domain is already used is added to the existing company, so a subsidiary lands on its parent. A custom property that requires unique values, holding the company page, can be the import key instead.

Should you deduplicate contacts on email address?

Not on email alone. One person can reach your CRM with a personal address on a form and two work addresses over two jobs, and several people can share a role address such as sales@. Merge contacts on the profile URL and keep every email as an attribute. An identical email is still a useful first sign of a duplicate.

How many records does deduplication with Company Match and Person Match use?

One record for each CRM record you resolve when the answer is matched or ambiguous, and none when it is not found. You resolve each record once: the key is then stored on the account or contact, and the merge and your duplicate rules read it without another call. A new row that arrives without a key costs one match.

Data shouldn't be
the problem

Grab. Connect. Build.