What's the proper strategy of dropping repeating notifications for a while?

In my use case my system tries to do some actions in an undetermined time. Let's say, send data to a webhook. This can happen a lot. If the webhook is misconfigured, I want to notify on it (as an inbox message), then set 7 days that additional repeating message will be dropped (meaning - I don't want to digest and collect it , then send it after a week again, because it might be user fixed the issue already). Is there any way to achieve this?
2 Replies
Pawan Jain
Pawan Jain3w ago
@Arielb135 So you want to send notification again after waiting for 7 days if webhook is still misconfigured @Arielb135
Let's say, send data to a webhook.
If your system sends data to that webhook and it fails (due to misconfiguration from user side), then your system will auto retry or it will be retried based on user action?
Arielb135
Arielb135OP3w ago
Yes, I want to notify about it then ignore all notifications for 7 days (meaning - silent fail) as user already has this notification on the inbox. If after 7 days it's still misconfigured, send it again. I can implement it with a DB on my side but I hope novu can solve it

Did you find this page helpful?