Skip to content

🚀 Feature: Expose Critical Workflow Parameter in the API #9881

@jordal

Description

@jordal

🔖 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions