All projects

1-800-GOT-JUNK?

Finding 769,550 duplicate customers

Matching and merging 7.8M customer accounts, automating it across brands, then an identity graph: 7.4M accounts resolved to 6.9M customers.

Role
Project lead, then data solutions lead
Period
2022 – 2026
Organization
1-800-GOT-JUNK?
duplicate accounts removed
769,550
customers recognized as repeat customers
3.75% → 7.34%
fields with explicit merge rules
286
accounts resolved to unique customers
7.4M → 6.9M

Our CRM held 7.8 million residential accounts, and many of them were the same people entered more than once. I led the design of exact and fuzzy address matching across all of them, with merge rules for 286 fields. We removed 769,550 duplicate accounts, and the share of customers the business recognized as repeat customers doubled, from 3.75% to 7.34%. Then I made it a process rather than a project: automated, twice a week, across three brands. Later, an identity graph resolved 7.4 million accounts into 6.9 million unique customers.

The problem

When a customer books a second time, they can easily end up as a new account: a different spelling, an abbreviated street name, a new phone number, a booking taken by a different channel. Each duplicate splits one customer’s history in two.

That matters more than it sounds. A repeat customer who looks like a new one can’t be recognized or measured as one. Reports undercount loyalty, and anything built on customer history inherits the error.

Constraints

  • No reliable customer key. Names and addresses were the main evidence, typed by different people in different ways.
  • Merges are hard to undo. Merging two accounts in Salesforce combines their records. A false positive does real damage, so precision mattered more than catching every last duplicate.
  • 286 fields to reconcile. When two accounts merge, every field needs a rule for which value survives.
  • Duplicates keep coming. A one-time cleanup decays unless the process keeps running.
  • Several brands, one data model. Whatever we built had to work beyond the first brand.

What I built

Matching. Exact matching on addresses first, then fuzzy matching to catch the spelling and formatting variants of the same address. Every candidate pair got a confidence level.

Merge rules. For each of 286 fields, an explicit rule for which value wins in a merge. Unglamorous work, and exactly what made the merges safe.

The first cleanup. 769,550 duplicate accounts removed from 7.8 million.

Automation. Dedup became a pipeline. Match files are generated twice a week and split into high and low confidence. High-confidence merges run automatically through KNIME and DemandTools; low-confidence pairs go to review for false positives first. I then extended it to three brands and to commercial accounts.

The next generation. Later I migrated customer dedup from Redshift to Snowflake and built an identity graph that links accounts sharing the same identifiers into one customer. It resolved 7.4 million accounts into 6.9 million unique customers, and became the base for a machine-learning engine that helps prevent cancellations.

How it works

  1. Extract residential accounts and their addresses from the warehouse.
  2. Match exactly, then fuzzily, and score each candidate pair.
  3. Split by confidence: high-confidence pairs go straight to merging, low-confidence pairs to human review.
  4. Merge in Salesforce with DemandTools, applying the 286 field rules so the surviving account keeps the best value of each field.
  5. Repeat twice a week, so new duplicates don’t pile up again.

The identity graph generalizes the same idea. Instead of comparing accounts in pairs, it connects every account that shares an identifier, and each connected group is one customer.

Results

  • 769,550 duplicate accounts removed from 7.8 million residential accounts.
  • Repeat-customer recognition doubled, from 3.75% to 7.34% of customers.
  • A running process, not a one-off: automated twice a week, across three brands and commercial accounts.
  • 7.4M accounts resolved to 6.9M unique customers by the identity graph, the base for a cancellation-prevention ML engine.

What I’d do differently

Automate from the start. The first cleanup was a project with an end date; the automation came after. Designing the recurring pipeline first would have reached the steady state sooner.