function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

De-Duping info within

We have an issue with duplicates in, primarily with leads & contacts.  For those of you that purchase big lists and mail to them (in which case some of the names you purchase MAY already be in as leads or contacts), how do you go about getting that information into without creating tons of duplicates? 

Does anyone else have an issue with the way the Leads module is set up?





Here's another area where I can help out :)


Mark Williamson


I faced this problem with my own product.  The answer (if there is one) stems from the question - What characteristics/properties define uniqueness?  The API should not and does not dictate an answer.  I used a canonical email address form.  Sfdc requires this to be smtp - naturally.  For Exchange addresses, I had to obtain the smtp proxy.  For all smtp addresses, you have to make sure they're in the short form.  There are two obvious flaws with this - email address are volatile (when the individual changes jobs) and mailing lists.  Still, this seems better than any other approach.

WRT an automated way to remove duplicates, I don't know of any such tool, but my knowledge of the sfdc tools is pretty limited.  Others could probably give a better answer.  That notwithstanding, it wouldn't be too hard to write a program to do this.  In fact, the coding is the easy part.  The hard part is deciding upon the heuristics to apply.


Ron HessRon Hess

My efforts to de-dup have used names and emails, I also look at the contacts' account heir, that is: if I find a duplicate name at a child account and a parent account then they are probably the same person.

I then move one of the contacts to the parent so they are at the same account, then construct a simple URL which places both of these names into the contact merge wizard.

I send a sheet of these links to our admin who can click, review the differences, and merge them (2 clicks)

This is still manual process for the admin ( I generate the links automaticaly) but it is mostly working.


We've got some pretty interesting issues in this area too. We are importing data from one source that looks like this:

Bob Jones,

... and from another source that looks like this:

Bob Jones,, Jones Corp

These are imported as *different* contacts, I assume because the account name is different? It seems a little crazy to me that SF doesn't use the email address as an indicator of duplication (or provide an option to enable it to do that).

It looks to me the only solution would be to pay the hefty costs of Enterprise and write some code to sort this out. I don't see any features in SF itself to handle this, and our data sources aren't very amenable to being merged before importing (this is a regular import, not a one-off).

Any clues?





On the account duplicate side you can try out our account de-duplication tool.  It's still in beta and if you want to test out the beta you'll be able to use it till the end of March.

We're working on our Contact de-duplication tool and that will allow dupes to be found based on name, fuzzy name, email, last name, etc. 

I've found that the only way to limit the creation of dupes from lead forms is to write your own and backend it via the API.  That way you can limit the creation of dupes based on your own specific criterial.


GlennW -

What is the "a simple URL which places both of these names into the contact merge wizard"?
I am interested in doing something similar.
I know it's been a long time since this thread was posted, but I would like to know the url and the parameters I have to use to invoke the leadmergewizard to merge two or three leads. The idea is to customize the find duplicates in Visualforce to execute a mass search for all leads, show the results grouped by similarities and then the user selects those to merge. Instead of reconstructing the lead merge wizard in Visualforce, I would like to reuse the standard one, but I can't get to go to the step 2 (when the two or three records to merge are shown in columns to select the master values).  If I understood Ron's message, this is the url he mentioned. Any idea?