All resources

What is lead-to-account matching?

Article · 5 min read

Lead-to-account matching is linking each new lead to the existing account record for the company they work at. A form fill from maya@fernway.example.com gets attached to the Fernway account, so it goes to Fernway's owner and counts toward Fernway's activity.

Without it, leads float on their own. The same company gets called by two reps, a hot lead at a customer gets treated as a stranger, and account-based reports miss half the engagement.

Why RevOps teams match leads to accounts

UseWithout matchingWith matching
RoutingRound robin to any repStraight to the account owner
ScoringLead scored aloneScore includes the account's fit and open deals
CustomersA customer's new user looks like a new leadGoes to the account manager as expansion
Account-based reportsEngagement split across loose leadsAll activity rolled up to the account
DuplicatesA second account gets created on conversionLead converts into the account that already exists

This matters most for teams running account-based marketing or lead scoring, where the account is the unit you sell to.

Lead-to-account matching by domain

The email domain is the most reliable key you have. Company names come in many spellings, but maya@fernway.example.com and the account website fernway.example.com point at the same company once both are cleaned.

Step 1: Take the domain from the lead's email

Spreadsheet formula: email in A2

=LOWER(MID(A2,FIND("@",A2)+1,100))

Step 2: Normalize the account website

Strip the protocol, www. and any path, so https://www.fernway.example.com/about becomes fernway.example.com.

Spreadsheet formula: website in B2

=LET(x,LOWER(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B2,"https://",""),"http://",""),"www.","")),IFERROR(LEFT(x,FIND("/",x)-1),x))

Step 3: Look up the account

Spreadsheet formula: lead domain in C2, account domains in Accounts!B:B, account IDs in Accounts!A:A

=XLOOKUP(C2,Accounts!B:B,Accounts!A:A,"No match")

Step 4: Sort what didn't match

Every "No match" row falls into one of the cases below. Handle each with its own rule instead of matching by hand.

The cases that break domain matching

CaseExampleRule
Free email domainA personal Gmail or Outlook addressNever match on it. Enrich for a work email first
Subsidiary or second brandLead at fernwaylabs.example.com, account is fernway.example.comAdd an alternate domains field to the account and match on both
Country domainsThe same company on a .de and a .co.uk domainSame: list them as alternate domains
Rebrand or acquisitionOld domain still on half the leadsKeep the old domain as an alternate
Agency or contractorFreelancer using their own domainRoute as a new lead, don't force a match
No account yetA company you have never touchedCreate the account, then match

Tip: Match companies before people. Clean and dedupe accounts first, or a lead can match the wrong copy. How to clean CRM data covers the order.

Worked example: Harborgrid's inbound quarter

Harborgrid, a fictional logistics software company, matched one quarter of inbound leads against 6,000 accounts. The numbers are illustrative.

StepLeadsRunning total matched
Exact email domain = account website1,5601,560 of 2,400 (65%)
After normalizing websites (www., https://, paths)+1901,750 (73%)
After adding alternate domains for subsidiaries+1201,870 (78%)
Free email domains, sent to enrichment310
Real companies with no account220Accounts created

The 310 leads with Gmail and Outlook addresses were the biggest gap. Harborgrid uploaded them to ContactYard Enrich Contacts with their LinkedIn URLs and got verified work emails back. The new work email domain then matched like any other lead.

The Enrich Contacts mapping step with the four column selectors highlighted above a preview of the uploaded rows

CRM data enrichment shows how to bring the enriched file back in on the record ID without overwriting good values.

Lead to account matching in Salesforce

Salesforce keeps leads and accounts as separate objects, and a lead isn't tied to an account until you convert it. Teams close that gap in one of three ways.

  • A lookup field and a Flow. Add an Account lookup on Lead and a normalized domain field on Account. A record-triggered Flow fills the lookup when the email domain matches.
  • A matching app. Several AppExchange tools match on domain, name and fuzzy rules, then route the lead to the account owner.
  • A periodic export. Run the formulas above on an export each week and import the account IDs back. Slow, but free.

Find more contacts at the accounts you matched

A matched lead tells you an account is active. One person rarely buys alone, so add the rest of the buying committee.

Step 5: Paste the matched domains into Company Domain

Copy the domain column of your matched accounts and paste up to 1,000 at a time into the Company Domain filter in ContactYard.

The Company filter open with the Include company domains field highlighted

Step 6: Add the roles the lead doesn't cover

If the lead was a Logistics Coordinator, search Job Title in Smart mode for Director of Logistics, VP Supply Chain, Transportation Manager. Narrow by Employee Headcount and Industry when you only want accounts that fit your plan, for example 251 to 500 and Truck Transportation.

Step 7: Export and attach

The CSV includes the Website column, so every new contact matches back to its account with the same formulas. One credit covers the verified work email, the mobile when available and the verification, about $3.30 per 1,000 on Scale. Start free.

FAQ

What is lead to account matching?
Linking each new lead to the existing account record for their company, usually by matching the lead's email domain with the account's website domain.
How do you do lead to account matching in Salesforce?
Leads aren't tied to accounts until conversion, so add an Account lookup on Lead and fill it with a Flow that compares email domains, or use a matching app.
What do you do with leads that use a Gmail address?
Don't match on the domain. Enrich the lead for a verified work email first, then match on that domain.
Is lead to account matching the same as deduplication?
No. Deduplication merges copies of the same record. Matching links two different records, a lead and its company's account.