Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

  • 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

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

  • clone project using below command
  git clone https://github.com/DarshanParbadiya/WhatsApp-Automation-Bulk-Messages-Sender.git

3. Running the script

  • Run this command using CMD from the same directory where this script is located
  python whatsapp_helper.py

4. Instructions to use

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

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

  • 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

πŸš€ About Me

I'm a full stack developer...

About

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages