Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaymen99/ai-sales-agent
Automate customer engagement and sales processes with an AI sales agent that can recommend products, book consultation and process stripe payment.
https://github.com/kaymen99/ai-sales-agent
ai-agents calendly groq instructor langfuse litellm llama3 rag sales-agent sales-automation stripe website-chatbot
Last synced: 25 days ago
JSON representation
Automate customer engagement and sales processes with an AI sales agent that can recommend products, book consultation and process stripe payment.
- Host: GitHub
- URL: https://github.com/kaymen99/ai-sales-agent
- Owner: kaymen99
- Created: 2024-07-27T17:59:20.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-10T14:39:23.000Z (3 months ago)
- Last Synced: 2024-10-10T18:04:15.995Z (25 days ago)
- Topics: ai-agents, calendly, groq, instructor, langfuse, litellm, llama3, rag, sales-agent, sales-automation, stripe, website-chatbot
- Language: Python
- Homepage:
- Size: 44.9 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI Sales Agent
I built an AI sales agent for a computer equipement Ecommerce website, the agent will streamline the customer engagement and sales processes, by automating the process of providing **product recommendations**, **answering customers enquires**, **scheduling consultations**, and facilitating **purchases through Stripe**.
## Features
- **Customer Engagement**: Interact with customers in a friendly and professional manner, offering accurate information about products and services.
- **Product Recommendations**: Provide personalized product suggestions based on customer needs and preferences.
- **Consultation Scheduling**: Schedule consultations with tech experts for complex inquiries.
- **Purchase Facilitation**: Facilitate payments with Stripe by generating payment links for customers ready to buy, ensuring a smooth transaction process.### Agent Tools
- **get_store_info**: This leverages RAG search to retrieve general information about the TechNerds business, services, and products. All informations are retrieved from the docs `files/Docs.txt`.
- **get_product_recommendation**: Uses an expert product recommendation agent to find the best products the store can offer based on customer requirements.
- **generate_calendly_invitation_link**: Provide a link for scheduling a consultation with a tech expert through Calendly.
- **generate_stripe_payment_link**: Create a Stripe payment link for customer purchases.## How to Run
### Prerequisites
- Python 3.9+
- Calendly API key
- Stripe API key
- Groq API key
- Necessary Python libraries (listed in `requirements.txt`)### Setup
1. **Clone the repository:**
```sh
git clone https://github.com/kaymen99/ai-sales-agent.git
cd ai-sales-agent/website-sale-agent
```2. **Create and activate a virtual environment:**
```sh
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```3. **Install the required packages:**
```sh
pip install -r requirements.txt
```4. **Set up environment variables:**
Create a `.env` file in the root directory of the project and add your API keys:
```env
CALENDLY_API_KEY=your_calendly_api_key
CALENDLY_EVENT_TYPE_UUID=your_calendly_event_id
STRIPE_API_KEY=your_stripe_api_key
GROQ_API_KEY=your_stripe_api_key
```### Running the Application
1. To run the project, you must first create the products database (unless you have one already) by executing:
```sh
python create_database.py
```2. **Then start the Sales bot by running:**
```sh
python main.py
```## Contributing
Contributions are welcome! Please open an issue or submit a pull request for any changes.
## Contact
If you have any questions or suggestions, feel free to contact me at `[email protected]`.