Dec 22, 2023 By Eamonn Gogan 3 min
Sending programmatic push notifications can help businesses and organizations provide timely, personalized messages to individual users. Sending these types of messages improve user engagement and customer satisfaction. These types of notifications include re-engagement notifications based on a user's prior app activity, promotion notifications based on a user's product preferences, and alerts for when an event occurs such as payment receipt or package delivery.
Example use cases for programmatic notifications include:
Programmatic notifications can be sent to individuals or groups of users based on the corresponding trigger conditions on your web platform.
Associate the user’s device with their account on your platform using the OneSignal User ID.
In this option you are managing the relationship between mobile devices subscribed within OneSignal and users on your platform. You will then send programmatic notifications to a specific device.
Associate the user’s account on your platform with their device on the OneSignal platform using OneSignal’s External User ID function. Account numbers or email addresses are examples of External IDs that can be added to the device record within the OneSignal platform.
In this option, you let the OneSignal platform manage the relationship between users and devices. You will then send programmatic notifications to a specific user.
Call the OneSignal REST API to send a notification. Depending on how you are identifying users as discussed above you specify either “include_player_ids” (OneSignal User IDs) or “include_external_user_ids” (External User IDs from your platform).
Data Filters are pre-set and do not require customization. OneSignal provides many filters that track the events or attributes of a user's device. For example, some popular filters include: First Session, Session Count, Amount Spent, Purchased Item, and Subscriptions. You can also combine filters to form advanced, highly precise user targeting.
Custom Segments are groups of users based on customizable data analytics and function as the most precise way to target large groups of devices. With OneSignal, you can use Custom Tags to specify segments you want to target as well as which segments you don't want to receive the notification. Once a user creates a custom segment, OneSignal automatically adds new users who fulfill the segment's parameters.
Personalized push
Programmatic notifications
Send to Specific devices
Learn more using OneSignal and Median here.
Get hands-on with Median’s comprehensive documentation, and build your app with ease.