An open API service indexing awesome lists of open source software.

https://github.com/alihassanml/lead-qualification-agent

An AI-powered lead qualification and appointment booking agent built with a frontend interface. It guides leads through qualification steps using natural human-like conversation and books meetings directly on GoHighLevel (GHL).
https://github.com/alihassanml/lead-qualification-agent

booking lead n8n qualification

Last synced: about 2 months ago
JSON representation

An AI-powered lead qualification and appointment booking agent built with a frontend interface. It guides leads through qualification steps using natural human-like conversation and books meetings directly on GoHighLevel (GHL).

Awesome Lists containing this project

README

          

# 🤖 Lead Qualification Agent

![Lead Qualification Agent](image.png)

An AI-powered lead qualification and appointment booking agent built with a frontend interface. It guides leads through qualification steps using natural human-like conversation and books meetings directly on **GoHighLevel (GHL)**.

---

## 🚀 Features

- ✨ Natural LLM-based lead interaction
- 🎯 Qualification logic via FSM (Finite State Machine)
- 🧠 Memory-enabled conversation flow
- 📆 Meeting booking integration with GoHighLevel
- 🧩 Frontend for user interaction
- 📊 Lead intent tagging and dynamic flow adaptation

---

## 🖼️ Demo Screenshot

> Add your actual screenshot or screen recording (replace link)

![Demo](https://your-image-url.com/demo.gif)

---

## 🛠️ Tech Stack

| Layer | Tech Used |
|-------------|--------------------------------|
| Frontend | React / Next.js |
| Backend | FastAPI / Flask / Node.js |
| AI Core | OpenAI GPT-4 / LangChain |
| Flow Engine | FSM with Intent Tagging |
| Booking | GoHighLevel API |
| Hosting | Vercel / Render / Railway |

---

## ⚙️ Setup Instructions

### 1. Clone the repo

```bash
git clone https://github.com/alihassanml/Lead-Qualification-Agent.git
cd Lead-Qualification-Agent
````

### 2. Set up environment variables

Create a `.env` file:

```env
OPENAI_API_KEY=your_openai_key
GHL_API_KEY=your_ghl_key
GHL_LOCATION_ID=your_location_id
```

### 3. Install dependencies

For backend:

```bash
cd backend
pip install -r requirements.txt
```

For frontend:

```bash
cd frontend
npm install
```

### 4. Run the app

```bash
# Run backend
cd backend
uvicorn main:app --reload

# Run frontend
cd frontend
npm run dev
```

---

## 📅 Booking Integration (GHL)

Meeting booking is handled by sending lead data to GoHighLevel using the GHL API. Make sure you have:

* Created a calendar inside GHL
* Set the correct `GHL_LOCATION_ID` and `GHL_API_KEY`
* Confirmed availability is configured correctly

---

## 📁 Folder Structure

```
Lead-Qualification-Agent/

├── backend/ # API + AI logic
│ └── main.py
├── frontend/ # React UI
│ └── components/

├── utils/ # FSM, memory, flow logic
├── .env.example
└── README.md
```

---

## 📬 Contact

Built with 💻 by [Ali Hassan](https://github.com/alihassanml)
For issues or enhancements, please open a pull request or issue.

---

## 📜 License

MIT License