How to Set Up Salesforce Push Notifications

Salesforce push notifications are a great way to provide real-time information to users. You can leverage push notifications in Salesforce to alert sales managers about changes to their opportunities, or service agents for cases that need immediate attention, and more!

You can send notifications for any object based on the criteria you set up to trigger the Salesforce Flow automation. This feature is available for both desktop and mobile apps. Keep reading for a walkthrough on how to set it up!

Step 1: Create the Custom Notification Type

The purpose of this step is to create a notification that will either go to the mobile or desktop app, or both. Let’s make a start!

1. Go to SetupNotification BuilderCustom Notifications

2. Click New and give the Custom Notification a name.

This is important if you decide to have more than one type available, and I recommend making the name specific enough.

3. Select the Supported Channels.

As you create more custom notifications, you will be able to view the channel the notification is intended for directly in the list, with the possibility to come back and edit it later.

In some cases, if the user is both the person causing and receiving the notification, and “Mobile” and “Desktop” are selected, the user will only see the notification on the mobile device when entering the app itself, assuming they haven’t already clicked on it in the desktop app.

Step 2: Create the Flow

This is the step to actually trigger the notification to go out using Salesforce Flow. While notifications can still be sent out using Process Builder, remember this will no longer be an option considering the retirement of Process Builder scheduled for later this year.

Note: The tutorials we showcase are built-in developer edition orgs with limited data and only a few custom automations. Ensure you evaluate your existing processes properly before building new ones, including both declarative automation and custom Apex. For Flow specifically, consider the recommended practices when it comes to the number of record-triggered flows per object.

READ MORE: How Many Flows Should You Have Per Object?

Check out the step-by-step tutorial below on how to set up a basic flow to notify Opportunity Team Members when an Opportunity is Closed.

You can take a look here at the official documentation pertaining to this core action, including all the information you have to fill in, such as the “Recipient ID”. We will be using the OpportunityId stored in a collection variable for, since this is the supported input for this parameter to trigger the notification being sent out to active Opportunity Team members.

In Setup, navigate to the Flows page, click the New button, and let’s get started!

Step 3: Testing

Now it’s time to test this lovely new feature!

For testing, you can use both the “Debug” option in flow, as well as actually trigger the notification on a test record. The place where you will look out for the notification depends on your set Notification Type (Mobile or Desktop).

Summary

There you have it; your notification alert to users is all set up! For the recipients who are active Salesforce users, this in-app notification is an excellent alternative to emails – saving the time to navigate to another tab or application.

Enjoy this wonderfully simple but powerful, out-of-the-box notification option!