TL;DR
- A warehouse sync brings every CRM duplicate into analytics, joined with billing, product and support data.
- In the warehouse, duplicates multiply: one customer with two CRM records can double rows in every join.
- Merging after the sync changes or removes record IDs the warehouse has already stored.
- Clean the CRM before the first sync, and decide how merged IDs will be handled after.
- Dedupely's Merge History export keeps the original values and record IDs of every merged record.
Sending CRM data to a data warehouse is usually a data team project: set up the connector, pick the objects, schedule the sync. Duplicates rarely come up in the plan. They come up later, when the first revenue model counts some customers twice and nobody can tell which CRM record is the real one.
The best time to deal with CRM duplicates is before the first sync. This post covers why, what to clean and how to handle merges once the warehouse is running.
What duplicates do in a warehouse
| In the CRM | In the warehouse |
|---|---|
| One customer, two company records | Two rows in the customers table |
| Billing linked to one record, deals to the other | Revenue and pipeline that don't join up |
| A contact twice, with activity split | Engagement metrics split across two people |
| Duplicate deals | Bookings counted twice in revenue models |
Joins make it worse. A customer with two CRM records, joined to 50 invoice rows, can become 100 rows. The data team ends up writing deduplication logic in SQL, and every analyst writes it a little differently.
Why merging later is harder
Once the warehouse has a record ID, it depends on it. When you merge in the CRM later:
- The merged-away record's ID stops being updated, but the warehouse still has it.
- Some CRMs give the merged record a new ID, so the warehouse sees a "new" customer.
- Historical tables keep pointing at IDs that no longer exist in the CRM.
None of this is a reason not to merge. It's a reason to plan for merges.
Before the first sync
- Merge duplicate companies, matched on domain, then on name.
- Merge duplicate contacts, matched on email, then on name plus company or phone.
- Review and merge duplicate deals, especially closed ones that feed revenue.
- Agree on IDs: which ID other systems should use to join to the CRM, and where it's stored.
After the sync: a plan for merges
Merges will keep happening. Agree with the data team on:
- How they'll hear about merges: a regular export of merged record IDs is enough for most teams.
- How to map old IDs: a table that maps each merged-away ID to the ID that survived.
- How history is kept: whether old rows are updated to the new ID or kept as they were.
How Dedupely helps
In Dedupely, you can find and merge duplicates in the CRM before the first sync, with searches per object and Merge Rules for which values win. Connecting and syncing to Dedupely never changes the CRM, so you can measure the problem first. Merge History records every merge, can be filtered by date range and exports as a CSV with each original record's values and record IDs, which gives the data team the original IDs to build their mapping table. Auto Merge can merge new duplicates on a schedule, so the warehouse doesn't fill up again.
Clean first, then plan for merges
A warehouse multiplies whatever duplicates the CRM sends it. Merge companies, contacts and deals before the first sync, agree on the ID other systems join to, and give the data team a regular merge export so later merges don't break the models.
Frequently asked questions
Should I deduplicate my CRM before syncing it to a data warehouse?
Yes. Duplicates multiply in joins, and merging later changes record IDs the warehouse already depends on.
What happens to warehouse data when I merge records in the CRM?
The merged-away record stops updating, and some CRMs give the merged record a new ID. The warehouse needs a way to map old IDs to new ones.
Can't the data team just dedupe in SQL?
They can, but every model needs the same logic, and reps and tools still use the duplicates in the CRM.
Which objects should I clean first?
Companies, then contacts, then deals that feed revenue.
How do I tell the data team about merges?
Send a regular export of merged records with their original IDs, so they can build a mapping table.




Salesforce AppExchange