AI Automation with n8n, Make and ZapierMarketing and sales automations · Lesson 14 of 17

Lead enrichment, scoring, routing and CRM hygiene

Article · 17 min · 9 min lecture

Video lecture

Lead enrichment, scoring, routing and CRM hygiene

13 chapters · about 9 min · full transcript

Coming soon

Chapter 1 of 13

Lead pipeline

  • Speed + understanding
  • Capture to notify
  • Enrichment, scoring, routing
  • CRM hygiene

The narrated lecture is in production

Every chapter is scripted and ready. Browse the chapters and read the full transcript now — the video will appear here when it’s published.

Chapters

Speed and quality win deals

Two things decide whether inbound leads convert: how fast someone responds and how well they understand the lead. Automation handles both: instant acknowledgment and routing, plus enrichment that gives reps context before the first call. And because automations write to your CRM constantly, they must keep it clean rather than polluting it.

The lead pipeline

Capture (forms, ads, chat, WhatsApp) -> Normalize -> Dedupe -> Enrich -> Score
 -> Route (owner, queue) -> Notify + acknowledge -> Create tasks/sequences -> Log

Enrichment options

  • Firmographic enrichment from data providers (company size, industry, location, tech stack). Many exist (for example Apollo, Clay, People Data Labs and CRM-native enrichment); check each provider's terms, coverage in your markets, pricing and data protection posture.
  • Website summary with AI: fetch the company homepage (respect robots and terms), extract text, and ask an LLM for a structured summary: what they sell, target customers, likely needs. Cheap and useful for SMB leads, especially in markets where data vendors have thin coverage (common in Pakistan and parts of the Gulf).
  • First-party signals: pages visited, content downloaded, campaign source (UTM parameters).

Compliance: B2B enrichment still processes personal data about individuals (names, roles, work emails). Under GDPR and UK GDPR you need a lawful basis (often legitimate interests, with a balancing test), transparency (privacy notice), and respect for objections. Do not scrape platforms against their terms (for example LinkedIn's user agreement prohibits scraping).

Scoring

Combine fit (does this lead match your ideal customer profile?) and intent (are they ready?):

SignalExample points (illustrative)
Industry in target list+20
Company size in range+15
Budget mentioned and in range+20
Requested a call/quote+25
Visited pricing page+10
Free email domain for B2B offer-10
Student/job applicationroute out

Start with transparent rules; AI can extract signals (budget, urgency) from free text, but keep the score calculation deterministic and explainable. Review conversion by score band monthly and adjust.

Routing

Rules by territory (country/emirate/city), language (Arabic/Urdu/English), service line, account ownership (existing customers go to their owner), round-robin with capacity limits, and working hours. Always have a default owner.

CRM hygiene automations

  • Upsert, don't create: match on email/phone/domain before creating records.
  • Standardize fields (country codes, phone formats, lifecycle stages) at write time.
  • Duplicate detection jobs: weekly workflows that flag likely duplicates for merge review (do not auto-merge without rules).
  • Stale deal alerts: deals with no activity in 14 days notify the owner.
  • Required fields: missing data triggers a task, not a silent gap.
  • Audit trail: automations write a note or property ("Updated by: lead-intake v3").

Worked example: a Dubai B2B services firm

Leads from web forms, LinkedIn Lead Gen Forms and events. The pipeline: normalize; dedupe on email and domain; enrich with a data provider where coverage exists, otherwise AI website summary; extract budget and urgency from the message with structured output; compute score with rules; route: KSA leads to the Riyadh team, UAE by service line, existing accounts to owners; Slack alert with summary; auto-acknowledgment email (in English or Arabic) promising a response within one business day; create a HubSpot task due in 4 working hours for scores above 60. A weekly hygiene workflow flags duplicates and stale deals. Speed-to-lead improved from next-day to same-hour for high-score leads.

Hands-on: a deterministic scoring function (Code step)

// n8n Code node or Code by Zapier (adapt input/output conventions)
const l = $json; // n8n: current item; Zapier: use inputData
const target = ["real_estate", "hospitality", "healthcare", "retail"];
let score = 0, reasons = [];
if (target.includes(l.industry)) { score += 20; reasons.push("target industry"); }
if (l.employees >= 20 && l.employees <= 500) { score += 15; reasons.push("size in range"); }
if (l.budget_monthly && l.budget_monthly >= 5000) { score += 20; reasons.push("budget"); }
if (l.requested_call) { score += 25; reasons.push("asked for call"); }
if (/@(gmail|yahoo|hotmail|outlook)\./i.test(l.email)) { score -= 10; reasons.push("free email"); }
const band = score >= 60 ? "A" : score >= 35 ? "B" : "C";
return [{ json: { ...l, score, band, score_reasons: reasons.join("; ") } }];

Storing score_reasons makes scores explainable to reps and auditable.

Pitfalls

  • Letting AI "score" leads with no explainable rules.
  • Creating duplicates because you match only on email, not phone or domain.
  • Enriching with data you have no right to use, or scraping against platform terms.

Key takeaways

  • A lead pipeline captures, normalizes, dedupes, enriches, scores, routes, notifies and logs every lead.
  • Enrich with data providers where coverage exists or AI website summaries; ensure a lawful basis and never scrape against platform terms.
  • Use AI to extract signals but keep scoring deterministic, explainable and stored with reasons; review by band monthly.
  • CRM hygiene: upsert on multiple keys, standardize at write time, review duplicates, alert on stale deals and log which automation changed records.

Check your understanding

Quick questions to lock in the lesson. They don’t count towards your certificate.

  1. Why keep lead scoring rule-based even when AI extracts the signals?
  2. A company appears twice in the CRM because two employees used different emails. Which matching improves dedupe?
  3. Enrichment data vendors have thin coverage for small businesses in your market. What is a practical alternative?

Put it into practice

Adapt the scoring function to your ideal customer profile, run it on your last 50 leads, and compare conversion rates by band. Adjust weights based on what you find.

Enrol for free to save your progress

Reading is always free. Enrol to keep your place, take the final assessment and earn a verifiable certificate.