Skip to content

Shahril-Iskandar/personal-whatsapp-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsApp Bulk Messaging Application

This Python application allows you to send a template message to multiple WhatsApp chats without requiring the recipients to save your number.

Problem Statement

The existing WhatsApp broadcast feature necessitates that both parties save each other's contact numbers. For businesses with a large clientele, managing this can become cumbersome. This application simplifies the process by enabling administrators to send mass messages effortlessly.

Features

  • Send a template message to multiple recipients.
  • No need for recipients to save the sender's number.
  • Streamlined messaging for businesses with large client bases.

Usage Instructions

This application has been tested using MacOS Sonoma 14.5.

Step 1: Install ChromeDriver

  1. Check version of Chrome by typing chrome://version in the address bar.

  2. Go to https://developer.chrome.com/docs/chromedriver/downloads/version-selection and https://googlechromelabs.github.io/chrome-for-testing/

  3. Select the same platform. e.g. 126.0.6478.127 (Official Build) (arm64) will download the chromedriver mac-arm64 url

  4. Unzip the file and place in usr/local/bin

Step 2: Prepare Your Contact List

  1. Create a text file containing the group names and number of people to tag. See example in testgroup.txt.

Step 3: Customize Your Message

  1. Open message.py.
  2. Edit the file to include any attachment path and your desired message. Each new line in message.py should be a new variable string to form a paragraph.

Step 4: Add New Emojis (Optional)

  1. If you wish to include new emojis, add them to the emoji.py file.
  2. Verify that the emojis work correctly by testing them in your messages.

Step 5: Modify the Main Script

  1. Open main.py.
  2. Make necessary changes starting from line 41 to tailor the script to your specific needs.

Step 6: Run the Application

  1. Execute the main script to send the messages.

Note: To run multiple profiles, use Cmd + Q to quit browser properly in MacOS. Otherwise you will face a chromedriver issue.

About

Python application using Selenium to send the same message to multiple whatsapp groups.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages