<DT/> DeepTier Labs Demo Project
← Back to main site
Demo #2 — Automation

Lead Enrichment Pipeline

An automated workflow that takes raw lead data, enriches it with company information, scores each lead, and routes qualified prospects to your CRM. Click "Run Workflow" to see it in action.

Type: Automation Pipeline Integrations: CRM, Email, Webhooks Build time: ~3 hours
Workflow Pipeline Ready
Ingest Leads
CSV upload or webhook trigger
🔍
Enrich Data
Company info, social profiles, tech stack
Score & Qualify
AI-powered lead scoring (0-100)
📨
Route & Notify
CRM update + Slack alert
Complete
Leads ready for outreach
0
Leads Processed
0
Qualified Leads
Avg Lead Score
Execution Log
[--:--:--] Workflow idle. Click "Run Workflow" to start.
How It's Built
lead-pipeline.js
// Lead enrichment pipeline — runs on webhook or schedule
async function processLeadBatch(leads) {
  const enriched = await Promise.all(
    leads.map(async (lead) => {
      const company = await enrichCompany(lead.domain);
      const score = calculateLeadScore({
        ...lead, ...company,
        signals: await getIntentSignals(lead.email)
      });
      return { ...lead, company, score };
    })
  );

  const qualified = enriched.filter(l => l.score >= 70);
  await pushToCRM(qualified);
  await notifySlack(`${qualified.length} hot leads ready`);
}