01Chapter 1: How Duplicate Management worksDuplicate Management is the set of Salesforce features that find records that probably describe the same real-world person or company, and then decide what happens next. This chapter gives the working model. Later chapters cover each piece in detail.6 min read
02Chapter 2: Matching rules: deciding what counts as a duplicateThis chapter assumes you know the basic Salesforce data model (objects, fields, records) and can navigate Setup as an administrator. The Apex snippet near the end is optional and needs basic Apex.5 min read
03Chapter 3: Standard matching rules and when they are enoughThis chapter assumes you know how a matching rule and a duplicate rule fit together from the earlier chapters. You should also be comfortable with Accounts, Contacts and Leads, and with finding Duplicate Management in Setup. The goal is to decide whether the matching rules Salesforce ships are enoug5 min read
04Chapter 4: Exact versus fuzzy matchingThis chapter assumes you can open Setup as an administrator, know what a matching rule and a duplicate rule are, and have seen the standard Account, Contact and Lead objects. Developers can follow the Apex example at the end, but nothing else here requires code.5 min read
05Chapter 5: Building a custom matching ruleThis chapter assumes you know how a matching rule and a duplicate rule relate, and the difference between exact and fuzzy matching. You should also be able to find Duplicate Management in Setup. Here you build a custom matching rule for Contacts, activate it, and check that it behaves as designed.6 min read
06Chapter 6: Matching equations, field conditions and blank fieldsThis chapter assumes you can navigate Setup as an administrator. It also assumes you know that a matching rule decides whether two records are alike, and that a duplicate rule decides what happens next. You should already know the difference between exact and fuzzy matching. Here you will see how a 5 min read
07Chapter 7: Duplicate rules: connecting matching rules to user actionsThis chapter assumes you know the Salesforce data model (objects, fields, records) and can navigate Setup as an administrator. You should already know what a matching rule is from the earlier chapters. The Apex snippet near the end needs basic Apex.6 min read
08Chapter 8: Choosing actions: allow, block, alert and reportA duplicate rule needs two things: a matching rule that finds likely duplicates, and an action that says what happens when it finds one. This chapter covers the action settings. It assumes you can open Setup and edit a duplicate rule, and that you know how a duplicate rule refers to a matching rule.5 min read
09Chapter 9: Sharing rules and conditions that limit a duplicate ruleA duplicate rule does not always compare a record against every record in the org, and it does not always run. Two settings on the rule control this. Record-Level Security decides which existing records the rule can compare against. Conditions decide whether the rule runs at all for a given 6 min read
10Chapter 10: Matching across objects, such as Leads against ContactsThis chapter assumes you know how a matching rule and a duplicate rule fit together, and that you have built a custom matching rule with a matching equation. Here you will see how a duplicate rule compares records of one object with records of a different object.6 min read
11Chapter 11: Activating, editing and ordering rulesThis chapter covers how matching rules and duplicate rules change state over time. You will see why a rule sometimes won't activate, what happens to existing data when you edit a rule, and how rule order affects what users see. It assumes you can already build a matching rule and a duplicate rule, a6 min read
12Chapter 12: Reviewing duplicate record sets and reportsThis chapter assumes you know how a duplicate rule calls a matching rule, and that you have seen the action options (allow, block, alert, report). You should be comfortable with Setup, report builder, and basic SOQL. The Apex example is optional.5 min read
13Chapter 13: Merging the duplicates you findDuplicate rules and matching rules find duplicates. Merging is the step that removes them. This chapter covers how a merge works, what happens to the data, and how to merge from the UI and from Apex.5 min read
14Chapter 14: Finding duplicates in Apex with Datacloud.FindDuplicatesThis chapter assumes you know the Salesforce data model, can read basic Apex and SOQL, and have read the earlier chapters on matching rules and duplicate rules. You should know that a duplicate rule points to a matching rule, and that the matching rule decides which records count as alike.5 min read
15Chapter 15: Handling duplicate errors and bypassing rules in DMLThis chapter covers what happens when Apex code or an API client saves a record that an active duplicate rule flags. It assumes you know how duplicate rules and their actions (block, alert, report) work from earlier chapters. It also assumes you can read basic Apex, including Database.insert and `4 min read
16Chapter 16: Testing and troubleshooting rulesThis chapter assumes you can already build a custom matching rule and a duplicate rule, and that you know the difference between exact and fuzzy matching. You also need basic Apex for the last section. The goal is to answer two questions with evidence: why was this record flagged, and why was this r6 min read
17Chapter 17: Design best practices for duplicate preventionThis chapter pulls the earlier material together into design decisions. It assumes you can already create a matching rule and a duplicate rule in Setup, and that you know the difference between exact and fuzzy matching. The Apex sections assume basic Apex and SOQL.5 min read