Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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.
https://github.com/darshanparbadiya/whatsapp-automation-bulk-messages-images-sender
automation python python-whatsapp python3 selenium whatsapp whatsapp-api whatsapp-automation whatsapp-bot whatsapp-chat whatsapp-sender whatsapp-web whatsappweb
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/darshanparbadiya/whatsapp-automation-bulk-messages-images-sender
- Owner: DarshanParbadiya
- Created: 2023-04-16T12:20:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-29T21:24:33.000Z (12 months ago)
- Last Synced: 2024-10-01T07:41:40.276Z (about 2 months ago)
- Topics: automation, python, python-whatsapp, python3, selenium, whatsapp, whatsapp-api, whatsapp-automation, whatsapp-bot, whatsapp-chat, whatsapp-sender, whatsapp-web, whatsappweb
- Language: Python
- Homepage:
- Size: 103 MB
- Stars: 17
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/DarshanParbadiya/WhatsApp-Automation-Bulk-Messages-Images-Sender/releases/tag/v1.4)
Exported CSV will be present in the same folder where this software is located.
![image](https://github.com/DarshanParbadiya/WhatsApp-Automation-Bulk-Messages-Images-Sender/assets/65885245/8441035d-e0ad-4566-bf89-e81490e6b406)![image](https://github.com/DarshanParbadiya/WhatsApp-Automation-Bulk-Messages-Images-Sender/assets/65885245/049e730a-010c-4429-a73e-72e2102c2db8)
#### Different messages types list : choose one of the options from here.
![image](https://github.com/DarshanParbadiya/WhatsApp-Automation-Bulk-Messages-Images-Sender/assets/65885245/eff83133-1cbc-43ed-abac-2d205dbbe588)### 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](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)
## 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
```bash
pip install pandas
```#### 4. Xlrd : Run in command prompt
```bash
pip install xlrd
```#### 5. Selenium: Run in command prompt
```bash
pip install selenium
```#### 6. Web Driver: Run in command prompt
```bash
pip install webdriver_manager
```#### 7.Openpyxl: Run in command prompt
```bash
pip install openpyxl
```#### 8.pysimplegui: Run in command prompt
```bash
pip install pysimplegui
```## 2. Downloading or clone this project
- clone project using below command
```bash
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
```bash
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](https://github.com/DarshanParbadiya/WhatsApp-Automation-Bulk-Messages-Images-Sender/assets/65885245/1826efad-719a-4fd7-ba22-b7f757a79ca7)
change this values accordingly when whatsappweb html tags and classes gets changed.## Troubleshooting
![image](https://github.com/DarshanParbadiya/WhatsApp-Automation-Bulk-Messages-Images-Sender/assets/65885245/447d3907-3c6e-4de3-b086-64b33f20c580)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.
```bash
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 [email protected]
## 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...