The same company, saved twice. The rule compared what it was told to.
A rep creates an account that already exists, and the duplicate rule says nothing. Usually the rule is working exactly as written: it compares only the fields its matching rule lists, in the way each matching method compares them, and only on the save paths where Salesforce runs it. Salesforce Help documents all three. Below is what each one means for a company name, a phone number and a data load, and what an industrial services group needed beyond the standard rules, described in the second implementation case.
Platform behaviour links to Salesforce Help and the developer documentation, read on 23 November 2026. The group build is described in the case named below.
Why is a duplicate rule not catching the same company?
Because a matching rule compares less than a person does. A record counts as a match only when each of its fields does, unless the rule has filter logic. A blank field never matches by default. Fuzzy company name matching drops words such as Inc and Corp, but builds its match key from the first two words only. And a phone saved as +44 20 and as 020 is two different strings to an exact match.
| Rule behaviour | What Salesforce documents | Duplicate it lets through |
|---|---|---|
| Every item has to agree | With several items and no filter logic, a match needs all of them | Same name, phone written differently |
| Blank fields | Blank value behaviour defaults to NullNotAllowed; MatchBlanks has to be chosen | Same name, website empty on one record |
| Fuzzy company name | Threshold 70; removes words such as Inc and Corp; match key from the first two words of a longer name | Names that differ in the first two words, such as a prefix |
| Fuzzy phone | Split into country code 10%, area code 50%, next three digits 30%, last four 10%; works best with North American data | European numbers in mixed formats |
| International data | Salesforce recommends the exact method | Any value not stored in one format |
Matching Methods Used in Matching Rules and Things to Know About Duplicate Rules (Salesforce Help), MatchingRuleItem (object reference), all read on 23 November 2026.
When does a Salesforce duplicate rule not run at all?
On more save paths than most admins expect. Salesforce Help lists records made by Quick Create, leads converted without Apex Lead Convert, records restored from the recycle bin, records added by Lightning Sync or Einstein Activity Capture, and manual merges. On edit, a rule runs only if an edited field is in its matching rule. Records saved together are never compared with each other.
| Situation | What Help says happens | What to do |
|---|---|---|
| Quick Create, undelete, manual merge | Rules do not run | Count duplicates by report after the fact |
| Lead convert without Apex Lead Convert | Rules do not run | Check the setting before relying on it |
| Lightning Sync or Einstein Activity Capture | Rules do not run | Treat synced records as unchecked |
| Edit of a field not in the matching rule | Rule does not run | Include the fields reps really change |
| Several records saved at once | Compared with existing records only, not with each other | Deduplicate the file before loading |
| User without access to a matched field | The rule does not work as expected | Grant read access to every matched field |
Things to Know About Duplicate Rules, read on 23 November 2026.
What happens to a duplicate rule during a data load or an integration?
The alert disappears. Salesforce Help says that for records added through the data import tools or the APIs, no alert is shown and the record cannot be saved. For a rule set to block, the developer documentation says the API returns an error. An integration that only meets warnings in testing can then start failing rows in production, silently, if nobody reads its error log.
| Rule action | A user in the browser | An import or API call |
|---|---|---|
| Allow with alert | Sees the alert and chooses to continue or cancel | No alert; Help says the record cannot be saved |
| Allow without alert | Record saved | API: record saved, no error code, per the DuplicateRule documentation |
| Block | Error message, record not saved | Error returned, record not inserted |
For an alert rule the API returns an error code; the developer documentation says an integration saves anyway only by setting allowSave in DuplicateRuleHeader and sending the request again.
Help: Things to Know About Duplicate Rules. API behaviour per action and allowSave: DuplicateRule, Metadata API. Both read on 23 November 2026.
Why should every phone number be stored in one format?
So that an exact match can compare them. In the industrial services group, flows that run before save on leads, contacts and accounts remove brackets, spaces and dashes, replace an opening 00 with +, and swap the domestic trunk prefix for the country code. Once every number looks the same, an exact phone match finds what the fuzzy method missed.
| As typed | Rule in the flow | As stored |
|---|---|---|
| (020) 7946 0000 | Remove brackets and spaces, replace the local 0 with the country code | +442079460000 |
| 0044 20 7946 0000 | Turn 00 into +, remove spaces | +442079460000 |
| +44-20-7946-0000 | Remove dashes | +442079460000 |
A UK format is used only as an example; the numbers are fictitious, from a range reserved for drama. Normalisation flows: from my build for the industrial services group, the same build as in the second implementation case, which describes its registration number rule.
Which duplicates need a unique field instead of a rule?
Any company with a registration number. A fuzzy match is an estimate, and blocking on an estimate refuses a company that really is different. A registration number is a fact. In the group build the number is checked against the format of its country and made unique, so the second record cannot be saved at all, even when the two names are typed in different alphabets.
| Kind of duplicate | Better caught by | Why |
|---|---|---|
| Same registration number | A unique field, validated by country format | A fact, safe to block on |
| Same name in two alphabets | The registration number | Name matching cannot see that two scripts are one name |
| Similar names, no number | A matching rule set to alert, not block | A guess should warn, not refuse |
| Same phone, different format | Normalised phone with an exact match | Formats differ, the number does not |
Registration number and two alphabet duplicates: the second implementation case, where in testing a name in one alphabet never matched the same name in the other. Limits to plan within: five active duplicate rules per object, three matching rules per duplicate rule, five active matching rules per object, from Salesforce Help, read on 23 November 2026.
Questions buyers ask about duplicate rules
QWhy did my new matching rule find nothing on day one?
Check its status. The Metadata API lists Inactive, Activating, Active and failure states for a matching rule; a rule still activating, or one that failed, finds nothing.
QShould a duplicate rule block or warn?
Warn on fuzzy matches and block only on facts such as a registration number, kept as a unique field rather than a rule.
QCan duplicate rules compare leads with accounts?
Across objects, yes in part. Salesforce Help, read on 23 November 2026, describes duplicate rules that look across objects, such as contacts that duplicate leads, and custom picklists cannot be used in those rules. For leads against accounts it documents a standard matching rule that comes with Account Engagement Advanced or Premium and fills the Matched Leads component on the account.
QHow many duplicate rules can one object have?
Five active duplicate rules per object, each with up to three matching rules, and five active matching rules per object, according to Salesforce Help read on 23 November 2026.
Serhii Skrypnyk, Senior Salesforce Administrator, Salesforce certified, on the platform since 2018. Reviewed 30 November 2026.
Find out how many duplicates you already have
The data quality check costs €650, takes one working day, delivered within three working days, and is credited in full against any engagement booked within fourteen days of delivery. Among its measures: the share of accounts that share a web domain with another account, the usual sign of one customer saved several times.
