Sub topic 1
How Duplicate Management works
Prerequisites
This chapter assumes you understand Salesforce objects, fields, records, and basic Accounts, Contacts, and Leads. You should also know how to navigate Setup.
Salesforce Duplicate Management has two connected parts:
- A matching rule defines when two records look alike.
- A duplicate rule uses that matching rule and decides what Salesforce does when someone creates or edits a record.
A matching rule does not block a save by itself. A duplicate rule applies the matching rule to a user action, such as creating an Account, and can show an alert or prevent the save.
Matching rules: deciding what counts as a duplicate
A matching rule compares selected fields, such as Account Name, email address, or phone number. It can normalize values before comparing them. For example, a rule might treat 555-0100 and (555) 0100 as equivalent.
A rule can compare records within one object, or support some cross-object scenarios. Its match method can be exact or fuzzy.
Standard matching rules and when they are enough
Salesforce provides standard matching rules for common objects and fields. Use one when its fields and comparison behavior fit the business requirement. Standard rules are faster to configure and easier to maintain.
Create a custom matching rule when you need different fields, a different comparison method, or organization-specific logic. For example, a business might match Accounts using website domain and billing country instead of only the Account Name.
| Choice | Best use |
|---|---|
| Standard rule | Common duplicate patterns with Salesforce’s defaults |
| Custom rule | Organization-specific fields or comparison logic |
Exact versus fuzzy matching
Exact matching requires normalized values to be equal. It is predictable and works well for unique identifiers, such as an external ID or an email address.
Fuzzy matching allows similar values to match. It can detect variations such as Acme Corporation and Acme Corp, but it can also produce false positives. Review the fields and thresholds carefully before blocking users.
Exercise
Which component decides whether Salesforce alerts a user or blocks a save?
Show answer
The duplicate rule. The matching rule only defines how Salesforce identifies possible matches.