This is a WhatsApp chatbot project developed using Node.js. The chatbot provides various functionalities to interact with users and provide information on different topics.
- Interactive menus: Users can navigate through different menus to access information or perform specific actions.
- Dynamic responses: The chatbot provides dynamic responses based on user input and menu selections.
- Integration with Twilio API: The chatbot integrates with the Twilio API to send and receive messages on WhatsApp.
- Data storage: The chatbot retrieves information from JSON data files based on user input.
To use this chatbot, follow these steps:
-
Clone the repository: git clone https://github.com/your-username/whatsapp-chatbot.git
-
Navigate to the project directory: cd whatsapp-chatbot
-
Install the dependencies:
npm init,
npm i whatsapp-web.js,
npm i qrcode-terminal,
node node_modules/puppeteer/install.js -
Start the application: node index.js
-
Scan the QR code:
Open the WhatsApp mobile app on your device.
Go to the "Chats" tab and tap on the three dots in the top-right corner.
Select "WhatsApp Web" and scan the QR code displayed in the terminal.
Once the chatbot is up and running, you can interact with it by sending messages on WhatsApp. The chatbot will provide menu options and respond based on your selections. Follow the prompts and explore the different functionalities.
Contributions to this chatbot project are welcome. Feel free to fork the repository and submit pull requests with your enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for more information.
- This project was inspired by the need for an interactive chatbot on WhatsApp.
- Special thanks to the Twilio API for enabling seamless integration with WhatsApp messaging.