Connect WA Session
Open WA Settings
Go to Settings → WhatsApp.
Scan QR Code
Click Scan QR and scan the QR code with the WhatsApp number you want to use.
Confirm Connection
Once connected, the status will show Connected with the phone number.
Use a dedicated WA number for sending notifications. Using a personal number may lead to rate limiting or bans if too many messages are sent.
Message Templates
Four templates are configurable:
| Template | When Sent |
|---|---|
| Invoice | When a new invoice is generated |
| Due Reminder | N days before invoice due date |
| Overdue Reminder | On the due date (if unpaid) |
| Payment Confirmation | When payment is received |
Each template supports variables: {client_name}, {phone}, {period}, {amount}, {due_date}, {company_name}, {invoice_url}.
Session Management
WA sessions are stored in the database. If the session disconnects, reconnect by scanning the QR code again. The session will persist across server restarts.