create_notification
Create email notification definitions in ServiceNow to automatically send alerts when specific events occur in database tables like incidents.
Instructions
Create a new email notification definition (requires WRITE_ENABLED=true)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Notification name | |
| table | Yes | Table that triggers this notification (e.g. "incident") | |
| event | No | Event name that fires this notification (e.g. "incident.commented") | |
| subject | No | Email subject line (supports ${field} variables) | |
| message_html | No | HTML body of the email notification | |
| recipients | No | Who receives the email (e.g. "assigned_to", "watch_list") | |
| active | No | Whether to activate immediately (default true) | |
| condition | No | Additional filter condition script |