On this page
Choose notification batching
Choose browser alerts and batching for different notification intents.
Before you begin: Group related notifications.
Manual payment review alerts
Every site also includes a built-in Manual payment reviews channel. Frontbacked sends an immediate alert when a customer submits proof for a manual payment method. The notification links directly to the payment review screen so an admin can verify the proof and confirm or reject the payment. The channel key is system.payment_reviews; it is reserved and cannot be declared or called from a theme.
Browser alerts
Admins can enable browser alerts from the dashboard navbar or Messages. Dashboard home and Messages also show an invitation: “Enable browser alerts so you know when someone messages your site.” If your browser already allows notifications and you have no saved alert preference, alerts are enabled automatically when the dashboard loads. An explicit pause is preserved, and the navbar control stays available. Choose Enable alerts to open the browser permission prompt. On Dashboard home, the invitation stays visible until alerts are enabled, including when alerts are paused or browser permissions are blocked. On Messages, Not now dismisses the invitation for this site in this browser, and paused alerts do not show the invitation again. The navbar control remains available. Blocked permissions show guidance for changing browser settings. Allow notifications in both the browser and operating-system settings. Alerts work while the dashboard is open on any page and its tab is hidden; the tab’s unread count updates immediately. Browser popups use a separate fixed two-second window regardless of the email/Telegram setting. Returning to the tab before that window ends cancels the popup.
Browser popups and email/Telegram alerts use New site message · Your site name, using the name saved in Site Settings (name). Older app-name fields are used only when that name is absent. Without a configured name, the title is New site message. Its body uses the latest site-wide unread count, for example: You have 4 unread messages from your site. Open Messages to read it and reply. Clicking opens the relevant conversation in fb-admin Messages, reusing an open admin tab when possible. An already displayed popup can reopen Messages after the original tab closes in browsers that support persistent notifications. New browser alerts require an open dashboard; closing every dashboard tab stops receiving new browser alerts. Email and Telegram delivery is independent of the browser.
Choose batching by intent
| Situation | Suggested approach | Result |
|---|---|---|
| A single urgent stock alert | Omit batch | Queue each call without a collection window. |
| A burst of paid orders | Same channels and batch.key, 10-second delay | One summary with the event count and latest order details. |
| Paid orders versus cancellations | Different batch.key values | Separate summaries even if recipients overlap. |
| Different channel sets | Separate batches automatically | ["orders"] and ["orders", "inventory"] do not combine. |
| Visitor messages | Built-in New messages settings | Current unread total, suppressed if the team is reading Messages. |
For example, three paid-order events at seconds 0, 3, and 8 with a ten-second delay produce one notification at approximately second 10. The count is 3, and the latest payment details come from the event at second 8. An event after dispatch starts a new window. This count describes events collected in that window; it is not a database count of all orders still awaiting fulfilment. Fetch the business totals you need in your FRL flow and include them in message when that distinction matters.
batch contains key and delaySeconds. The key must be nonempty text of at most 120 characters. Delay must be an integer from 1 to 300; omit batch for immediate queuing. There is no separate summary field to compose: put the complete wording in title and message.
Every literal {{count}} in the title and message is replaced at dispatch, including repeated occurrences. Without batching it resolves to 1. It does not expand inside the URL or batch key. FRL expressions such as ${$payment.id} resolve for each event; the latest event's resulting text is retained until dispatch. If count expansion would exceed the title, message, or combined text limits, the rendered text is shortened to fit.
The system New messages channel uses the current unread-message count, not the number of events collected in the window. Custom theme-channel batching remains controlled by the theme developer; only the built-in New messages timing has an admin setting.
Older published themes using batch.summary remain supported for compatibility: their summary is treated as a prefix to the message. New themes should use {{count}} directly in the title and message.
Declaration keys follow the FRL naming rules, including the reserved system namespace.
Notification link domains
A notification's url stays a site-relative path. On hosted sites, Frontbacked turns it into an HTTPS link using the verified custom domain or generated subdomain used by the triggering request, provided that host belongs to the same site. Visiting your generated subdomain therefore keeps notification links on that subdomain.
Background notifications, including the built-in New messages alerts, prefer a verified custom domain. Without one, links use the generated subdomain. Internal service hosts, unverified domains, and domains belonging to another site are never used. If several custom domains are verified, background links use the oldest configured verified domain, with a stable tie-breaker. These rules also apply to notification-recipient verification links. Local development continues using the local server address.