CRM Deduplication: Picking an Identity Key That Survives
CRM deduplication for enriched data starts with the key: company domain for accounts, profile URL for contacts, email as a match signal. Then merge in staging.
CRM deduplication for enriched records is mostly an identity problem: pick a key that survives the changes your data goes through. Key accounts on company domain and contacts on a stable person identifier such as a professional profile URL, and treat email as a matching signal, not the identity. Then resolve identity in a staging table before anything is written to the CRM.
This guide covers why email fails as a key, which keys hold up, where resolution should run, the merge rules that quietly lose data, and how job changes fit in. The string-level side of the problem (Gmail dots, plus tags, and other ways one inbox gets several spellings) is in canonical email deduplication. This post is the layer above it.
It sits in the enrichment and developer hub. If job changes are the part you care about most, the champion job change play covers the outreach side.
Short answer
Don't use email as the CRM identity key, because work emails change when people change jobs. Key accounts on company domain and contacts on a profile URL or other stable person ID, and keep email as a matching signal. Resolve identity in a staging table, merge field by field, and upsert only resolved records into the CRM.
Why email fails as an identity key
Email is the default key almost everywhere. It looks unique, it's on nearly every record, and CRMs match on it out of the box. It's still the wrong primary key, for three separate reasons.
A work email identifies a job, not a person. When someone moves to a new company, their work address changes. A system keyed on email sees a brand new contact with no link to the old one. Job changes are routine in any B2B database, so this isn't an edge case. It's a steady source of duplicates every time you re-enrich.
One person holds several addresses at once. An alias, a legacy address from an acquired company that still routes, a regional variant. All valid, all belonging to one person. Keyed on email, that's several contacts.
Addresses can be reassigned. Some organizations reuse an address after someone leaves, especially role-shaped ones. The same string then points to two people at different times. That's the worst case, because merging on it fuses two people's histories into one record.
None of this makes email useless. It's a strong matching signal: a good hint that two records might be the same person. The mistake is promoting a hint to an identity.
Which keys survive job changes and rebrands?
Two keys do most of the work.
Accounts key on company domain. Company names are unstable: legal entity versus trading name, punctuation, suffixes, translations, rebrands. Domains change far less often and are easier to compare exactly. LeadMagic's buying committee recipe uses company domain as the account deduplication key and says to prefer company_domain over company name when a company is ambiguous.
Two edge cases need explicit handling: subsidiaries and regional domains that should roll up to one parent, and companies that run several brands on separate domains. Both are solved with an alias table that maps extra domains to one account. An alias table is a much smaller problem than fuzzy-matching company names forever.
Contacts key on a stable person identifier. In B2B, the practical option is the person's professional profile URL. It stays the same when the person changes jobs, which is the event that creates most of the trouble. The same LeadMagic recipe uses the profile URL or a stable person ID as the contact deduplication key.
| Record | Primary key | Matching signals | Never the key |
|---|---|---|---|
| Account | Company domain (plus alias table) | Name, country, phone | Company name |
| Contact | Profile URL or stable person ID | Work email, name plus company | Work email |
This isn't a LeadMagic convention. It follows from one constraint: the key has to survive the events your data actually goes through.
Where should identity resolution run?
The second decision is placement, and it matters as much as the key.
The tempting design is to write enriched records straight into the CRM and let native duplicate rules catch collisions. It has fewer moving parts. It also puts the matching in the place with the least context.
CRM duplicate tools compare field values between records. As of October 2026, HubSpot's duplicate management compares properties such as name, email address, phone number, and company name for contacts, and domain, name, and country for companies. Salesforce's matching rules find potential duplicates from field values (two contacts with the same name, for example), and duplicate rules then block the record, allow it with an alert, or report it. Both are useful for form fills and manual entry. Neither knows which external identifier you trust or which of your fields a rep wrote by hand.
By the time a CRM rule fires, the write has already been attempted, and any fix happens inside the system of record, where a wrong merge is hardest to undo.
The alternative is a staging layer:
Enriched records land in staging. Identity resolution runs there against your keys. Merge rules decide, field by field, what wins. Only the resolved result goes to the CRM, and anything uncertain goes to a review queue.
LeadMagic's continuous CRM hygiene recipe lays out what each staging row should carry: the CRM record ID and stable identity key, old and proposed values, the job and row IDs, a source timestamp, the credit cost, a decision (apply, skip, or review), and a machine-readable reason.
The cost is one table. In return, resolution happens where you can inspect and re-run it, wrong merges are caught before they reach the CRM, and the merge rules become a readable artifact instead of settings scattered across an admin UI.
Merge rules that lose data
Identity resolution says two records are the same thing. Merge rules say what the combined record looks like. They're separate decisions, and the second is where data quietly disappears.
"Newest wins" is the right default for volatile fields such as title, company, and phone. It's the wrong default for anything a person curated. An enrichment run that overwrites a rep's account notes with a generic company description destroys the most valuable data on the record.
Set rules per field type, not per record:
| Field type | Rule | Why |
|---|---|---|
| Volatile facts | Newest wins | An external source is often more current than your last touch |
| Human-written | Never overwrite | Enrichment can't reproduce judgment |
| Identity keys | Review on change | A changed key may mean a wrong match |
| History | Append only | Activity and campaign history are the asset |
| Empty incoming | Never write | A blank from a provider means no data, not "clear this" |
The last row causes the most damage per incident. If the merge treats a missing value as an instruction to clear, one bad run empties columns across the database. Never let a blank or missing value overwrite a populated field.
The continuous CRM hygiene recipe adds two rules worth copying: enrichment must never clear opt-outs, consent records, or suppression flags, and an unknown validation result isn't the same as invalid.
Keep the pre-merge state. Store the old values in staging before you apply anything. Every dedupe project eventually finds a merge that shouldn't have happened, and the difference between a five-minute fix and a permanent loss is whether the old values still exist.
Job changes: update, don't duplicate
Job changes are where dedupe and data quality meet.
The sequence: a contact leaves Company A for Company B. Their work email changes. Enrichment finds them at the new company. If email is the key, nothing links the new record to the old, so you end up with two: one current, and one stale record still attached to Company A, still matching campaign filters, and still being emailed at an address that may no longer work.
Keyed on profile URL, it's not a duplicate at all. It's an update to a known person.
Detecting the change on purpose is what turns it from a duplicate into a signal. LeadMagic's Job Change Detector takes a profile_url plus the company_domain or company_name you expect the person to work at. One detail matters for identity work: per the docs, the submitted company_name is authoritative, and a domain lookup only adds matching aliases, because a domain often resolves to a legal or parent entity that never appears on a profile. Send the name when you have it.
Each check costs 3 credits for every status except PROFILE_NOT_FOUND, which costs nothing. Route each status explicitly:
| Status | What to do in staging |
|---|---|
NO_CHANGE | Keep the account link and refresh the check timestamp |
JOB_CHANGE_DETECTED | Keep the old employment as history, propose the new company, route for review |
AMBIGUOUS_CURRENT_EMPLOYMENT | Recheck next sweep; don't infer a move |
CURRENT_EMPLOYMENT_UNKNOWN | Recheck next sweep; don't infer a move |
NEVER_WORKED_THERE | Check your company link; the record may be mismatched |
PROFILE_NOT_FOUND | Check the profile URL; don't infer a move |
The job_change_detected boolean is true only for JOB_CHANGE_DETECTED. Route on the status, not just the boolean: collapsing six outcomes into true or false throws away the part that tells you whether to trust the answer.
Pick the cheap lookup direction
One cost detail is easy to miss when you build the resolution layer.
The two directions of profile resolution are priced very differently:
| You hold | You want | Call | Credits |
|---|---|---|---|
| Profile URL | Profile fields | Profile Search | 1 per profile found |
| Profile URL | Work email | Profile to Email | 5 per email found |
| Email address | Profile | Email to Profile | 10 per profile found |
All three are free when nothing is found. See pricing for plan credit amounts.
The mistake is wiring both directions into one workflow and letting the email lookup run on records that already carry a profile URL. Nothing errors, and every record gets enriched. It shows up as a bill for 10 credits per record where 1 would have done. Branch on which identifier a record already holds before you call anything. The cost per usable record model shows how to budget the rest of the pipeline.
Putting it together
- Pick the keys first. Domain for accounts, profile URL for contacts, and a written alias table for subsidiaries and multi-brand companies. Email is a matching signal.
- Build the staging layer before you connect enrichment to the CRM, not after the first duplicate incident.
- Write merge rules per field type, with explicit protection for human-written fields and a rule that empty never overwrites populated.
- Handle job changes as updates, and use the full status to decide whether to apply, recheck, or review.
- Keep the pre-merge state, because you will need it.
None of this is a feature you can buy from a data provider. A provider can return profile data and detect employer changes. It can't know your system of record, your merge rules, or which fields a person wrote. Those decisions are yours, and making them before the records arrive keeps the CRM getting cleaner with each enrichment run instead of messier.
Bottom line
Duplicates from enrichment come from the wrong key, not weak matching. Key accounts on domain and contacts on profile URL, keep email as a signal, resolve and merge in a staging table, and treat job changes as updates to a known person. Call the 1-credit lookup when you already hold the profile URL.
Build your resolution layer on LeadMagic
Plans from $99/mo. Profile Search is 1 credit per profile, and Job Change Detector is 3 credits per check, with no charge when a profile isn't found.
Sources and review
- knowledge.hubspot.com/records/manage-duplicate-records
- trailhead.salesforce.com/content/learn/modules/sales_admin_duplicate_management/sales_admin_duplicate_management_unit_1
- leadmagic.io/docs/recipes/account-buying-committee
- leadmagic.io/docs/recipes/continuous-crm-hygiene
- leadmagic.io/docs/api-reference/job-change-detector
- leadmagic.io/docs/api-reference/profile-search
- leadmagic.io/docs/api-reference/email-to-profile
Topic path
Go deeper on Enrichment for Developers
API-first enrichment for GTM engineers, data enrichment, scraping, CLI, MCP, and automation.
Keep reading
Estimate enrichment costs with a worked example covering paid lookups, verification, unused credits, and cost per usable record.
HubSpot's built-in enrichment fills job titles and firmographics for contacts with a work email. What it covers, what it skips, and how to fill the rest.
Master advanced AI prompting techniques for Sales, Marketing, Customer Success, and Revenue Operations.
