Creating a Webhook
Use the2501 infra CLI to register a new webhook:
Parameters
Example
Configuring ServiceNow
After creating a webhook, configure ServiceNow to send events to it using a Business Rule.Business Rule
- In ServiceNow, navigate to System Definition > Business Rules
- Click New
- Configure:
- Name: a descriptive name (e.g.,
2501 Webhook - Incidents) - Table:
incident(or the table matching your--event-type) - When:
after - Insert: checked
- Update: checked
- Name: a descriptive name (e.g.,
- Check Advanced
- Paste the generated script into the Script field
- Optionally add a Filter Condition to scope which incidents trigger the webhook (e.g.,
Assignment group is <your group>) - Click Submit
Both the
incident and change_request tables are supported. A gateway that handles incidents and changes uses two webhooks, one per table, each with its own Business Rule. For how change requests are picked up and executed, see Change Requests.Splunk alerts
Splunk can send alerts to 2501 for Observability. Each organization has its own signal key.-
Turn on the
enableObservabilityfeature toggle and restart the engine. -
Create the organization’s signal key:
The key is shown once. Store it in Splunk; 2501 keeps only a one-way copy.
-
In Splunk, add a webhook alert action that posts to
https://<your-command-center>/api/v1/signalswith the headerAuthorization: Bearer <signal key>.
Deleting a Webhook
Network Requirements
The ServiceNow instance must be able to reach your Command Center’s URL over HTTPS. The webhook endpoint is:How It Works
- ServiceNow fires the Business Rule when a record (incident or change request) is created or updated
- The script sends a POST request with the record’s
sys_idto the webhook URL - Command Center proxies the request to the engine
- The engine validates the shared secret, then enqueues the ticket for processing
- The engine fetches the full record details from ServiceNow and processes it through the gateway pipeline

