Is there a way in Novu to stop sending the same email more than once to subscribers?
If the email gets triggers twice can I stop it from being delivered to subscribers if they have already received the same email.
6 Replies
hi @kumar_ujjawal
Only way is to cancel the triggered event
https://docs.novu.co/api/cancel-triggered-event/
Cancel triggered event - Novu API Reference
Using a previously generated transactionId during the event trigger,
will cancel any active or pending workflows. This is useful to cancel active digests, delays etc...
Thank you!
@Pawan Jain @dimagrossman @paweltymczuk @galiainouz @pablo.fernandez.otero @george.d
There is any plans for something like idempotencyKey for trigger?
A similiar behaviour could be used with passing a custom "transactionId" key when triggering. Novu performs a check for duplicate transaction id prior to executing a trigger.
Let me know if that will help
What is scope of transactionId uniqueness? Envrionment? Organization? Whole system?
It is on Environment Level.