N
Novu4mo ago
fyeung

Ignore subscriber preference on some notification trigger

I know it is possible to set a workflow to be critical to ignore subscriber preference, but is it possible to do this per the trigger call? We want to be able to follow user preferences unless the trigger is from specific use cases.
3 Replies
Pawan Jain
Pawan Jain4mo ago
@fyeung By default, a workflow is non critical means user preferences will be considered as per order of priority. If you want to change it to critical based on usecase before triggering the workflow, you can use sdk method or APi https://docs.novu.co/api-reference/workflows/update-workflow send critical: true in body
fyeung
fyeungOP4mo ago
but then any triggers during that window will ignore the user's preferences. I don't think this solution will work for us
Pawan Jain
Pawan Jain4mo ago
Hey @fyeung I have shared the feedback with team
Want results from more Discord servers?
Add your server