{"id":14964676,"url":"https://github.com/kaymen99/ai-sales-agent","last_synced_at":"2025-10-25T08:30:18.673Z","repository":{"id":250481520,"uuid":"834583814","full_name":"kaymen99/AI-Sales-agent","owner":"kaymen99","description":"Automate customer engagement and sales processes with an AI sales agent that can recommend products, book consultation and process stripe payment.","archived":false,"fork":false,"pushed_at":"2024-08-10T14:39:23.000Z","size":46,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-10T18:04:15.995Z","etag":null,"topics":["ai-agents","calendly","groq","instructor","langfuse","litellm","llama3","rag","sales-agent","sales-automation","stripe","website-chatbot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaymen99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-27T17:59:20.000Z","updated_at":"2024-09-25T12:31:48.000Z","dependencies_parsed_at":"2024-08-09T18:24:55.963Z","dependency_job_id":"8a42f2dd-e113-4235-9e6f-5907c86d25c4","html_url":"https://github.com/kaymen99/AI-Sales-agent","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.08333333333333337,"last_synced_commit":"14b75feefd0e9b8b22d78b8adfa5fc59a82d3617"},"previous_names":["kaymen99/ai-sales-agent"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaymen99%2FAI-Sales-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaymen99%2FAI-Sales-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaymen99%2FAI-Sales-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaymen99%2FAI-Sales-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaymen99","download_url":"https://codeload.github.com/kaymen99/AI-Sales-agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219866281,"owners_count":16555908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","calendly","groq","instructor","langfuse","litellm","llama3","rag","sales-agent","sales-automation","stripe","website-chatbot"],"created_at":"2024-09-24T13:33:36.933Z","updated_at":"2025-10-25T08:30:18.359Z","avatar_url":"https://github.com/kaymen99.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nTitle: AI Sales Agent for Computer Equipment Ecommerce | Automated Customer Engagement \u0026 Sales\nDescription: Enhance your computer equipment Ecommerce with an AI sales agent. Automate customer engagement, product recommendations, consultation scheduling, and Stripe payment facilitation.\nKeywords: AI Sales Agent, Ecommerce, Customer Support and assistance, Product Recommendations, Consultation Scheduling, Stripe Payments, AI Automated Sales, Python, AI Agents, AI Tools, Calendly Integration.\nAuthor: kaymen99\n--\u003e\n\n\u003cmeta name=\"title\" content=\"AI Sales Agent for Computer Equipment Ecommerce Store | AI Automated Customer Sales\"\u003e\n\u003cmeta name=\"description\" content=\"Enhance your Ecommerce store with an AI sales agent. Automate customer assistance and support, product recommendations, Calendly consultation scheduling, and Stripe payment facilitation.\"\u003e\n\u003cmeta name=\"keywords\" content=\"AI Sales Agent, Ecommerce, Customer Support and assistance, Product Recommendations, Consultation Scheduling, Stripe Payments, AI Automated Sales, Python, AI Agents, AI Tools, Calendly Integration\"\u003e\n\u003cmeta name=\"author\" content=\"kaymen99\"\u003e\n\n# AI Sales Agent\n\nI 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**.\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/c59e4b71-fd5f-4713-9097-0c076e54afa2\" alt=\"AI Sales agent flowchart\"\u003e\n\u003c/p\u003e\n\n## Features\n\n- **Customer Engagement**: Interact with customers in a friendly and professional manner, offering accurate information about products and services.\n- **Product Recommendations**: Provide personalized product suggestions based on customer needs and preferences.\n- **Consultation Scheduling**: Schedule consultations with tech experts for complex inquiries.\n- **Purchase Facilitation**: Facilitate payments with Stripe by generating payment links for customers ready to buy, ensuring a smooth transaction process.\n\n### Agent Tools\n\n- **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`.\n- **get_product_recommendation**: Uses an expert product recommendation agent to find the best products the store can offer based on customer requirements.\n- **generate_calendly_invitation_link**: Provide a link for scheduling a consultation with a tech expert through Calendly.\n- **generate_stripe_payment_link**: Create a Stripe payment link for customer purchases.\n\n## How to Run\n\n### Prerequisites\n\n- Python 3.9+\n- Calendly API key\n- Stripe API key\n- Groq API key\n- Necessary Python libraries (listed in `requirements.txt`)\n\n### Setup\n\n1. **Clone the repository:**\n\n   ```sh\n   git clone https://github.com/kaymen99/ai-sales-agent.git\n   cd ai-sales-agent/website-sale-agent\n   ```\n\n2. **Create and activate a virtual environment:**\n\n   ```sh\n   python -m venv venv\n   source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n   ```\n\n3. **Install the required packages:**\n\n   ```sh\n   pip install -r requirements.txt\n   ```\n\n4. **Set up environment variables:**\n\n   Create a `.env` file in the root directory of the project and add your API keys:\n\n   ```env\n   CALENDLY_API_KEY=your_calendly_api_key\n   CALENDLY_EVENT_TYPE_UUID=your_calendly_event_id\n   STRIPE_API_KEY=your_stripe_api_key\n   GROQ_API_KEY=your_stripe_api_key\n   ```\n\n### Running the Application\n\n1. To run the project, you must first create the products database (unless you have one already) by executing:\n\n   ```sh\n   python create_database.py\n   ```\n\n2. **Then start the Sales bot by running:**\n\n   ```sh\n   python main.py\n   ```\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any changes.\n\n## Contact\n\nIf you have any questions or suggestions, feel free to contact me at `aymenMir1001@gmail.com`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaymen99%2Fai-sales-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaymen99%2Fai-sales-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaymen99%2Fai-sales-agent/lists"}