How darshaningalagi/whatsapp_automation works
This is a small Tkinter desktop app for sending personalized WhatsApp messages to pending contacts in an Excel workbook. The primary workflow is: select a workbook and message settings, validate and read pending rows, personalize each message, send it through WhatsApp Web, then write Sent/Failed status back to the workbook. The sampled main module implements workbook handling directly; the separate Excel helper is not imported there. The Chrome profile supports persistent browser state. The graph reflects the sampled Python sources and README; profile internals are treated as stored browser data, not inspected as application code.
Main entry points: main.py GUI and send orchestration · whatsapp_service.py Browser driver and sender · contacts.xlsx Selected contact workbook · chrome_profile Persistent Chrome profile
Components 7
Desktop workflow
- GUI and send orchestration
main.py
Contact workbook
- Excel helper
excel_service.py - Selected contact workbook
contacts.xlsx
WhatsApp automation
- Browser driver and sender
whatsapp_service.py - Persistent Chrome profile
chrome_profile
Other components
- User
- WhatsApp Web
Connections 6
- User → GUI and send orchestration: selects and configures
main.py - GUI and send orchestration → Selected contact workbook: reads contacts
main.py - GUI and send orchestration → Selected contact workbook: writes statuses
main.py - GUI and send orchestration → Browser driver and sender: starts driver; sends
main.py - Browser driver and sender → Persistent Chrome profile: uses session data
whatsapp_service.py - Browser driver and sender → WhatsApp Web: navigates and sends
whatsapp_service.py