What is lead-to-account matching?
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
| Use | Without matching | With matching |
|---|---|---|
| Routing | Round robin to any rep | Straight to the account owner |
| Scoring | Lead scored alone | Score includes the account's fit and open deals |
| Customers | A customer's new user looks like a new lead | Goes to the account manager as expansion |
| Account-based reports | Engagement split across loose leads | All activity rolled up to the account |
| Duplicates | A second account gets created on conversion | Lead 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
=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.
=LET(x,LOWER(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B2,"https://",""),"http://",""),"www.","")),IFERROR(LEFT(x,FIND("/",x)-1),x))
Step 3: Look up the account
=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
| Case | Example | Rule |
|---|---|---|
| Free email domain | A personal Gmail or Outlook address | Never match on it. Enrich for a work email first |
| Subsidiary or second brand | Lead at fernwaylabs.example.com, account is fernway.example.com | Add an alternate domains field to the account and match on both |
| Country domains | The same company on a .de and a .co.uk domain | Same: list them as alternate domains |
| Rebrand or acquisition | Old domain still on half the leads | Keep the old domain as an alternate |
| Agency or contractor | Freelancer using their own domain | Route as a new lead, don't force a match |
| No account yet | A company you have never touched | Create 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.
| Step | Leads | Running total matched |
|---|---|---|
| Exact email domain = account website | 1,560 | 1,560 of 2,400 (65%) |
| After normalizing websites (www., https://, paths) | +190 | 1,750 (73%) |
| After adding alternate domains for subsidiaries | +120 | 1,870 (78%) |
| Free email domains, sent to enrichment | 310 | |
| Real companies with no account | 220 | Accounts 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.

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
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.
Keep reading
How to clean CRM data
Audit what's missing, duplicate or stale, fix it in five steps and keep it clean.
CRM data enrichment
Export from your CRM, enrich the right records and re-import without overwriting good data.
What is account based marketing?
Account based marketing targets a named list of companies and every person who buys inside them.
