🔖 Feature description
The Novu web UI provides a "Critical workflow" toggle in the Channel Preferences panel that allows marking a workflow as critical. However, this setting is not exposed via the Workflow API endpoints (Create/Update Workflow).
Please add a critical parameter to the workflow API endpoints so that workflows can be programmatically configured as such.
🎤 Why is this feature needed ?
In my use-case, workflows are managed programmatically via the API to maintain infrastructure-as-code and enable automated deployments across multiple environments. Without this feature, manual intervention is needed through the web UI to mark workflows as critical. This creates possible inconsistencies and raises the risk of human error with our workflows.
✌️ How do you aim to achieve this?
I want this feature to add a critical boolean parameter to the workflow API for create/update.
🔄️ Additional Information
The critical setting appears to be stored in the workflow preferences alongside the severity field (which IS exposed in the API via the preferences.severity parameter). Adding the critical parameter should follow a similar pattern for consistency.
👀 Have you spent some time to check if this feature request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
Yes I am willing to submit a PR!
🔖 Feature description
The Novu web UI provides a "Critical workflow" toggle in the Channel Preferences panel that allows marking a workflow as critical. However, this setting is not exposed via the Workflow API endpoints (Create/Update Workflow).
Please add a
criticalparameter to the workflow API endpoints so that workflows can be programmatically configured as such.🎤 Why is this feature needed ?
In my use-case, workflows are managed programmatically via the API to maintain infrastructure-as-code and enable automated deployments across multiple environments. Without this feature, manual intervention is needed through the web UI to mark workflows as critical. This creates possible inconsistencies and raises the risk of human error with our workflows.
✌️ How do you aim to achieve this?
I want this feature to add a
criticalboolean parameter to the workflow API for create/update.🔄️ Additional Information
The
criticalsetting appears to be stored in the workflow preferences alongside theseverityfield (which IS exposed in the API via thepreferences.severityparameter). Adding thecriticalparameter should follow a similar pattern for consistency.👀 Have you spent some time to check if this feature request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
Yes I am willing to submit a PR!