Skip to content

Kavya071/AI_Powered_Lead_Generation_Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” AI-Powered Lead Generation Tool

This project was developed as part of the Caprae Capital AI Readiness Challenge by Kavya Bhardwaj.
It is a smart, automated tool to extract structured company data (leads) using a mix of APIs, Regex, and AI models.


πŸš€ What This Tool Does

Given a list of company names, it fetches:

  • 🌐 Official Website (via Serper API)
  • πŸ“§ Emails (via Hunter.io and website scraping fallback)
  • πŸ‘€ CEO Name (via DataForSEO SERP + Hugging Face AI QA model)
  • πŸ”— LinkedIn URL (via Google SERP matching)
  • πŸ’° Revenue Estimates (regex from live SERPs + AI fallback)
  • πŸ‘₯ Employee Estimates (regex logic + Hugging Face fallback)
  • πŸ“ Exports everything to a downloadable .csv

🧠 Technologies Used

Data Field Powered By
Website βœ… Serper API
Emails βœ… Hunter.io API, βœ… Regex (fallback)
CEO Name βœ… DataForSEO API + πŸ€– Hugging Face AI
LinkedIn Profile βœ… DataForSEO API
Revenue βœ… DataForSEO API, Regex, πŸ€– Hugging Face AI
Employees βœ… DataForSEO API, Regex, πŸ€– Hugging Face AI

🧩 Smart Features

  • βœ… Regex + AI fallback pipeline
  • βœ… Fallback email scraping using BeautifulSoup
  • βœ… Range filtering for employees (e.g., 1K–1M)
  • βœ… Currency-aware parsing (USD, INR, Crore)
  • βœ… Retry logic for missing data
  • βœ… Fully exportable CSV

πŸ§ͺ Example Output

Company CEO Revenue Employees
Apple Tim Cook $391.04B ~164,000
Zomato Deepinder Goyal β‚Ή12,114 Cr ~4,000
Google Sundar Pichai $350.02B ~183,000

πŸ“¦ How to Run

  1. Install requirements:
!pip install transformers beautifulsoup4 requests
  1. Paste the code into a Google Colab or local Python script

  2. Run:

companies = ["Apple", "Google", "Zomato"]
results = process_companies(companies)
  1. Export CSV:
import pandas as pd
pd.DataFrame(results).to_csv("lead_results.csv", index=False)

πŸ“§ Contact

Feel free to connect:


Built with πŸ’‘ by Kavya Bhardwaj

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors