- Automatically create ServiceNow incidents from Rootly incidents
- Update ServiceNow incident priority, state, and custom fields as incidents evolve
- Receive ServiceNow incident events as Rootly alerts to trigger on-call paging
- Sync ServiceNow CMDB business applications to Rootly services
Before You Begin
Before setting up the integration, make sure you have:- A Rootly account with admin permission to manage integrations
- A ServiceNow instance with admin access
- Permission to create OAuth Application Registry entries in ServiceNow
Rootly recommends installing with a dedicated ServiceNow service account so the integration does not break if an individual user leaves your organization.
Installation
Open the ServiceNow integration in Rootly
Log into Rootly as an Admin and navigate to Configurations > Integrations > ServiceNow. Click Setup.

Create an OAuth Application in ServiceNow
Log into your ServiceNow instance as an Admin and navigate to System OAuth > Application Registry.
Click New, then select Create an OAuth API endpoint for external clients.
Fill in the following fields and click Submit:



Copy credentials from ServiceNow to Rootly
Open the application you just created in ServiceNow and copy the Client ID and Client Secret.
Paste the Client ID, Client Secret, and your ServiceNow instance URL into the Rootly setup modal and click Connect.


Authorize Rootly in ServiceNow
You will be redirected to ServiceNow to authorize the connection. Click Allow.

After authorization, the Create a ServiceNow Incident and Update a ServiceNow Incident workflow actions are available in your Genius workflows.
Ingest ServiceNow Events
To receive ServiceNow incident events as Rootly alerts, configure a Business Rule in ServiceNow to send events to Rootly’s webhook endpoint.Get your webhook URL and secret from Rootly
In Rootly, open the ServiceNow integration settings. Copy the Webhook URL and Secret values shown on the integration page.
Create a Business Rule in ServiceNow
In ServiceNow, navigate to System Definition > Business Rules.Click New and fill in:
Navigate to the Advanced tab and replace the script with the following:Replace 
Click Submit.
There are multiple Business Rules pages in ServiceNow. Make sure you select the one under System Definition.

<insert webhook public URL> and <secret> with the values from the Rootly ServiceNow integration page.
How Alerts Are Mapped
Each ServiceNow event received creates a Rootly alert with the following fields:
Alert labels:
Using ServiceNow as an Alert Source
If your org uses Rootly On-Call, ServiceNow alerts can be used to page on-call users. Once the Business Rule is configured, alerts from ServiceNow will appear in your Rootly alert feed and can trigger on-call notifications through alert workflows.Workflow Actions
The ServiceNow integration provides workflow actions for creating and updating ServiceNow incidents from Rootly. If you are unfamiliar with how Genius workflows work, visit the Workflows documentation first.Create a ServiceNow Incident
This action creates a new record in the ServiceNowIncident table (for example, INC0010001) and links it to the Rootly incident.
Priority mapping (Auto)
Status mapping (Auto)
Available states: New (1), In Progress (2), On Hold (3), Resolved (6), Closed (7), Canceled (8).
Acts As User triggers a ServiceNow user lookup by first name, last name, or email. When matched, Rootly sets
caller_id, close_code, and close_notes automatically. It only applies when the state is set to Resolved (6).
Update a ServiceNow Incident
This action updates an existing record in the ServiceNowIncident table.
When a Create a ServiceNow Incident action runs, Rootly stores the resulting
sys_id and incident number on the incident record. Reference them in subsequent update actions using Liquid variables.
Common Custom Field Examples
Work notes (internal) — visible only to ServiceNow agents, not customers.Add Configuration Items (CIs) to an Incident
Adding configuration items to a ServiceNow incident requires multiple API calls (one per CI). Use Rootly’s HTTP Client workflow action with the ServiceNow Batch API to consolidate them into a single request.
body Base64-encoded. The following Liquid template dynamically generates one batch entry per service associated with the incident:
To use this template, each ServiceNow CI’s
sys_id must be linked to the equivalent Rootly service using the service_now_ci_sys_id field.200. The ServiceNow Batch API returns 200 (not 201) on success.