Build App:
Customer: The customer (or their development team) builds the mobile app.
Register App for Push:
Salesforce: The app is registered for push notifications with Salesforce.
Mobile OS Vendor: Salesforce communicates with the mobile OS vendor (e.g., Apple for iOS or Google for Android) to register the app for push notifications.
Push Credentials Issued:
Mobile OS Vendor: The mobile OS vendor issues push credentials (such as certificates or keys) to Salesforce.
Salesforce: Salesforce receives these push credentials.
Upload Push Credentials:
Salesforce: The customer uploads the push credentials to Salesforce.
Customer: The customer provides the necessary push credentials obtained from the mobile OS vendor.
Install App:
Device: The user installs the app on their device.
App Registers to Receive Push on User's Device:
Device: When the app is launched, it registers itself to receive push notifications on the user’s device.
Push Token Issued:
Mobile OS Vendor: The mobile OS vendor issues a push token to the device.
Device: The device receives this push token.
Upload Push Token:
Device: The app uploads the push token to Salesforce.
Salesforce: Salesforce receives the push token from the device.
Push Worthy Event Trapped:
Salesforce: When an event occurs that warrants a push notification (e.g., a new message, an offer, or an update), Salesforce captures this event.
Payload Constructed:
Salesforce: Salesforce constructs the notification payload, which includes the message and any additional data.
Send Notification:
Salesforce: Salesforce sends the constructed payload to the mobile OS vendor, directing it to the appropriate device using the push token.
Deliver Notification:
Mobile OS Vendor: The mobile OS vendor delivers the notification to the device.
Device: The user’s device receives and displays the notification.
The customer builds the app and registers it with Salesforce for push notifications.
Salesforce communicates with the mobile OS vendor to get push credentials and uses them to send notifications.
When the app is installed on a user’s device, it registers for push notifications, and a push token is issued and sent back to Salesforce.
Salesforce captures events, constructs the notification payload, and sends it through the mobile OS vendor to the user's device, which then displays the notification.