Skip to main content
PROJECT 03AI-Powered Outbound Sales Automation PlatformProduction

Alpha Lead Engine

From prospect discovery to closed conversation — fully automated, human-reviewed.

Overview & Impact

The Problem & The System Solution

The Problem

Outbound sales teams spend enormous time discovering companies, checking lead quality, researching websites, writing personalized emails, managing follow-ups, and manually reading replies.

The System Solution

Designed a unified AI-powered pipeline that moves each prospect from discovery to qualification, personalization, outreach, follow-up, reply classification, and campaign analytics — with a mandatory human review checkpoint before any email is sent.

01

Sales development is repetitive and expensive. SDRs spend 60-70% of their time on tasks that don't require human judgment: finding companies, checking if they fit the ICP, researching their website, and writing a first email that sounds personal.

02

Alpha Lead Engine automates exactly those tasks while keeping humans in control of what actually matters: reviewing and approving outreach before it reaches a real prospect.

03

The system is modular by design. Each of the 6 AI modules has a single responsibility. This makes it testable, replaceable, and improvable independently — a direct contrast to monolithic AI automation systems that fail unpredictably.

Architecture & System Flow

System Design Visualizer

MODULAR OUTBOUND SALES PIPELINE

Alpha Lead Engine 6-Module Flow

Mandatory Human Gate
MODULE 01
Lead Discovery
Apify Scraper Integration
MODULE 02
ICP Qualification
AI Lead Scoring Engine
MODULE 03
Website Intelligence
RAG Vector Extraction
MODULE 04
Personalized Email
Context-Aware Drafts
MODULE 05 (GATE)
Human Review
Mandatory Approval Gate
MODULE 06
Follow-Up & Reply
Day 0/3/7 Classification
n8n Workflow Layer: Independent retries & step isolationFastAPI + Supabase
INTERACTIVE STEP INSPECTOR

Step-by-Step System Execution Payload

Step 1 of 4
COMPONENT / NODE

Apify LinkedIn & Web Scraper

DATA / PAYLOAD FORMAT

Search Parameters → Raw Prospect Profile JSON

LATENCY TARGET
1.2s batch extraction
TECHNOLOGY USED
Apify Actors / Docker
SAFETY GUARDRAIL / FAILOVER
Rate limit throttling & proxy IP rotation

Key Engineering Decisions

Each AI module has a single responsibility, making the system easier to test, maintain, replace, and improve independently.

Implemented a mandatory 'Human Review' checkpoint before email dispatch to guarantee campaign safety.

Decoupled workflow orchestration (n8n) from core application APIs (FastAPI) to handle long-running async tasks smoothly.

Technology Stack

Production Technologies

Frontend
Next.js

Frontend dashboard for campaign management and human review interface

Tailwind CSS

Utility-first styling for the campaign management UI

Backend
FastAPI

Python backend exposing AI module APIs and webhook handlers

AI / ML
OpenAI API

GPT-4 powering qualification, website analysis, and email generation modules

Database
Supabase

Lead store, campaign state, and review queue with real-time subscriptions

API / Integration
Apify

Web scraping and company data discovery at scale

Infrastructure
n8n

Workflow orchestration for multi-step pipeline with independent step retries

Docker

Containerized deployment ensuring consistent environments

Features & Capabilities

What It Does

🔍

Lead Discovery

Apify-powered scraping finds and stores qualified company prospects automatically.

ICP Qualification

AI scores each lead against your ideal customer profile before spending tokens on outreach.

🌐

Website Intelligence

Scrapes and synthesizes company sites into actionable sales context.

✍️

Personalized Emails

AI generates tailored cold emails that reference specific company context.

👤

Human Review Gate

Mandatory review checkpoint — no email is ever sent without human approval.

📬

Follow-Up Sequences

Day-based automated follow-up generation (Day 0, 3, 7) without manual scheduling.

📨

Reply Classification

AI reads and categorizes incoming replies into actionable intent buckets.

📈

Campaign Analytics

Pipeline performance, open rates, and conversion data in real-time dashboard.

Workflow Pipeline

Step-by-Step System Flow

01

Lead Discovery

Apify scraper finds companies matching target criteria and populates Supabase lead store.

02

ICP Qualification

AI qualification module scores each lead against ideal customer profile criteria.

03

Website Analysis

Company website is scraped and analyzed to extract key sales vectors and pain points.

04

Email Generation

Personalized first-touch email drafted based on website analysis and prospect persona.

05

Human Review

All generated emails shown to human reviewer before any outreach is sent.

06

Outreach Dispatch

Approved emails sent via email API. Campaign tracking begins.

07

Follow-Up Sequences

Day 0, Day 3, Day 7 follow-up emails generated and dispatched automatically.

08

Reply Classification

Incoming replies analyzed and categorized: Interested, Not Now, Not Interested, Unclear.

09

Campaign Analytics

Pipeline metrics, conversion rates, and recommendations displayed in dashboard.

Interface & Dashboard

Alpha Lead Engine Interface

Analytics Dashboard

Conversation View

Engineering Challenges

Hard Problems Solved

The Problem

Generic cold emails get ignored. But writing truly personalized emails for hundreds of prospects manually is not viable.

Engineering Solution

Built a two-step pipeline: first scrape and vectorize the company website, then use that context as RAG input to the email generation module. Every email references something real about the specific company.

Results & Evaluation

What Was Achieved

6
AI Modules
Single-responsibility, independently replaceable
100%
Human Review
Before any email is dispatched
Day 0→7
Follow-Up Automation
Personalized sequence generation
Live
Production Deployment
Active campaign management

Future Roadmap

What's Next

LinkedIn outreach integration
Enriched data sources (Apollo, Clay)
A/B email testing framework
AI call scheduling
CRM bi-directional sync
Multi-channel sequences
Team collaboration workspace

7 planned features · Active development