Email notification configuration object
OptionalprotectionPolicy?: "read" | "protected"Controls edit/view access for other developers after the application is installed.
Optionalactive?: booleanWhether the notification is active and will be sent
Optionalcategory?: string | Record<"sys_notification_category">Category for organizing and managing notifications
Optionaldescription?: stringDescription of the email notification
Optionaldigest?: DigestDigest configuration for batching multiple notifications
OptionalemailContent?: EmailContentEmail content and formatting options
OptionalenableDynamicTranslation?: booleanWhether to enable dynamic translation of notification content
Optionalmandatory?: booleanWhether the notification is mandatory and cannot be unsubscribed from
Optionalname?: stringName of the email notification
OptionalnotificationType?: "email" | "vcalendar"Type of notification: email or calendar invite (vcalendar)
OptionalrecipientDetails?: RecipientDetailsConfiguration for who receives the notification
The table that this notification applies to (required)
OptionaltriggerConditions?: TriggerConditions<T>Conditions that determine when the notification is triggered
Creates an email notification configuration for ServiceNow. Email notifications are automated messages sent to users when specific conditions are met, such as record updates, insertions, or system events.
This API allows you to define notifications with trigger conditions, recipient targeting, email content, and digest options. Notifications can be triggered by database operations (insert/update), system events, or manual execution.