Block a workflow if number of emails exceeds a certain number
SOLVE
Is there a way of controlling a workflow so that if the number of emails sent by this workflow exceeds a certain number (e.g. 1000), the workflow is blocked?
In other words, is there a way of controlling a workflow so that if the number of emails sent by the workflow exceeds a certain number, the workflow is blocked?
If such a solution is not possible with native workflows, is it possible to insert code (as a workflow step) that checks the number of emails that will be sent by the workflow?
I'm not aware of a native or off-the-shelf third party solution to this.
The number of emails sent by workflows to individual contacts is typically the higher concern than the number sent by a workflow to a variable number of contacts. Hence Enterprise customers can set email frequency limits: Set up an email frequency safeguard
It might be possible to rig up a solution where a workflow increments a number on a custom object every time an email is sent, and then use a coded workflow action or a third party no/lo code solution to programatically unenroll every contact? However, there's no API endpoint, as far as I am aware, that supports turning off/disabling the workflow completely.
I'm not aware of a native or off-the-shelf third party solution to this.
The number of emails sent by workflows to individual contacts is typically the higher concern than the number sent by a workflow to a variable number of contacts. Hence Enterprise customers can set email frequency limits: Set up an email frequency safeguard
It might be possible to rig up a solution where a workflow increments a number on a custom object every time an email is sent, and then use a coded workflow action or a third party no/lo code solution to programatically unenroll every contact? However, there's no API endpoint, as far as I am aware, that supports turning off/disabling the workflow completely.