create_notification
Create email notifications in ServiceNow with HTML templates, recipient rules, and trigger conditions.
Instructions
Create a ServiceNow email notification with an HTML template, recipients, and conditions.
Recipients can be specified as:
field: a field on the record (e.g. "caller_id.email")
group: an assignment group sys_id
role: a role name (all users with that role)
user: a specific user sys_id
The tool generates:
Notification record payload (sysevent_email_action)
Responsive HTML email template with ServiceNow field tokens
Plain text fallback
Best practice checklist
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| table | Yes | Table that triggers this notification (e.g. "incident") | |
| event | No | Event name (e.g. "incident.inserted"). Leave blank to use condition. | |
| condition | No | Encoded query condition (used if no event) | |
| subject | Yes | Email subject line — can include ${table.field} tokens | |
| recipients | No | ||
| body_html | No | Custom HTML email body. Leave blank for auto-generated template. | |
| include_work_notes | No | ||
| weight | No | ||
| category | No | ||
| reply_to | No | ||
| email_script | No | Name of an Email Script for dynamic logic |