notification-events

Create and queue ServiceNow events with notifications and script actions.

77|23|Updated Jul 16, 2025
One-click install
npx skills add https://github.com/groeimetai/snow-flow --skill notification-events
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: notification-events
Source: https://github.com/groeimetai/snow-flow/tree/main/packages/opencode/src/bundled-skills/notification-events
Command: npx skills add https://github.com/groeimetai/snow-flow --skill notification-events

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the creation, management, and debugging of ServiceNow events and their associated notifications, streamlining automated workflows and alerts.

Core Features & Use Cases

  • Event Creation: Register new events and queue them using gs.eventQueue().
  • Notification Setup: Configure email notifications and script actions triggered by specific events.
  • Debugging: Query the event queue to inspect pending or failed events.
  • Use Case: Automatically trigger an email notification to the IT manager when an incident's priority is set to critical, using a custom event.

Quick Start

Use the notification-events skill to create a new event named 'incident.priority.critical' that triggers an email to the assignment group manager.

Frequently Asked Questions about notification-events

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trigger a ServiceNow email notification from a script using system events?

You can manage ServiceNow system events by registering new events and queuing them using gs.eventQueue(). The Skill supports configuring corresponding email notifications and script actions triggered by those specific events.

What is the best way to debug failed or pending events in the ServiceNow event queue?

Debugging the ServiceNow event queue involves querying the sysevent table to inspect pending or failed events. This Skill facilitates finding relevant artifacts and querying the queue to identify why an event did not process correctly.

Can I pass parameters to script actions when registering ServiceNow sysevents?

Yes, the Skill supports passing parameters to script actions when registering ServiceNow sysevents. It uses ES5 JavaScript for event handling, including parameter passing and delayed processing capabilities.

Does this approach support delayed processing for ServiceNow event queue items?

Yes, delayed processing is supported for ServiceNow event queue items. The Skill manages system event creation and queuing using ES5 JavaScript, including parameter passing and delayed processing for automated workflows.

How do I set up a script action to run when a custom event is queued in ServiceNow?

To set up a script action, create and register a custom event, then queue it using gs.eventQueue(). Configure the script action within ServiceNow to execute its ES5 JavaScript logic when the event is processed from the queue.

Why are my ServiceNow script actions not triggering when I use gs.eventQueue?

ServiceNow script actions may not trigger if the event name is unregistered or the event queue is stuck. You can debug this by querying the event queue to inspect pending events and verify the script action configuration.