ServicesSalesforce consultingArchitectureImplementationOrg health checkDevelopmentIntegrations and APIsData migrationTesting and QAManaged supportSpecialist supportMarketing Cloud auditDeliverability
SolutionsMarketing Cloud EngagementMarketing Cloud NextSalesforce + BrazeAccount EngagementData Cloud (Data 360)Identity resolutionInsights and segmentsAgentforce and AIMCP integrationsSales and Service CloudReal-time personalisationIntegration solutionsEnterprise AI integrationBy industry
ArchitectureSalesforce CRMData 360Salesforce + BrazeAgentforceCustomer 360API-led integrationEvent-drivenMCP host, client and serverIdentity and consentMCP securityData governanceCI/CD and releasesOur public MCP server
ResourcesEngineering journalDecision guidesSolution blueprintsSalesforce productsProjects and achievementsSales ROI calculatorWhere we workChecklists and templatesPlanning toolsReadiness assessmentGlossaryAbout GeekMidstOur approachOur expertiseContact
CompanyAbout GeekMidstOur approachDelivery methodologyTrust and evidenceProjectsAchievementsBook a consultationContactWhere we workSecurity and data
Book a Consultation

How Identity Resolution Match Rules Work

Match rules decide which source records become one person. Here is how criteria, match methods and transitive matching combine, and how to test them safely.

Type
Article
Topic
Data Cloud
Reading time
6 min
Updated
Author
GeekMidst Team
Reviewed by
Site owner
Strategist stacking coloured dot sheets on a light box while a data lead counts the overlap with a tally counter

Your team has switched on identity resolution in Data Cloud (now branded Data 360), the unified profile count looks plausible, and then someone in customer service notices two different people sharing one profile. Or the reverse: one loyal customer appears as four unified individuals. Both problems usually trace back to how match rules were written, not to a fault in the platform.

This guide explains what a match rule actually evaluates, how several rules interact, and how to test a ruleset before you trust it with segmentation and activation.

Diagram showing Individual, contact point and party identification DMOs evaluated by three example match rules combined with OR, then reconciliation rules producing Unified Individuals and a unified link object
Criteria inside a rule combine with AND, rules combine with OR, and matching is transitive, so one shared or placeholder value can chain unrelated people together. View full size

Where match rules sit in the pipeline

Identity resolution runs on Data Model Objects, not on raw ingested data. Records arrive through data streams into Data Lake Objects, are mapped to DMOs such as Individual, Contact Point Email, Contact Point Phone, Contact Point Address and Party Identification, and only then does a ruleset process them. If you are unsure of that layering, read DLO vs DMO in Data Cloud first.

A ruleset has two parts:

  • Match rules, which decide which source Individual records refer to the same person.
  • Reconciliation rules, which decide which value wins for each attribute once records are grouped. These are covered in Reconciliation Rules for Unified Profiles.

The output is a set of Unified Individual records plus a link object that records which source records were merged into which unified record. That link object is your best diagnostic tool, so remember it.

Criteria, rules and the logic between them

A match rule is a list of criteria. Each criterion compares one field, such as email address, phone number, first name or a party identifier, using a match method. Within a single rule, every criterion must be true for two records to match. Across rules, any rule that matches is enough. In other words, criteria are combined with AND, and rules are combined with OR.

That simple logic has big consequences. A rule of email exact on its own is permissive: anyone who shares an email address is merged. A rule of email exact AND first name fuzzy is stricter. Adding a third rule of phone exact widens matching again, because it gives records a second route to merge.

Match methods and party identifiers at a glance

What it doesTypical fieldsWatch out for
ExactValues must be identical after basic handlingParty identifiers, external customer IDsLeading zeros, prefixes and casing differences between sources
Exact normalisedValues are standardised first, then comparedEmail, phone, addressNormalisation cannot fix wrong or placeholder data
FuzzyAllows small spelling and variant differencesFirst name, where supportedFuzzy is only available on certain fields; check current options in Salesforce Help
Party identificationA criterion type rather than a method: compares an identifier together with its type and name, typically with exact matchingLoyalty number, account numberThe identification type must be populated consistently across sources

Transitive matching: why profiles grow larger than expected

