create_notification
Create email notification definitions in ServiceNow by specifying name, table, recipients, and optional event, subject, condition, or HTML body.
Instructions
Create a new email notification definition (requires WRITE_ENABLED=true)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"table": "<table>"
},
"name": "create_notification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Notification name | |
| event | No | Event name that fires this notification (e.g. "incident.commented") | |
| table | Yes | Table that triggers this notification (e.g. "incident") | |
| active | No | Whether to activate immediately (default true) | |
| subject | No | Email subject line (supports ${field} variables) | |
| condition | No | Additional filter condition script | |
| recipients | No | Who receives the email (e.g. "assigned_to", "watch_list") | |
| message_html | No | HTML body of the email notification |