product
Web Push Notifications for Frappe
Rule-based browser push from document events and timed reminders, sent from your own server with no third-party relay.
ERPNext v14ERPNext v15ERPNext v16
Overview
Web Push Notifications gives Frappe its own push channel. Rules decide when and to whom, on document events or on a schedule; the server signs and sends each message with its own VAPID keys, with an optional in-app system notification alongside. Typical rules: nudge the owner of a lead with no update in three days, notify the assignee when a task is created, alert before a contract expires.
8event types
4recipient types
Features
Notification rules
- 8 event types: new, save, submit, cancel, delete, days or minutes before or after
- 4 recipient types: user, role, docfield, all assignees
- Optional Python condition per rule
- No Update Since X Days helper for stale records
Time-based reminders
- Days before or after a date field, minutes before or after a datetime
- Driven by the Frappe scheduler
- Sent reminders clean themselves up
Messages and fallback
- Jinja title and body with the document in scope, for example {{ doc.name }}
- Rich text
- Parallel in-app system notification, configurable per rule
- Lands in the Frappe notification centre when push is unavailable
Subscription, security and setup
- Guided opt-in that walks the user through the browser permission prompt
- Subscription stored per user; users manage their own
- VAPID keys generated and stored in settings; no external relay
- Test notification from the settings page
Technical details
- Tested on
- ERPNext v14, ERPNext v15, ERPNext v16
- Built with
- Python, Frappe v14 to v16, JavaScript, Web Push and VAPID, Jinja, Frappe scheduler
- Type
- product
- Status
- In production
Private code. Contact me for details.
Have something slow, manual, or fragile in production?
Tell me what it is. I reply within two working days, with questions.
Let's connect