Send Custom Notifications to External Apps with Notification Builder Platform

With Notification Builder Platform, custom notifications are going places. App owners can subscribe their connected apps to custom notification types in order to receive and display in-app and push notifications. Previously, custom notifications were available only for Salesforce-provided apps.

Where: This change applies to Lightning Experience in Essentials, Group, Professional, Enterprise, Performance, Unlimited, and Developer editions. Packaging of connected apps with custom notifications is available in Developer edition.

Why: Custom notifications keep connected app users engaged with their workflows. Use the Notification Builder Platform to send relevant updates and reminders to users in your own org. Or package your app for distribution and the custom notifications it subscribes to along with it, including the notification types and triggers. The notifications work right out of the box.

How: You can subscribe your app to custom notifications after you create the notification type and enable the appropriate supported channels for the type. You can manage your custom notification types via the Custom Notifications page in Setup or via API. To associate triggers with your custom notification type, add it to a process or flow.

To subscribe a connected app to a custom notification type, from Setup, enter Apps in the Quick Find box, then select App Manager. Locate the desired app, then select Edit from the dropdown menu. In the Mobile App Settings section on the connected app page, select Enable subscription to notification types. Select Subscribe or both Subscribe and Send as Push for the desired custom notification types, then save your changes.

Subscription to notification t ypes in Mobile App Settings

Use the Salesforce Mobile Push Notifications Implementation Guide to implement in-app and push notifications for your app. Use the new Connect REST API Notifications Resources to get, update, or view the status of custom notifications in your org.

To package your custom notifications with your connected app, from Setup, enter Package in the Quick Find box, then select Package Manager. When you create a new managed package or edit an existing managed package, add your connected app and the custom notification types it subscribes to as components.