Advanced

Lead Enrichment & Personalization Agent

Inbound leads land enriched with firmographics, website intel, and a personalized first-touch — before a human sees them.

Setup difficulty: advanced

The Problem

Speed-to-lead matters, but so does personalization. The rep who responds in 5 minutes with a generic 'thanks for reaching out' loses to the rep who responds in 7 minutes referencing the prospect's company news. An enrichment agent fires the moment a form is submitted: pulls firmographics, scrapes the company website, summarizes their About page, and generates a personalized opener — all before the rep opens the lead.

Best For

B2B SaaSMarketing agenciesConsulting firmsInsurance agenciesFinancial advisors

Workflow Steps

1

Trigger on form submission

Webhook from your form (Typeform, native HTML, HubSpot) fires the n8n / Lindy workflow with the lead's email and company domain.

2

Enrich the company

Hit Clearbit / Apollo / People Data Labs for firmographics: industry, size, revenue, tech stack, location. Cache results to avoid repeat API costs.

3

Scrape and summarize the website

Use Firecrawl or Browserless to pull the homepage + About page. Feed to GPT-4 with prompt: 'Summarize what this company does in one sentence and identify one likely pain point that maps to [our service].'

4

Generate the personalized opener

Prompt: 'Draft a 3-sentence reply email. Sentence 1: thank + acknowledge their inquiry. Sentence 2: one specific reference to their company drawn from the summary. Sentence 3: a concrete next step.'

5

Drop everything in the rep's inbox

Create the CRM record with all enrichment data. Send the rep a Slack DM with a ready-to-send draft email and a one-line context brief. Rep reviews, hits send.

6

Track which drafts ship as-is

Tag each draft with 'sent_unedited', 'sent_with_edits', 'rejected'. Use this signal to keep tuning the prompt — high edit rate means the model is missing something obvious.

Copy-Paste Templates

Use these templates as-is or customize for your business.

Website Summary Prompt
You are analyzing a company website to brief a sales rep. Input: {{scraped_html_text}}. Output JSON: {"company_one_liner": "What they do in one sentence.", "likely_pain_point": "One specific pain point that maps to our offering of [your service].", "recent_signal": "Anything time-sensitive — funding, hiring, launch, etc. Empty string if none."}
Personalized Opener Prompt
Draft a 3-sentence email reply to a new inbound lead. Use this brief: {{summary_json}}. Lead context: {{form_submission}}. Constraints: sentence 1 = thank + acknowledge specific thing they asked. Sentence 2 = ONE specific, non-generic reference to their company drawn from the brief. Sentence 3 = propose a concrete next step (a 15-minute call, a specific resource). No exclamation marks. Sound like a human who actually read their site.
Slack Brief Format
🆕 *New lead: {{first_name}} @ {{company}}*
• What they do: {{company_one_liner}}
• Likely pain: {{likely_pain_point}}
• Signal: {{recent_signal}}
• Their ask: {{form_message}}

📩 *Draft reply ready in inbox* — review + send.

Orchestration pattern

Single agent with function-calling: one LLM with a defined toolbox (CRM, calendar, knowledge base) decides which tool to invoke at each turn. Easiest to debug; appropriate for most well-scoped SMB workflows.

Learn the agentic glossary →

Failure modes & mitigations

Where this workflow tends to break in production — and what to put in place before you ship it.

Enrichment API miss leaves blank fields

Mitigation: Fallback to LLM summary of the domain's homepage if structured data is missing.

Draft sounds AI-generated

Mitigation: Hard rules: no 'Hope this email finds you well', no 'I came across'; reject drafts containing them.

When NOT to Use This

Skip if your inbound volume is under 5 leads/week — manual personalization is faster. Also skip for transactional/local-service inquiries where speed matters more than personalization (e.g., emergency plumbing).

30-60-90 Day Implementation Plan

A phased approach to get this workflow running and delivering ROI.

Days 1–30

Foundation

  • Set up core tools and integrations
  • Configure basic workflow automation
  • Test with a small set of real scenarios
  • Train team on new process

Days 31–60

Optimization

  • Review initial results and adjust triggers
  • Add edge case handling
  • Connect additional data sources
  • Measure time saved vs. manual process

Days 61–90

Scale

  • Roll out to full team or all locations
  • Set up monitoring and alerts
  • Document SOPs for the automated workflow
  • Identify next workflow to automate

Related Articles

Get weekly workflow ideas

One practical AI tip per week for SMB owners. No fluff.

Ready to implement this workflow?

Get the full guide with step-by-step setup, workflow templates, and copy-paste assets.