Sub topic 3
Standard matching rules and when they are enough
This chapter assumes you know how matching rules and duplicate rules fit together, and that you can find Duplicate Management in Setup. Here you decide whether Salesforce's built-in matching rules are enough or whether you need to build your own.
What standard matching rules are
Salesforce ships a set of matching rules that you can use without any configuration. Each one targets a common object:
| Matching rule | Object | Typical fields compared |
|---|---|---|
| Standard Account Matching Rule | Account | Name, plus address, phone, or website |
| Standard Contact Matching Rule | Contact | First and last name, plus email, phone, or address |
| Standard Lead Matching Rule | Lead | Name, company, plus email or phone |
The exact field combinations are defined by Salesforce and can change between releases. Treat the table as a summary, not a specification.
Standard matching rules use a mix of exact and fuzzy methods. Names tend to be matched fuzzily, so "Jon" can match "Jonathan". Identifiers such as email tend to be matched exactly. The next chapter covers the difference in detail.
You cannot edit or delete a standard matching rule. You can only use it from a duplicate rule or leave it unused. Many orgs also include standard duplicate rules that already point at these matching rules, so check Duplicate Rules in Setup to see what is active in yours.
How a standard rule is used
The duplicate rule decides what happens. The standard matching rule only decides whether two records look alike.
When standard rules are enough
Standard rules usually work well when all of these hold:
- Your data is mostly the standard fields on Account, Contact, and Lead.
- People are typically identified by name plus email, phone, or address.
- You have no business-specific identifier, such as a customer number, that defines a duplicate.
- You can accept Salesforce's definition of "similar enough".
When to build a custom rule instead
Move to a custom matching rule when:
- A custom field decides identity, for example an external ID or account number.
- Standard rules produce too many false positives or miss real duplicates in your data.
- You need to control how blank fields are treated.
- The object has no standard matching rule, such as a custom object.
A practical approach is to start with the standard rule, watch the results for a few weeks, and customize only when the evidence shows a gap.
Exercise
Your company identifies customers by a custom field named CustomerNumber_c on Account. Are standard matching rules enough? Why or why not?
Show answer
No. The standard Account matching rule compares fields such as name, address, phone, and website, and it does not know about CustomerNumber_c. You should build a custom matching rule that includes that field, which is exact-matched, so records with the same customer number are flagged.