Introduction

A value read from a document only matters once it is tied to the right Salesforce record. The vendor on an invoice has to be the Account you already have, the order number has to belong to that vendor, and a document that disagrees with the record on file needs a second look. Matching by hand is slow, and matching on exact text breaks on the first abbreviation.

Salesforce Record Matching finds the record a document belongs to and checks the document against it. Its core capabilities include:

  • Exact and Fuzzy Matching – Finds records by identifier, or tolerates the differences in spelling and formatting between a document and Salesforce.
  • AI-Assisted Matching – Lets AI choose between several plausible records, and abstain when it is not sure.
  • Document-to-Record Comparison – Checks what a document says against the matched record and flags a mismatch.

Exact and Fuzzy Matching

Documents and Salesforce rarely write things the same way. One says β€œAcme Corp.”, the other β€œAcme Corporation”, and a strict comparison treats them as strangers.

Exact and Fuzzy Matching covers both cases. When a document carries a clean identifier, such as an account number or an external ID, an exact match finds the record the same way every time, with no AI involved. When it carries a name, a fuzzy search tolerates small differences in spelling, spacing, and formatting. In Document Mapper, each lookup field can find an existing record with a matching plan generated from a plain-language description, always create a new record, or call a Salesforce Flow to resolve it.

A Document Mapper lookup field with its three options, Get Existing, Create New, and Call Flow Action, and the resolution chat for describing the match

AI-Assisted Matching

Sometimes several records could match, and choosing the right one takes judgment that a fixed rule can't express.

AI-Assisted Matching lets a workflow's search return its candidates and has the AI choose, guided by your instruction, such as the account whose name best matches the vendor on the invoice. If it can't choose confidently, it picks nothing and says so rather than guessing, so the run can send the document to a person instead.

A Search Salesforce records step with Let AI pick the best match turned on and an instruction for how to choose

Document-to-Record Comparison

Finding the record is half the job. A document that names a different issuer, a different amount, or a different date from the record on file should not be written over it unchecked.

Document-to-Record Comparison puts the record's value into a question, has the AI read the document, and returns the verdict in the words you asked for, such as Yes or No, ready for the workflow to act on. The question can tell the AI how to normalize what it reads first, for example by expanding an abbreviation before comparing names.

For example, a finance team checks that the purchase order number on each invoice belongs to the vendor's open order before the invoice is recorded, and holds any mismatch for a person instead of writing it.

With Salesforce Record Matching, every document lands on the right record, and the ones that disagree with your data are caught before they change it.

For how each option works, see Lookup Strategy Resolution for Document Mapper and Salesforce for Workflows. The Document Checklist tutorial builds a workflow that finds a record and checks documents against it.