Inbound Lead Enrichment
This runbook enriches incomplete inbound lead records into qualification-ready lead profiles. It researches each company, identifies the lead role and seniority, discovers relevant stakeholders, checks CRM or pipeline relationships, and emits structured outputs for outreach or ro
11 steps · start to finish.
- 1Step 1
Environment Setup
▶- Create
results_dirif it does not exist. - Confirm
leads_inputis present and readable. - Confirm which enrichment tools and CRM sources are available for the run.
- Initialize
validation_report.jsonwith setup, input, enrichment, output, and final verification stages.
mkdir -p "${results_dir:-/app/results}" test -n "${leads_input:-}" || echo "leads_input must be supplied by the orchestrator" - Create
- 2Step 2
Configure Client Context
▶Establish enrichment preferences before processing the first lead. On subsequent runs for the same client, load the saved configuration silently when available.
- 3Step 3
Assess Data Gaps
▶For each lead, inventory known fields and classify missing data. Track whether each record needs company research, person research, stakeholder discovery, CRM relationship checks, or human review. Emit a gap inventory containing known fields, missing fields, enrichment depth, and
- 4Step 4
Company Research
▶Research the organization connected to each lead. Capture company name, website, industry, size, location, growth signals, business model, recent news, and credible evidence URLs or notes. For personal email domains, infer the company only from explicit evidence, such as the lead
- 5Step 5
Person Research
▶Identify the person's role, seniority, function, likely buying influence, location, and profile evidence. Resolve aliases carefully and avoid merging records unless there is high-confidence evidence that the identity matches the inbound lead.
- 6Step 6
Stakeholder Discovery
▶Find relevant stakeholders at the same company based on buyer personas, deal context, and likely buying committee structure. Prioritize stakeholders by function, seniority, public relevance to the problem, and relationship proximity.
- 7Step 7
Relationship Check
▶Check the CRM, pipeline export, or relationship source for existing contacts, accounts, opportunities, open deals, past meetings, owner assignments, and known relationships. Do not overwrite CRM fields directly unless the orchestrator has explicitly granted update permission.
- 8Step 8
Compile Outputs
▶Produce `enriched_leads.json`, `enriched_leads.csv`, and `enrichment_report.md`. Each enriched lead record should include:
- 9Step 9
Iterate on Errors (max 3 rounds)
▶If validation fails or any required output is missing, perform up to max 3 rounds of targeted repair:
- 10Step 10
Write Summary
▶Write `summary.md` with run date, input count, enrichment depth, available tools, CRM source, output paths, records requiring human review, and any unresolved data-quality issues.
- 11Step 11
Final Checklist
▶Before completing the run, verify every required output file exists and is non-empty, and validate that JSON and CSV outputs parse.