## AI-Lead-Processing | AI-Powered Lead Qualification & Automation
**Project Overview**
Developed an AI-powered lead processing and qualification workflow using n8n, Ollama, and JavaScript to automate lead analysis, assess lead quality, and prioritize potential customers for more efficient follow-up.
**Key Features**
- **AI-Powered Lead Analysis:** Uses an LLM through Ollama to analyze incoming lead information and evaluate its potential value.
- **Automated Lead Prioritization:** Classifies leads into high- and low-priority categories based on AI-generated analysis.
- **Intelligent Workflow Routing:** Implements conditional logic to route leads according to their assigned priority.
- **Real-Time Telegram Notifications:** Sends high-priority lead alerts containing customer information, priority level, reasoning, and a recommended next action.
- **JavaScript-Based Data Processing:** Extracts and structures AI-generated results, including lead quality and priority.
- **Error-Aware Workflow Design:** Organizes the processing steps to support consistent execution and easier troubleshooting.
**Technologies Used**
- n8n — Workflow Automation
- Ollama — Local LLM Inference
- Basic LLM Chain — AI-Powered Text Analysis
- JavaScript — Data Processing and Decision Logic
- Telegram Bot — Automated Notifications
**Testing & Validation**
Successfully tested both high- and low-priority scenarios. High-priority leads triggered Telegram notifications, while low-priority leads were routed to a review path with a `Needs Review` status.
**Business Value**
The workflow demonstrates how AI and automation can reduce manual lead screening, accelerate responses to valuable prospects, and help sales teams organize their follow-up process more efficiently.
**Project Type:** AI Automation | LLM Integration | Lead Qualification | Workflow Engineering