Resolve and Prevent Duplicate Data in Salesforce
Learning Objectives
- Explain the difference between matching rules and duplicate rules.
- Identify features of standard matching rules.
- Discover options for customizing matching rules.
- Create matching rules.
Rules for Duplicate-Free Data
Matching rules and duplicate rules work together to ensure that your sales teams work with data that’s free of duplicates. Before your reps save new and updated records, matching rules and duplicate rules provide warnings of potential duplicates. You manage matching rules and duplicate rules in Setup.
Matching Rules
Let’s look at how matching rules work in Salesforce.
Contact and Lead Field | Matching Algorithms | Special Handling | Example |
---|---|---|---|
First Name |
|
If the record contains a value for both First Name and Last Name fields, those values are transposed to consider possible data entry mistakes. | The first name is Luis and the last name is Antonio. The matching rule evaluates the first name as Antonio and the last name as Luis. |
Title |
|
Considers acronyms and full titles. | The title is VP. The matching rule considers VP and Vice President. |
Mailing Street |
|
Addresses are broken into sections and compared with those sections. Each section has its own matching method and match score. The section scores are weighted to determine one score for the field. This process works best with North American data.
|
Duplicate Management compares these two addresses.
|
Activate a Matching Rule
- From Setup, Maria enters Matching Rules in the Quick Find box, then selects Matching Rules.
- She clicks Activate next to the rules for accounts and leads.
Easy!
Create a Custom Matching Rule for Contacts
For contacts, Maria wants to include fuzzy matching for the Mailing Street field.
- From Setup, Maria enters Matching Rules in the Quick Find box, then selects Matching Rules.
- She clicks New Rule.
- Maria selects Contact.
- She gives the rule a descriptive name, Custom Contact Matching Fuzzy Mailing Street. She also adds a description so that other admins understand its value.
- Maria adds the matching criteria, then saves her matching rule and activates it.
Block Duplicates with Fuzzy Mailing Streets
Now let’s learn more about using duplicate rules to manage records.After matching rules do the work of identifying potential duplicates, duplicate rules step in and determine what to do with them. As the admin, you choose whether to block your sales teams from creating duplicate records.
Let’s say you let reps create duplicate records. You can create report types that show potential duplicate records created after your reps bypass warnings. We talk about these reports more a bit later.
- From Setup, Maria enters Duplicate Rules in the Quick Find box, then selects Duplicate Rules.
- She clicks New Rule and selects Contact.
- Maria gives the duplicate rule a name and description.
- She blocks the creation of duplicates. She also blocks her teams from editing contacts that result in duplicates.
- She compares the new or updated contact with contacts already in Salesforce using the custom matching rule she created earlier. Then, she saves her duplicate rule and activates it.
Report on the Creation of Duplicate Accounts and Leads
- From Setup, Maria enters Report Types in the Quick Find box, then selects Report Types. She then clicks New Custom Report Type.
- She selects the primary object, Accounts. She gives the report type a name and stores it in a category.
- Maria selects Duplicate Record Items, so that newly created duplicate account records appear on the report. Then, she saves the report type.
- From here, Maria can adjust the page layout. Then, she repeats this procedure for leads.
Creating an environment free of duplicates keeps your sales teams on their A-game, and sales management informed on the quality of their data.
Resources
- Salesforce Help: Standard Matching Rules
- Salesforce Help: Standard Duplicate Rules
- Salesforce Help: Customize Matching Rules
- Salesforce Help: Matching Rules
- Salesforce Help: Duplicate Rules