Rashid Ali
RASHID ALI
RashidBuilds
AI Lead Gen Automation
Back to Work Archive
ROLEBackend & AI Engineer
SERVICES / AREAS
Python & FastAPIWeb ScrapingLLM APIsWorkflow Automation

AI Lead Gen Automation

© 2025
(Scroll down)
(Overview)

An automated prospecting workflow that gathers public business leads, audits their websites for technical and UX issues, and generates personalized outreach email drafts using LLM APIs.

Engineered to replace manual site inspection and repetitive copywriting with a structured, automated audit pipeline built on Python, FastAPI, and Next.js.

Next.jsPythonFastAPILLM APIsWeb ScrapingRedis
Sections

Project Overview

Traditional outbound marketing for digital agencies requires hours of manual work: researching prospects, inspecting websites for errors, and drafting individualized messages. This automation platform coordinates scraping, site evaluation, and language model generation into an integrated workflow.

Project Overview
Fig 01 // Automated Website Audit Pipeline and Lead Intelligence

The Prospecting Bottleneck

Outreach emails that rely on generic templates produce poor response rates, but manually evaluating dozens of business websites each day is prohibitively slow for lean sales teams.

KEY HIGHLIGHTS & SPECIFICATIONS
  • Manual website audits took 15 to 25 minutes per prospective business.
  • Generic template emails failed to articulate specific value to business owners.
  • Sales engineers needed structured audit summaries ready for immediate review before outreach.

Key Capabilities

The pipeline coordinates multi-stage data gathering with strict verification rules.

KEY HIGHLIGHTS & SPECIFICATIONS
  • Business lead collection: Automated scraping of public business registries and company domains.
  • Automated website auditing: Evaluates page response times, mobile viewport issues, missing SEO tags, and broken assets.
  • AI-assisted analysis: Formats audit findings into structured JSON payloads for language model consumption.
  • Personalized email generation: Prompts LLMs to draft tailored outreach emails focused strictly on issues verified by the audit.
  • End-to-end workflow automation: Background task processing orchestrates scraping, auditing, and drafting without UI blocking.

My Role & Technical Contribution

I designed and implemented the backend extraction engine in Python and FastAPI, authored the LLM prompt templates with JSON schema constraints, and created the Next.js review interface.

KEY HIGHLIGHTS & SPECIFICATIONS
  • Built resilient Python scrapers with rate limiting, user-agent rotation, and error recovery.
  • Engineered website audit analyzers checking Core Web Vitals indicators and markup semantics.
  • Constructed structured LLM prompts that strictly forbid hallucinating non-existent website flaws.
  • Built a Next.js dashboard allowing account executives to approve or edit email drafts.

Engineering Decisions

To maintain credibility in generated outreach, the system uses strict ground-truth prompting: the language model only receives verified issues returned by the audit script. If no tangible technical flaws are found on a website, the draft pivots to a general introductory format rather than fabricating problems.

DELIVERABLES & TECHNICAL METRICS
Backend Core

Python / FastAPI

AI Integration

Structured LLM APIs

Audit Engine

Multi-Point Analyzer

Frontend

Next.js

Python / FastAPI Asynchronous Scraping Service
Automated Technical Website Audit Analyzer
Structured LLM Email Generation Pipeline
Next.js Lead Review & Batch Management Portal

READY TO MOVE SMARTER?

We are here to help you grow without hassle.
No call centres. No runaround. Just experienced people ready to help.