Headless WhatsApp PDF dispatches & Real-Time app Alerts
Automated Message Gateway
Keep company operations aligned. Dispatch in-app notification alerts and schedule automated WhatsApp notifications containing PDFs and check-in reminders.
Automate Client WhatsApp PDF Alerts
Ditch paper mailings, manual invoice PDF attachments, and missing attendance reports.
Core Messaging Modules
A secured headless engine routing invoice files, transaction logs, and real-time app notification trays.
WhatsApp Headless Browser
whatsapp-web.js utilizes Puppeteer instances to authenticate numbers with QR base64 codes.
60s QR Watchdog
Automatically shuts down connection queues if scan triggers aren't verified, protecting server RAM.
Automatic PDF Attachments
Generates invoice media buffers and dispatches WhatsApp alerts to targets dynamically.
In-App Event Alerts
Real-time Notification persistent model saves events scoped by types (Leaves, MRR, Bids).
Windows File-Lock Wrapper
Ignores directory deletion blocks in Puppeteer LocalAuth strategies, preventing server crashes.
Outbound Status Auditing
Records transaction IDs and delivery indicators (Sent, Read) in MongoDB history models.
WhatsApp Headless Client
Scan QR codes to map company lines. Watchdog automatic timeouts shut down headless browser RAM.
Headless Controller
Session QR Code & Progress Logs
PDF Outbound Message Dispatch
Generate temporary passcoded sharing links, format number outputs, and dispatch automated alerts.
WhatsApp Message Dispatches
Message Delivery History Logs
In-App Persistent Notifications
Track and review persistent events, sorted by category. Pushing events triggers live WebSocket alerts.
Database Notification Records
EMP-101 Rahul Sharma logged a new MRR for diamond rough lot #442.
Vikram Singh requested Casual Leave. Assigned handover duties to you.
Vendor Acme Diamonds submitted a proposal of ₹12,400 for RFQ-901.
Alert Event Trigger
"Triggering system events (like submitting bids) instantly saves records in bulk and emits `new_notification` events to client socket rooms."
Built For Your Industry
Auto-dispatch quality parameters, material logs, or thermal alerts straight to staff phone screens.
Casting run progress alerts are automatically sent to shift managers' WhatsApp numbers when quality tests complete.
Instantly push in-app alert notifications to vault manager trays when diamond vault handovers require signatures.
Crucible temperature warnings are pushed to operators' app screens via real-time WebSocket events.
Automatically dispatch passcoded PDF invoices to client WhatsApp numbers when warehouse cargo is marked as ready.
Dispatch WhatsApp invoices and loyalty vouchers directly to cashiers' mobile screens on transaction finalize.
Fire high-priority SMS/App warning triggers if chemical storage vault pressure gauges violate safety thresholds.
Instantly alert ward nurses if medical patient chart checks or clinical audits are outstanding.
Broadcast WhatsApp blueprint revisions and safety alerts to site crew supervisors immediately.
Module FAQs
Can we track if a WhatsApp message failed?↓
Yes, the system logs response payloads and delivery statuses (Sent, Delivered, Failed) in a diagnostic history log.
How does the QR watchdog timer prevent server memory leaks?↓
When a QR code request initiates, the gateway starts a 60-second watchdog timer. If Puppeteer remains unauthenticated after 60s, the connection is aborted, closing the browser context and purging memory buffers.
How does the system resolve Windows EBUSY directory file-lock crashes?↓
The cleanup utility wraps 'fs.rmSync' commands in a try-catch retry logic. If files are locked by active Puppeteer threads, the system logs a non-blocking warning and ignores the deletion failure.
Are the PDF sharing links sent via WhatsApp secure?↓
Yes. Invoices and purchase orders are stored in private cloud buckets. The gateway generates temporary presigned URLs matching a 15-minute expiration window to block unauthorized exposure.
How does the persistent tray categorize in-app notifications?↓
Each notification record maintains a 'type' field (mrr, leave, bid). The UI leverages state hook arrays to dynamically filter records at the query level.
Does the WhatsApp gateway support delivery and read receipts?↓
Yes. The gateway checks receipt events sent by the headless browser. If the recipient has read receipts enabled, the system updates the log status from 'Sent' to 'Read'.
