How heruahmadsidik/maxchat-comcen works
Maxchat Command Center is an internal PLN UP2D Banten application for WhatsApp broadcasts and two-way conversation management. The main workflow is: an operator logs in, uses the in-file web interface to manage templates and send broadcasts through the server to Maxchat, then handles customer replies and delivery updates received by webhook. The server stores conversation and contact state in SQLite and provides dashboard, export, and backup capabilities. The README describes several subsystems whose implementation is not visible in the excerpts; those links are documented relationships, not claims about inspected source details.
Main entry points: app.js Web interface
Components 16
Access & Settings
- Web interface
app.js - Login & settings
app.js
Messaging
- Template manager
app.js - Broadcast
app.js - Webhook sync
app.js
Contacts & Chat
- Two-way chat
app.js - Contact manager
app.js - Quick replies
app.js - Contact & history search
app.js
Insights & Storage
- Dashboard & reports
app.js - XLSX / CSV exports
app.js - History management
app.js - SQLite history & contacts
app.js - Database backup
app.js
Other components
- Operator
- Maxchat API
Connections 21
- Operator → Web interface: uses
README.md - Web interface → Login & settings: logs in
README.md - Web interface → Template manager: manages templates
README.md - Web interface → Broadcast: starts broadcast
README.md - Broadcast → Maxchat API: sends messages
README.md - Maxchat API → Webhook sync: posts updates
README.md - Webhook sync → SQLite history & contacts: stores updates
README.md - Web interface → Two-way chat: handles replies
README.md - Two-way chat → Maxchat API: sends replies
README.md - Web interface → Contact manager: manages contacts
README.md - Web interface → Quick replies: manages replies
README.md - Web interface → Contact & history search: searches history
README.md - Contact & history search → SQLite history & contacts: queries index
README.md - Web interface → Dashboard & reports: views reports
README.md - Dashboard & reports → SQLite history & contacts: reads records
README.md - Web interface → XLSX / CSV exports: exports data
README.md - XLSX / CSV exports → SQLite history & contacts: reads records
README.md - Web interface → History management: manages history
README.md - History management → SQLite history & contacts: deletes records
README.md - Web interface → Database backup: requests backup
README.md - Database backup → SQLite history & contacts: backs up
README.md