This Python application allows you to send a template message to multiple WhatsApp chats without requiring the recipients to save your number.
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.
- 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.
This application has been tested using MacOS Sonoma 14.5.
-
Check version of Chrome by typing
chrome://version
in the address bar. -
Go to
https://developer.chrome.com/docs/chromedriver/downloads/version-selection
andhttps://googlechromelabs.github.io/chrome-for-testing/
-
Select the same platform. e.g.
126.0.6478.127 (Official Build) (arm64)
will download the chromedriver mac-arm64 url -
Unzip the file and place in
usr/local/bin
- Create a text file containing the group names and number of people to tag. See example in
testgroup.txt
.
- Open
message.py
. - 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.
- If you wish to include new emojis, add them to the
emoji.py
file. - Verify that the emojis work correctly by testing them in your messages.
- Open
main.py
. - Make necessary changes starting from line 41 to tailor the script to your specific needs.
- 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.