This project helps to send bluk whatsapp messages without saving in contacts. Simply put contact numbers into EXCEL sheet, then run this scripts accordingly to your need.
GUI of this same script can be found in release v1.4 : Download from here
Exported CSV will be present in the same folder where this software is located.
This is only for educational purposes, there are WhatsApp Business APIs available for the same purpose.
- for script to run please install this packages using the commands given here
- python is required to run below commands and the software itself so install it before using this script
1. Python 3.8: Download it from https://www.python.org/downloads
2. Chrome : Download it from https://chrome.google.com
pip install pandas
pip install xlrd
pip install selenium
pip install webdriver_manager
pip install openpyxl
pip install pysimplegui
- clone project using below command
git clone https://github.com/DarshanParbadiya/WhatsApp-Automation-Bulk-Messages-Sender.git
- Run this command using CMD from the same directory where this script is located
python whatsapp_helper.py
- Use open Whatsapp button to open chrome tab and scan QR code
- this step is only required once then you can load multiple excel file and send all the message again and again. No need to scan QR for next Excel file.
- After doing above step send message button becomes available.
- Load the Excel file and image accodingly.
- Choose type of message to be sent and click on send.
- This also opens debugger window to show which steps are being performed by the software.
- at the end of the script status of the message will be available in status section.
change this values accordingly when whatsappweb html tags and classes gets changed.
If whatsapp web is working slow and shows loading chat in your computer then change initial wait
Install using cmd which can be opend by searching in start button of windows.
You only have to change this, because with updates whatsapp may change it's UI.
attachment_button = WebDriverWait(driver, 35).until(EC.element_to_be_clickable((By.XPATH, "//span[@data-testid='clip']")))
in above's code change (By.XPATH, 'new whatsapp attributes') for this you need to know little bit of HTML.
follow official documentation to change syntax if it changes in the future.
If you have any feedback, please reach out to us at [email protected]
- Sending bulk messages
- Sending same or different message choice
- No need to save contacts before sending messaages
- Sending images with or without text.
- Cross platform
I'm a full stack developer...