A Node.js utility for scheduled and batch WhatsApp message delivery with attachment support, retry handling, and progress persistence.
- Batch Messaging: Dispatch templated text and media messages to targeted contact lists.
- Media Attachment Support: Attach promotional posters, images, or documents to automated dispatches.
- Progress Persistence: Tracks delivered and pending contacts in
progress.jsonto enable pause and resume. - Rate-Limiting & Delays: Configurable intervals between dispatches to respect rate limits.
- Runtime: Node.js (ES Modules)
- Engine: WhatsApp Web automation & browser sessions
- Storage: JSON state management
- Node.js 18+
- pnpm or npm
git clone https://github.com/devsanthoshmk/WA-automation.git
cd WA-automation
pnpm install- Place target contacts and message templates in
messages.json. - Configure attachments (e.g.,
poster.jpg) if sending media.
node main.jsMIT