DarshanParbadiya / WhatsApp-Automation-Bulk-Messages-Images-Sender

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.
17 stars 4 forks source link
automation python python-whatsapp python3 selenium whatsapp whatsapp-api whatsapp-automation whatsapp-bot whatsapp-chat whatsapp-sender whatsapp-web whatsappweb

WhatsApp-Automation-Bulk-Messages-Sender

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. image

image

Different messages types list : choose one of the options from here.

image

This project containts script for running above software

Note

This is only for educational purposes, there are WhatsApp Business APIs available for the same purpose.

MIT License

How to Use

1. Install required modules for these scripts to run

1. Python 3.8: Download it from https://www.python.org/downloads

2. Chrome : Download it from https://chrome.google.com

3. Pandas : Run in command prompt

  pip install pandas

4. Xlrd : Run in command prompt

  pip install xlrd

5. Selenium: Run in command prompt

pip install selenium

6. Web Driver: Run in command prompt

  pip install webdriver_manager

7.Openpyxl: Run in command prompt

  pip install openpyxl

8.pysimplegui: Run in command prompt

  pip install pysimplegui

2. Downloading or clone this project

  git clone https://github.com/DarshanParbadiya/WhatsApp-Automation-Bulk-Messages-Sender.git

3. Running the script

  python whatsapp_helper.py

4. Instructions to use

updating the script when whatsapp web interface changes

image change this values accordingly when whatsappweb html tags and classes gets changed.

Troubleshooting

image

If whatsapp web is working slow and shows loading chat in your computer then change initial wait

FAQ

Question 1 How to install dependencies

Install using cmd which can be opend by searching in start button of windows.

Question 2 Scripts are not working now what to do

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.

Question 3 errors due to changes in selenium syntax

follow official documentation to change syntax if it changes in the future.

Feedback

If you have any feedback, please reach out to us at darshanparbadiya@gmail.com

Features

🚀 About Me

I'm a full stack developer...