Skip to content

Harshsharma836/-LeadMind-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 LeadMind AI

🚀 Overview

LeadMind AI is a backend service that scores leads using rule-based logic + AI reasoning (Groq API). Upload offers and CSV leads → get smart intent predictions (High / Medium / Low) with reasoning.

⚙️ Setup

Create .env file:

PORT=8000
GROQ_API_KEY=your_groq_api_key_here

Run:

npm start


📤 APIs

POST /api/offer Create offer

{
  "name": "AI Outreach Automation",
  "value_props": ["24/7 outreach", "6x more meetings"],
  "ideal_use_cases": ["B2B SaaS mid-market"]
}

POST /api/leads/upload Upload CSV with strict columns: name,role,company,industry,location,linkedin_bio

POST /api/score/offer/:offerId Score leads for a specific offer Example: /api/score/offer/13

GET /api/score/scores Get all scored leads

GET /api/score/export Get all scores in CSV


🧮 Scoring Logic

  • Rule Layer (50 pts) → role, industry, data completeness
  • AI Layer (50 pts) → intent classification (High=50, Medium=30, Low=10)
  • Final Score = rule_score + ai_points

🧠 AI Key

Get key: Groq Console


📬 Postman Collection

View Collection


Screenshots of API calls and Responses.

Screenshot 2025-10-30 145710
Screenshot 2025-10-30 145728
Screenshot 2025-10-30 145753
Screenshot 2025-10-30 145828

👨‍💻 Author

Harsh Sharma LinkedInGitHub


About

LeadMind AI is a backend service that scores leads using rule-based logics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors