I’m working on a Frappe application and would like to enhance the user notification experience.
Currently, when a user is:
Assigned a document
Mentioned in a comment (@user)
Assigned a ToDo
Receives a Workflow Action
the notification is visible only in the notification bell (and email if configured). However, I’d like users to receive a browser desktop popup notification and optionally a sound alert while they are actively using Frappe.
My goal is to have functionality similar to applications like Slack or Microsoft Teams, where users immediately see a browser notification (after granting browser permission) instead of having to keep checking the notification bell.
Has anyone implemented something similar?
Specifically, I’d like to know:
Is there any built-in support for browser notifications in Frappe?
Can this be achieved using frappe.publish_realtime() or another real-time event?
Is there a recommended way to integrate the browser’s Notification API with Frappe?
Has anyone created a custom app or client script for this feature that they can share?
Any suggestions, implementation examples, or best practices would be greatly appreciated.
Hi @asieftejani, Thank you for your reply I tried doing this using client script but client script runs on a doctype and there is no doctype for these ‘bell notifications’.
Coming soon on erpdesktop.com. On it, you get native and rich desktop popup notifications. its free btw. and zkteco integration is almost live on its marketplace.