{"repo":"Whapi-Cloud/python-whatsapp-chatbot","free":true,"listed":false,"github":"https://github.com/Whapi-Cloud/python-whatsapp-chatbot","clone":"git clone https://github.com/Whapi-Cloud/python-whatsapp-chatbot.git","description":"WhatsApp Python Bot. Key features include sending and receiving messages, as well as support for images, files, documents, videos, and product. Group functionality is fully supported — you can create new groups and interact with them programmatically. Additionally, the bot can be integrated with ChatGPT to enable AI-powered conversations","language":"Python","stars":79,"topics":["api","bot","chatbot","cloud","groups","whatsapp","whatsapp-api","whatsapp-automation","whatsapp-bot","whatsappbot"],"license":null,"category":"ai-agents","readme_excerpt":"Python Whatsapp ChatBot A feature-rich WhatsApp bot built with Python and Flask, leveraging the Whapi.Cloud API. This bot supports sending and receiving messages, media, documents, group management, and now includes integration with OpenAI's ChatGPT for AI-powered conversations. Features - Responds to unknown commands with a help message - Send regular text messages - Send images - Send files/documents - Send videos - Send contacts (vCard) - Send product information - Create new groups, invite participants, and send group messages - Receive and process incoming messages - Chat with OpenAI ChatGPT using the /AI command For the bot to work, it is NOT REQUIRED that the phone is turned on or online. Connect your WhatsApp and test the integration comfortably! For support, visit: https://whapi.cloud/features Getting Started Step 1: Install Python and pip 1. Download and install Python from the official website: https://python.org 2. Verify that pip is installed along with Python. Step 2: Install Dependencies Install the necessary libraries listed in requirements.txt: Step 3: Configure the Project Edit the .env file in your project directory. Set up the following configurations: - TOKEN — Your Whapi.Cloud API token - API URL — Your Whapi.Cloud API URL - BOT URL — Your webhook URL (publicly accessible for production) - (Optional) OPENAI API KEY — Your OpenAI API key (for ChatGPT integration) - (Optional) PRODUCT ID , GROUP ID , etc. as needed Step 4: Run the Bot Learn more about conf","default_branch":null,"files":null,"tree":[],"storefront":"/r/Whapi-Cloud","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Whapi-Cloud/python-whatsapp-chatbot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}