Seven workflows. From a stale lead record to a fully autonomous inbound agent — built on Lusha’s verified data inside Salesforce Agentforce. Each workflow stands alone. Build one or build all seven.
This playbook is the Lusha Data Framework inside Salesforce. The two-layer architecture — verified data and live intelligence — running autonomously, without a human in the loop.
| # | Workflow | Difficulty | Build time |
|---|---|---|---|
| 1 | Auto-enrich new leads automatically | Easy | 30 min |
| 2 | Score and route leads by ICP fit | Medium | 45 min |
| 3 | Alert reps when a key contact changes roles | Medium | 45 min |
| 4 | Surface buying signals on open deals | Medium | 45 min |
| 5 | Enrich and score accounts on a scheduled cadence | Medium | 45 min |
| 6 | Enrich contacts before a campaign goes out | Easy | 30 min |
| 7 | Build the full Agentforce inbound lead agent | Advanced | 2 hours |
What you need to start: A Lusha API key (Settings → API in your Lusha account), Salesforce admin access, and Flow Builder. Workflow 7 additionally requires a Salesforce Agentforce license.
Full API documentation: docs.lusha.com/guides
Workflow 1 — Auto-enrich new leads with Lusha inside Salesforce Agentforce
Every new lead that hits Salesforce arrives with a name, an email, and a company — and not much else. This workflow fixes that automatically. The moment a new Lead record is created, a Salesforce Flow calls the Lusha API to enrich it — verified email, direct dial, current title, seniority, and full company firmographics — and writes everything back before the rep opens it.
Requires: Lusha API key · Salesforce Flow Builder · Salesforce admin access
How it works
API reference
POST https://api.lusha.com/v2/contacts/search
Headers: api_key: YOUR_LUSHA_API_KEY
Body: { "emailAddress": "{{Lead.Email}}" }
Map response:
data.jobTitle → Title
data.seniority → Lusha_Seniority__c
data.department → Lusha_Department__c
data.phoneNumbers[0] → Lusha_Direct_Dial__c
POST https://api.lusha.com/v2/companies/search
Body: { "name": "{{Lead.Company}}" }
Map response:
data.industry → Industry
data.employeeCount → Lusha_Employee_Count__c
data.fundingStage → Lusha_Funding_Stage__cCustom fields to add to the Lead object
| Field label | Type | API name |
|---|---|---|
| Lusha — Direct dial | Phone | Lusha_Direct_Dial__c |
| Lusha — Seniority | Text | Lusha_Seniority__c |
| Lusha — Funding stage | Text | Lusha_Funding_Stage__c |
| Lusha — Employee count | Number | Lusha_Employee_Count__c |
| Lusha — Revenue range | Text | Lusha_Revenue_Range__c |
| Lusha — Enriched date | Date/Time | Lusha_Enriched_Date__c |
Lead record before and after
Workflow 2 — Score and route leads by ICP fit
Enrichment tells you who the lead is. ICP scoring tells you whether they are worth calling. This workflow takes every lead enriched by Lusha, scores it against your ICP criteria, assigns a score to the Salesforce record, and routes it to the right rep or queue automatically. No manual triage. No rep making judgment calls on incomplete data.
Requires: Workflow 1 live · Salesforce Flow Builder · Salesforce admin access
How it works
Scoring framework
| Criterion | Must-have | Points |
|---|---|---|
| Industry matches ICP | Yes — Low if fails | Pass / Fail |
| Employee count in ICP range | Yes — Low if fails | Pass / Fail |
| Seniority matches target buyer | No | +3 |
| Funding stage matches ICP | No | +2 |
| Geography matches ICP | No | +1 |
Score interpretation: 5–6 = High · 3–4 = Medium · 0–2 or must-have fail = Low
Workflow 3 — Alert reps when a key contact changes roles
A champion who left five weeks ago and nobody noticed is a deal risk that shows up at the worst possible moment. This workflow runs a daily check on every monitored contact, detects departures and role changes in real time, and alerts the owning rep before the situation affects a deal.
Requires: Lusha API key · Salesforce Flow Builder · Slack (optional)
How it works
Example Slack alert on departure
⚠ Champion departure detected — action required
Contact: R.M. — VP of Sales
Account: [Company A]
Open deal: [Deal name] — Stage 3 — $42K
Departed: [date]
New company: [New Company]
Find the new owner at [Company A] before this deal goes cold.
View opportunity in Salesforce →
Workflow 4 — Surface buying signals on open deals
An account in Stage 3 just closed a Series B. A new CRO joined two weeks ago. The SDR headcount doubled. Every one of those signals is relevant to the deal — and none of them are in Salesforce because nobody was watching the account between calls. This workflow runs a daily signal check on every open opportunity and surfaces new signals directly on the record.
Requires: Lusha API key · Salesforce Flow Builder · Slack (optional)
How it works
Example opportunity record after signal check
Workflow 5 — Enrich and score accounts on a scheduled cadence
CRM data decays at 30% per year. A company that had 200 employees when the account was created might have 400 now. A funding stage that was Series A is Series B. None of that shows up in Salesforce unless someone manually updates it — and nobody does. This workflow runs a weekly enrichment pass on every account automatically and rescores against your ICP with current data.
Requires: Lusha API key · Salesforce Flow Builder · Salesforce admin access
How it works
Example weekly enrichment summary
Workflow 6 — Enrich contacts before a campaign goes out
A campaign that goes out to stale contacts damages your sending domain, inflates your bounce rate, and reaches people who can’t act on it. This workflow triggers when a Salesforce Campaign is set to “Ready to Send”, runs a Lusha verification pass on every campaign member, suppresses departed contacts, and updates stale data before the first email sends.
Requires: Lusha API key · Salesforce Campaigns · Salesforce Flow Builder
How it works
Example verification summary
Workflow 7 — Build the full Agentforce inbound lead agent with Lusha
Everything built in Workflows 1 through 6 — enrichment, ICP scoring, routing, contact monitoring, buying signals, campaign verification — combined into a single autonomous Agentforce agent that handles the full inbound lead motion from form submission to rep notification without a human touching anything. Target run time: under 60 seconds.
Requires: Lusha API key · Salesforce Agentforce license · Workflows 1 and 2 live · Slack (recommended)
How it works
ICP scoring Prompt Template
Score this lead against the ICP below.
Return valid JSON only. No preamble.
ICP: {ICP_DEFINITION}
Lead:
Industry: {Lead.Industry}
Employees: {Lead.Lusha_Employee_Count__c}
Funding: {Lead.Lusha_Funding_Stage__c}
Seniority: {Lead.Lusha_Seniority__c}
Country: {Lead.Country}
Return:
{
"score": "High|Medium|Low",
"criteria_met": [],
"criteria_failed": [],
"reason": "one sentence"
}Pre-call brief Prompt Template
Write a pre-call brief for a sales rep.
Under 60 words. Specific. No generic phrases.
Plain text only.
Contact: {Lead.FirstName} {Lead.LastName},
{Lead.Lusha_Seniority__c} at {Lead.Company}
Company: {Lead.Industry},
{Lead.Lusha_Employee_Count__c} employees,
{Lead.Lusha_Funding_Stage__c}
ICP score: {Lead.Lusha_ICP_Score__c}
Top signal: {Lead.Lusha_Top_Signal__c}
Score reason: {Lead.Lusha_Score_Reason__c}Example rep notification — under 60 seconds from form submit
🟢 New high-fit inbound lead — assigned to you
Contact: R.M. — VP of Sales
Company: [Company A] — Revenue Intelligence / SaaS
Employees: 280–320 · Series B · Austin, TX
ICP score: High — matches 5 of 5 criteria
Top signal: Series B closed $22M — 11 days ago
Direct dial: +1 512 555 ••••
Brief: VP of Sales at a Series B Revenue Intelligence company that just closed $22M. 8 SDR roles posted. Intent on prospecting data at score 74. Strong ICP fit. Call today.
What this agent replaces
| Manual step | Time saved per lead | Agent action |
|---|---|---|
| Rep enriches contact manually in Lusha | 3–5 minutes | Automatic on lead creation |
| Rep researches company in CRM and LinkedIn | 5–10 minutes | Automatic on lead creation |
| Manager triages and routes lead manually | 2–5 minutes | Automatic ICP scoring and routing |
| Rep checks for account signals before calling | 3–8 minutes | Automatic signal check |
| Rep writes pre-call notes before first call | 5–10 minutes | Automatic brief generation |
| Total per lead | 18–38 minutes | Under 60 seconds |
Build order recommendation
Each workflow stands alone but they compound when stacked. Build in this order for the highest impact per hour invested:
- Workflow 1 first — clean enriched data is the foundation everything else runs on.
- Workflow 2 immediately after — scoring without enrichment is guessing. Scoring with enrichment is signal.
- Workflow 3 before the next pipeline review — catch your first departed champion before it costs you a deal.
- Workflow 5 before the next quarter starts — a clean account database makes every other workflow more accurate.
- Workflow 4 once the account database is current — signals on stale accounts produce noise. Signals on verified accounts produce pipeline.
- Workflow 6 before the next campaign — one deployment saves your domain reputation permanently.
- Workflow 7 when Workflows 1 and 2 are stable — the full agent builds on their output. Don’t skip the foundation.
Full API documentation: docs.lusha.com/guides
Browse all Lusha Campus plays: lusha.com/campus/plays