Automates sending a personalized message + resume PDF to a list of contacts via WhatsApp Web.
-
Install dependencies
pip install selenium pandas pyautogui pyperclip -
ChromeDriver — make sure your ChromeDriver version matches your Chrome version.
Download from: https://chromedriver.chromium.org/downloads -
Prepare your contacts CSV — save as
clean_contacts.csvin the same folder, no header, two columns:Rahul Sharma,9876932714 Priya Mehta,919873265114 -
Edit the config at the top of
whatsapp_blast.py:RESUME_PATH— full path to your resume PDFCONTACTS_CSV— path to your contacts fileMESSAGE_TEMPLATE— your message ({name}is auto-replaced)
python whatsapp_blast.py
Scan the QR code in the browser window that opens, then press ENTER in the terminal.
- The script runs in incognito mode so you need to scan the QR code each time. To stay logged in, remove the
--incognitoargument. - A random delay of 8–15 seconds is added between each contact to avoid WhatsApp rate limiting your account.
- Invalid numbers (not 10 or 12 digits starting with 91) are automatically skipped.
├── whatsapp_blast.py # Main script
├── clean_contacts.csv # Your contacts list (not committed — see .gitignore)
└── README.md