Remove outdated InApp Notifications
Is there a way to remove outdated InApp-Notifications or notifications within the digest engine?
In our use-case the app triggers a workflow each time a status of an request is updated. if the user accepts/denies it over and over, the notifications would add up and has no value for the user.
6 Replies
Hi @SHG-TV, I'm an AI assistant for Novu. While a team member reviews this question, I'll look through relevant sources and see if I can provide suggestions. Please tag @Ask Inkeep with any follow-up questions.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* How to Add Digest to In-App Notifications
* Node.js
* Workflows
* How to send push notifications in an Android app (react native) with FCM and Novu
-----------------------------
Answer
Yes, there is a way to manage outdated InApp-Notifications within the digest engine using the event cancellation API. This API allows you to cancel any event before the digest time completion, ensuring that outdated or irrelevant notifications are not included in the final digest array sent to the user. This approach can help prevent the accumulation of notifications that no longer hold value for the user due to frequent status updates (1) .
Is this also possible for existing Notifications within the InApp Module?
Got it. Tagging @Support for additional help.
@SHG-TV
by default in-app notifications are kept for 90 days in free tier and for 1 year in business tier
If you are planning to remove before this time period, these messages can be removed using this api
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.