Identity resolution is transitive. If record A matches record B on email, and record B matches record C on phone, then A, B and C all end up in one unified individual, even if A and C share nothing at all. This is how a ruleset can quietly chain dozens of people together.

The usual culprits are shared or placeholder values:

  • A household landline used by several adults.
  • A shop's own phone number typed into the till when a customer refuses to give one.
  • Role addresses such as info@ or accounts@ on B2B records.
  • Test values such as test@example.com or 0000000000 left in a source system.

One bad value can act as a bridge between otherwise unrelated clusters. Clean these out before resolution runs; Data Quality Checks Before Identity Resolution lists the checks we run.

A worked example

Consider three sources feeding one ruleset: an ecommerce platform (email, phone, customer ID), a store loyalty system (loyalty number, phone, first name, last name) and Salesforce CRM contacts (email, first name, last name).

A reasonable starting ruleset might be:

  1. Rule 1: email address exact normalised AND first name fuzzy.
  2. Rule 2: party identification (loyalty number) exact.
  3. Rule 3: phone exact normalised AND last name exact.

Notice what is not there: a rule on phone alone. Store data often contains shared and placeholder phones, so phone only becomes a match key when paired with a surname. Email gets a first-name guard for the same reason, because families and small businesses share inboxes.

Now walk through a few pairs by hand before you build anything. Priya Shah, priya@example.com in ecommerce and Priya Shah, priya@example.com in CRM match on Rule 1. A loyalty record with the same loyalty number as an ecommerce customer matches on Rule 2. Rohan Shah and Priya Shah on the same family phone share a surname, so Rule 3 merges them even though they are different people. Is that what the business wants? Probably not, which suggests Rule 3 needs first name as well, or should only use mobile numbers verified by one-time passcode. That is a policy decision, and it should be made deliberately and written down.

Checking what the ruleset actually did

After a run, count how many source records sit behind each unified individual. A long tail of very large clusters almost always means a bridging value. The query below is a sketch for Data Cloud's query tooling; the object and field names are placeholders, because the unified link object's API name depends on your org and ruleset, so look up the real names in Data Explorer first.

sql
-- Placeholder API names: confirm them in Data Explorer for your ruleset
SELECT
  ul.UnifiedRecordId__c AS unified_id,
  COUNT(*)              AS source_records
FROM UnifiedLinkIndividual__dlm ul
GROUP BY ul.UnifiedRecordId__c
HAVING COUNT(*) > 10
ORDER BY source_records DESC
LIMIT 50
Find the largest unified clusters, then inspect the source records behind the top few

For each oversized cluster, pull the source records and look for the shared value that joined them. It is usually obvious within a minute: the same phone, the same role email, or a test address.

Common mistakes and how to diagnose them

  • Over-merging after adding a rule. Compare the unified individual count before and after. A sharp fall in count after a new rule means it is too permissive or a bridging value exists.
  • Under-merging across sources. If CRM and ecommerce records for the same person stay separate, check that both sources map to Contact Point Email and that the email field is actually populated on the DMO, not just the DLO.
  • Identifiers that never match. Party identifiers fail when one source sends LOY-00123 and another sends 123. Standardise in a data transform before mapping.
  • Expecting instant updates. Rulesets run on a schedule or on demand, not on every record change. Plan segment refreshes around the resolution run.
  • Changing rules in production first. Rule changes rebuild unified profiles, which can shift segment membership and activation audiences. Test in a sandbox or a separate ruleset where your licence allows it.

Checklist before you rely on a ruleset

  • Each source maps contact points to the right DMOs, with the Individual relationship populated.
  • Placeholder, test and role values are removed or excluded.
  • Every rule has been walked through with real-looking sample pairs, including edge cases like households.
  • Cluster size distribution has been reviewed after the first run.
  • The business has signed off on the merge policy for shared emails and phones.
  • Downstream owners know when resolution runs and how segment counts may move.

Workflow diagram

Explore how the pieces fit together. Select a step to read what happens there.

Workflow

Identity resolution with match and reconciliation rules

