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 behaviourWhat Salesforce documentsDuplicate it lets through
Every item has to agreeWith several items and no filter logic, a match needs all of themSame name, phone written differently
Blank fieldsBlank value behaviour defaults to NullNotAllowed; MatchBlanks has to be chosenSame name, website empty on one record
Fuzzy company nameThreshold 70; removes words such as Inc and Corp; match key from the first two words of a longer nameNames that differ in the first two words, such as a prefix
Fuzzy phoneSplit into country code 10%, area code 50%, next three digits 30%, last four 10%; works best with North American dataEuropean numbers in mixed formats
International dataSalesforce recommends the exact methodAny 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.

1Fix the data the rule readsA field the record does not haveA blank never matches.One phone number in two formatsStore one format on save, then compare exactly.+44 7700 900123≠07700 9001232Then tune the ruleFields joined by ANDUse OR when one field is enough.A rule still activatingTest once RuleStatus reads Active.A rule that only reportsTurn the alert on.1Fix the data the rule readsA field the record does not haveA blank never matches.One phone number in two formatsStore one format on save, thencompare exactly.+44 7700 900123≠07700 9001232Then tune the ruleFields joined by ANDUse OR when one field is enough.A rule still activatingTest once RuleStatus reads Active.A rule that only reportsTurn the alert on.
Five causes in the order to fix them: the data the rule reads first, then the rule.

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.

SituationWhat Help says happensWhat to do
Quick Create, undelete, manual mergeRules do not runCount duplicates by report after the fact
Lead convert without Apex Lead ConvertRules do not runCheck the setting before relying on it
Lightning Sync or Einstein Activity CaptureRules do not runTreat synced records as unchecked
Edit of a field not in the matching ruleRule does not runInclude the fields reps really change
Several records saved at onceCompared with existing records only, not with each otherDeduplicate the file before loading
User without access to a matched fieldThe rule does not work as expectedGrant 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 actionA user in the browserAn import or API call
Allow with alertSees the alert and chooses to continue or cancelNo alert; Help says the record cannot be saved
Allow without alertRecord savedAPI: record saved, no error code, per the DuplicateRule documentation
BlockError message, record not savedError 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 typedRule in the flowAs stored
(020) 7946 0000Remove brackets and spaces, replace the local 0 with the country code+442079460000
0044 20 7946 0000Turn 00 into +, remove spaces+442079460000
+44-20-7946-0000Remove 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 duplicateBetter caught byWhy
Same registration numberA unique field, validated by country formatA fact, safe to block on
Same name in two alphabetsThe registration numberName matching cannot see that two scripts are one name
Similar names, no numberA matching rule set to alert, not blockA guess should warn, not refuse
Same phone, different formatNormalised phone with an exact matchFormats 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.