29. Data Flow: Notifikasi & Reminder
Alur notifikasi multi-channel — dari template sampai terkirim via WA/Email/SMS.
Alur: Buat Template (variabel) → Event trigger (service ready/payment/reminder) → Queue (notification_queue) → Scheduler proses tiap 5 menit → Kirim WA/Email/SMS → Log
- Buat Notification Template dengan variabel ({customer_name}, {plate}, {next_service_date}).
- Event memicu notifikasi: service ready, invoice dibuat, reminder service, approval estimasi.
- Notifikasi masuk queue → diproses scheduler tiap 5 menit.
- Kirim via WhatsApp / Email / SMS sesuai channel template.
- Semua tercatat di Notification Log (status sent/failed).
/admin/notification-templates
Template notifikasi multi-channel.
/admin/reminders
Reminder service otomatis — H-7, H-3, H-1.