Open full size
Identity resolution with match and reconciliation rulesAn admin creates an identity resolution ruleset with match rules and reconciliation rules. When the ruleset runs, records that meet a match rule are clustered under one unified ID and others stay as single-record profiles; reconciliation rules choose the attribute values on each unified individual.Identity resolution with match and reconciliation rulesData adminIdentityresolutionUnified profilesYesNoRuleset created: On mapped data. A ruleset works on the mapped Individual and contact point objects. Check data quality first: placeholder emails or shared phone numbers will merge people who are not the same.Ruleset createdOn mapped dataMatch rules: Exact, fuzzy, normalised. Each match rule is a set of criteria that must all be true, for example exact normalised email, or fuzzy first name plus exact last name and phone. Start strict and loosen with evidence.Match rulesExact, fuzzy,normalisedReconciliation rules: Value per attribute. Reconciliation rules decide which value wins when sources disagree, for example last updated, most frequent or a source priority order. Set them per attribute where it matters.ReconciliationrulesValue per attributeRuleset job runs: Compares records. The job compares records against the match rules. Real-time identity resolution can also be set up where profiles must update quickly.Ruleset job runsCompares recordsAny match rule met?. Records that satisfy at least one match rule are linked. Records that match nothing are not discarded; each becomes its own unified profile.Any match rulemet?Records clustered: One unified ID. Matched source records are grouped under one unified individual, with link records that point back to each source record. Watch for very large clusters; they signal over-matching.Records clusteredOne unified IDStays its own profile: Cluster of one. A record with no match still gets a unified individual so it can be segmented and activated like any other profile.Stays its ownprofileCluster of oneUnified profile: Values reconciled. The unified profile holds one value per attribute, chosen by the reconciliation rules, plus links to every source record. Review consolidation rates after each rule change.Unified profileValues reconciledStartProcess stepSystem or platformDecisionEnd or outcomeOriginal GeekMidst explanatory diagram, not an official Salesforce reference.

Select any step in the diagram, or use Step through, to see what happens at that point and why.

Text version: every step in order
  1. Ruleset created Data adminOn mapped data

    A ruleset works on the mapped Individual and contact point objects. Check data quality first: placeholder emails or shared phone numbers will merge people who are not the same.

    Next: Match rules

  2. Match rules Data adminExact, fuzzy, normalised

    Each match rule is a set of criteria that must all be true, for example exact normalised email, or fuzzy first name plus exact last name and phone. Start strict and loosen with evidence.

    Next: Reconciliation rules

  3. Reconciliation rules Data adminValue per attribute

    Reconciliation rules decide which value wins when sources disagree, for example last updated, most frequent or a source priority order. Set them per attribute where it matters.

    Next: Ruleset job runs

  4. Ruleset job runs Identity resolutionCompares records

    The job compares records against the match rules. Real-time identity resolution can also be set up where profiles must update quickly.

    Next: Any match rule met?

  5. Any match rule met? Identity resolution

    Records that satisfy at least one match rule are linked. Records that match nothing are not discarded; each becomes its own unified profile.

    Next: Yes: Records clustered; No: Stays its own profile

  6. Stays its own profile Unified profilesCluster of one

    A record with no match still gets a unified individual so it can be segmented and activated like any other profile.

    Next: Unified profile

  7. Records clustered Identity resolutionOne unified ID

    Matched source records are grouped under one unified individual, with link records that point back to each source record. Watch for very large clusters; they signal over-matching.

    Next: Unified profile

  8. Unified profile Unified profilesValues reconciled

    The unified profile holds one value per attribute, chosen by the reconciliation rules, plus links to every source record. Review consolidation rates after each rule change.

    End of the flow.

An admin creates an identity resolution ruleset with match rules and reconciliation rules. When the ruleset runs, records that meet a match rule are clustered under one unified ID and others stay as single-record profiles; reconciliation rules choose the attribute values on each unified individual. Original GeekMidst explanatory diagram; not an official Salesforce reference architecture.

Not sure your match rules are merging the right people?

We can review your ruleset, cluster distribution and source mappings, and tell you what to change before profiles feed live journeys.

Request an identity resolution review →

Tell us what you are trying to fix.

Share your Salesforce setup, goals and constraints. A practitioner reads every message and replies with questions, first thoughts or an honest view of whether you need outside help at all.

Talk to a Salesforce Expert
Book a Consultation