docs/platform/workflow/configure-workflow.mdx
After creating a workflow, you are redirected to the workflow editor, where you configure workflow-level settings. You can also open any existing workflow from the Workflows page to access the editor.
In the Configure workflow section, you can update workflow metadata, control delivery behavior, and define the workflow payload schema.
A workflow is active by default after creation. Disabling a workflow pauses execution and prevents triggers from running.
Workflows can exist in one of three states:
Tags are labels or categories that help you organize and manage workflows. By grouping workflows under specific tags, you better control how they're filtered, displayed, and managed.
Tags help keep things tidy and manageable for both you and your team and you can add up to 16 tags per workflow.
Tags can be used to:
<Inbox /> or filter workflows in <Subscription />.Workflow channel preferences let you set default channel preferences for subscribers. For all new subscribers, the channel preferences will be set to the default preferences set for the workflow. Read more about channel preferences.
Novu allows you to mark a workflow as critical, this means that the notification sent from that workflow must always be delivered to the subscribers regardless of their personal preferences and they cannot change their preferences for this workflow.
This is useful for high-priority notifications that are related to security, financial, or access-related information, where missing a message could have some consequences.
Notification severity lets you classify workflows by importance, helping subscribers quickly identify urgent notifications. Each workflow can be assigned one of four severity levels:
You can set the severity for a workflow in the Novu dashboard by selecting a value from the Notification severity list.
Severity levels affect how notifications appear in the Novu <Inbox />. By default, severity controls visual cues such as color, icons, and the bell indicator, helping users prioritize messages at a glance:
These default styles are customizable.
The Payload schema defines, manages, and validates the structure of data sent to a workflow. By defining a schema, you ensure that payload object, while triggering the workflow, is predictable, type-safe, and consistent across environments.
<Note> Novu’s payload schema is based on the [JSON Schema](https://json-schema.org/) standard. </Note>The schema acts as a contract between your systems and Novu, defining which variables exist, how they are structured, and what validation rules apply. This gives your team a shared, explicit source of truth for workflow data.
You can reference payload schema fields in the template editor, action step configuration, and step conditions to insert dynamic content and build data-driven logic. Payload schemas are especially useful for complex workflows that rely on reusable components, dynamic payloads, or strict validation requirements
Benefits of defining a payload schema
With a defined schema in place, you can:
Each schema property includes the following fields:
novu.trigger() method.Each property you define becomes part of the payload schema, and helps Novu suggest accurate variables when configuring channel steps or digest actions. You can define the expected payload schema in three ways:
Manually define each property by specifying its name, type, and validation rules from the Manage workflow schema section.
<video autoPlay loop muted playsInline src="/images/workflows/configure-workflow/workflow-payload.mp4" />If you already have a sample payload, you can import it as a JSON object from the Manage workflow schema section. Novu automatically infers property names, types, and nested structures.
<video autoPlay loop muted playsInline src="/images/workflows/configure-workflow/import-payload.mp4" />While adding notification content in the template editors, you can reference a variable that doesn’t exist in the schema (for example, payload.title). Novu will prompt you to create the variable inline and add it to your schema with a default type of String.
After creating the variable, you can edit it from the Manage payload schema directly in the template editor.
<video autoPlay loop muted playsInline src="/images/workflows/configure-workflow/inline-variable.mp4" /> <Note> To learn more about how notification content are added to the template editors, refer to the [Add notification content](/platform/workflow/add-notification-content/channels-template-editors) documentation </Note>When defining a schema property, the available configuration fields vary depending on the selected property type.
Additional options appear depending on the selected type:
Schema validation is enabled per workflow. When enabled, Novu validates incoming payloads against the schema when the workflow is triggered.
This means:
Validation occurs at the HTTP trigger level and prevents invalid data being used in the workflow execution.