Cursor App Template #39 — Lead Scoring & Qualification

Lead Scoring & Qualification

Score inbound leads, assign Hot/Warm/Cold tiers, and prioritize sales follow-up.

Overview

Sales and marketing teams need a consistent way to rank leads before outreach. This single-page browser app lists leads in an AG Grid table, calculates scores from configurable rules, groups leads by qualification tier, visualizes distribution with Chart.js, and exports results to Excel. Leads and scoring weights persist in localStorage.

Key features

Lead grid

  • Sortable AG Grid with name, company, industry, source, engagement, score, and qualification
  • Color-coded Hot, Warm, and Cold tiers with row highlighting
  • Edit and Delete actions on each lead

Scoring rules & lead form

  • Alpine.js form to add or edit leads with live score preview
  • Configurable weights for engagement, demo requests, page views, industry match, and Hot/Warm thresholds
  • Scores recalculate automatically when rules or lead data change

Qualification grouping

  • Hot (≥70), Warm (≥40), and Cold tiers assigned from total score
  • Three group panels list leads in each tier with counts

Charts & export

  • Doughnut chart showing Hot / Warm / Cold distribution
  • Export Excel workbook with Leads and Summary sheets

Filters & summary

  • Filter by qualification tier, lead source, and industry
  • KPI cards: total leads, average score, hot lead count, qualified percentage

Theme & persistence

  • Dark mode toggle with remembered preference
  • Leads and scoring rules saved to localStorage

Data & persistence

Six sample leads load on first visit. Edits, additions, and rule changes persist in the browser. No server required.

Charts & reporting

Chart.js powers the qualification distribution chart. SheetJS handles Excel export with lead details and portfolio summary metrics.

Built with

Tailwind CSS, AG Grid Community, Alpine.js, Chart.js, and SheetJS — all loaded from CDN in a single HTML file.

Try the interactive walkthrough below. Click Walk through features and use Next / Back (or arrow keys) to explore every feature.

Dark mode and polish

Lead Scoring & Qualification

Score leads, assign tiers, prioritize follow-up.

Leads6
Avg63
Hot3
Qual%83%
Filters:

Add lead

Scoring rules

Engagement 25/15/5 · Demo +30
Preview: 95 Hot
Hot 3Warm 2Cold 1
Hot / Warm / Cold
NameCompanyScoreTier
Sarah ChenAcme95Hot
Tom RiveraLocal Shop8Cold
📊 Export Leads + Summary
💾 Saved to localStorage

Leave a Reply