Using push channel with Novu
To send a push notification to subscribers (users) using Novu:- Add a push channel provider in integration store
- Add push channel as a step in existing or new workflow.
- Add static or dynamic content using variables in push step fields
- Store provider specific device tokens/identifiers in subscriber profile. Read provider specific documentation on how to obtain and store device tokens.
- Make sure all provider specific steps are configured properly before triggering workflow. Read provider related documentation for all required steps.
- Trigger the workflow.
Supported providers:-
- Firebase Cloud Messaging (FCM)
- Expo Push
- Apple Push Notification Service
- OneSignal
- Pushpad
- Push Webhook
Novu supports multiple active providers for push channel.
Frequently Asked Questions
1. How to remove one device token from subscriber credentials?
To remove a device token from subscriber credentials, you need to get the current device tokens from subscriber credentials, remove all deviceTokens, remove the token you want to remove and then update the subscriber credentials with new device tokens.- Node.js