Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intelligent AI Lead Intelligence & Qualification Platform

Intelligent AI Lead Intelligence & Qualification Platform

Python Flask n8n Ollama SQLite Chart.js HTML5 CSS3 JavaScript Git GitHub

Project Overview

The Intelligent AI Lead Intelligence & Qualification Platform is a complete end-to-end AI Automation solution developed during AI Automation Engineering learning journey.

The platform simulates how modern AI Automation consultancies receive, analyze, prioritize, and manage incoming business leads through an intelligent workflow.

Instead of relying on manual lead management, the platform automates the complete business pipeline—from customer submission to AI-powered analysis, database storage, reporting, and business intelligence.

The solution integrates multiple technologies into one production-style automation system including:

  • Professional Lead Submission Portal
  • Flask REST API
  • n8n Workflow Automation
  • AI Research using Ollama (Llama 3.2)
  • SQLite Database
  • Business Analytics Dashboard
  • Automated Email Notifications
  • Workflow Reporting
  • Activity Tracking

The project was designed with a modular architecture so that additional business services can be integrated with minimal changes in the future.

Key Features

Professional Lead Submission Portal

  • Production-style business lead submission interface
  • Responsive modern UI
  • Professional SaaS-inspired design
  • Automatic workflow triggering

AI-Powered Lead Intelligence

  • AI-generated lead summary
  • Business opportunity analysis
  • Lead quality assessment
  • AI recommendations
  • AI processing status tracking

Intelligent Workflow Automation

  • Production n8n workflow
  • Automated lead validation
  • Lead categorization
  • Priority assignment
  • Business workflow orchestration

SQLite Business Database

  • Lead storage
  • AI output storage
  • Workflow tracking
  • Duplicate lead prevention
  • Historical business records

Business Intelligence Dashboard

  • Live business metrics
  • Dashboard cards
  • Interactive charts
  • Latest leads table
  • Reporting module

Automated Email Notifications

  • Customer confirmation email
  • Internal team notification
  • Dynamic email generation
  • Professional email templates

Business Reporting

  • Lead Summary
  • Category Analytics
  • Priority Analytics
  • Workflow Metrics
  • Activity History

Technology Stack

Technology Purpose
Python 3.13 Backend Development
Flask REST API & Web Application
n8n Workflow Automation Engine
Ollama (Llama 3.2) AI Lead Analysis
SQLite Business Database
HTML5 Frontend Interface
CSS3 Responsive Styling
JavaScript Dashboard Interactivity
Chart.js Business Analytics
REST API Communication Layer

System Architecture

Project Workflow

1️⃣ Workflow Initialization

Initial production workflow before execution.

2️⃣ Lead Submission Portal

Professional web-based business lead submission interface.

3️⃣ AI Processing Screen

Animated processing page displayed while the workflow executes.

4️⃣ Submission Success

Confirmation page displaying the Lead ID and submission details.

5️⃣ Complete n8n Workflow

Complete production automation workflow developed in n8n.

6️⃣ AI Research Agent

AI-powered business analysis using Ollama Llama 3.2.

7️⃣ SQLite Database

Persistent storage of processed business leads.

8️⃣ Business Dashboard

Interactive dashboard displaying business KPIs.

9️⃣ Latest Leads

Latest processed leads displayed inside the dashboard.

🔟 Business Analytics

Charts visualizing lead distribution and business insights.

1️⃣1️⃣ Reporting Module

Business reports generated from stored lead data.

1️⃣2️⃣ Team Notification

Automated internal email notification sent to the business team.

1️⃣3️⃣ Customer Confirmation

Professional confirmation email automatically sent to the customer.

Successful Workflow Execution

Final successful execution of the complete AI Automation Pipeline.

Installation Guide

1. Clone the Repository

git clone https://github.com/your-username/intelligent-ai-lead-intelligence-platform.git
cd intelligent-ai-lead-intelligence-platform

2. Create a Virtual Environment

python -m venv venv

3. Activate the Virtual Environment

Windows

venv\Scripts\activate

Linux / macOS

source venv/bin/activate

4. Install Dependencies

pip install -r api/requirements.txt

5. Start Ollama

ollama serve

Ensure the Llama 3.2 model is installed:

ollama run llama3.2

6. Start the Flask Application

cd api
python app.py

The application will be available at:

http://localhost:5000

7. Start n8n

n8n start

Import the provided workflow and activate it.

8. Access the Application

Lead Submission Portal

http://localhost:5000

Business Dashboard

http://localhost:5000/dashboard

Workflow Explanation

The project follows a complete end-to-end business automation pipeline.

Customer
   │
   ▼
Lead Submission Portal
   │
   ▼
Processing Screen
   │
   ▼
Flask REST API
   │
   ▼
Production n8n Webhook
   │
   ▼
Data Refinement
   │
   ▼
Validation
   │
   ▼
Lead Categorization
   │
   ▼
Priority Assignment
   │
   ▼
AI Research Agent
   │
   ▼
AI Lead Profile
   │
   ▼
Merge AI Results
   │
   ▼
Prepare AI Record
   │
   ▼
SQLite Database
   │
   ├──────────────► Team Notification
   │
   ├──────────────► Customer Confirmation
   │
   ▼
Business Reports
   │
   ▼
Business Intelligence Dashboard

Every processed lead follows the same standardized execution path, ensuring consistent AI analysis, secure storage, reporting, and notification.


Author

Abdul Qadeer

Cloud Practitioner | AI Automation Engineering Learner | Cloud Security Enthusiast

Connect with me on LinkedIn to follow my AI Automation Engineering learning journey and future projects.

This project was developed as part of my AI Automation Engineering learning journey with the objective of gaining practical experience in building production-style automation systems.


⭐ If you found this project useful, consider giving it a Star!

Built with ❤️ as part of my AI Automation Engineering Portfolio

About

AI-powered Lead Intelligence & Qualification Platform built using Flask, n8n, Ollama, SQLite, and Business Intelligence Dashboard.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages