Newer Version Available

This content describes an older version of this product. View Latest

Test Push Notifications

To run a quick test of your push notification setup, use the Send Test Notification page. Troubleshoot round-trip push notifications in a synchronous mechanism without having to configure Apex or REST calls. You can also gain insights into what’s going on behind the scenes in the asynchronous environment of real-world push notifications.
Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
Connected Apps can be created in: Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions

Connected Apps can be installed in: All Editions


The Send Test Notification page uses information from your Apple Push Notification Service (APNS) or Google Cloud Messaging for Android (GCM) setup to configure a synchronous push mechanism. You select a device to receive the push notification by entering a connection token string. If you don’t know the token string, you can use the Search tool to select from the list of devices that are registered for your connected app. The Search tool automatically displays the five most recently registered devices. You can also enter a user’s name to search for devices that are registered to that user.

Before attempting to send test push notifications, verify that the mobile settings in your connected app are properly configured. See Create a Connected App.

Push notifications aren't available in the console in Professional Edition.

Note

For Android GCM push notifications, you can select the Dry Run option to test your GCM setup. This option sends the notification to the GCM server but does not forward it to a device.

Each push attempt returns a status message that indicates success or failure. See Error Messages for Push Notifications for explanations of messages. For additional information, see:

Push Notification Limits

The maximum push notifications allowed for each mobile app associated with your Salesforce org depends on the type of app.

Mobile application type Maximum notifications per app per day
Provided by Salesforce (for example, Salesforce for iOS) 50,000
Developed by your company for internal employee use 35,000
Installed from the AppExchange 5,000

Only deliverable notifications count toward this limit. For example, consider the scenario where a notification is sent to 1,000 employees in your company, but 100 employees haven’t installed the mobile application yet. Only the notifications sent to the 900 employees who have installed the mobile application count toward this limit.

Each test push notification that is generated through the Test Push Notification page is limited to a single recipient. Test push notifications count toward an application’s daily push notification limit.