Implement a fallback strategy with OneSignal to ensure critical messages are delivered via email or SMS when push notifications fail. Learn how to set up cross-channel messaging using Journeys, APIs, and segmentation for reliable user engagement.
Send primary push notification
Check for delivery or open
Trigger fallback via another channel
Fallback logic in Journeys builder
Send push notification
Check status & trigger fallback
"received" = 0
, or status is "failed"
or "errored"
, it means the push notification didnβt go through.At this point, you can send an SMS fallback using your own provider (e.g., Twilio or SendGrid), using the mapped phone number.Detect push subscription status
addPermissionObserver()
.
It allows your app to track and respond to changes in the deviceβs notification permission status while the app is running. If the permission status changes while the app is not running, the observer will trigger the next time the app is opened.Tag devices unsubscribed from push
unsubscribed_from_push: true
) is shared across all channels for that
userβpush, email, and SMS. This makes it easy to later target users whoβve
opted out of push notifications.Create a segment for fallback users
unsubscribed_from_push = true
support@onesignal.com
Please include: