StatusDrift integrates with ServiceNow to automatically create and manage incidents in your IT service management platform. This guide explains how to configure the ServiceNow integration.
What This Integration Does
The ServiceNow integration creates incidents in your ServiceNow instance when:
- A monitored service goes down or becomes unreachable
- A service recovers and returns to normal operation
- SSL certificates are expiring or have issues
- Performance thresholds are exceeded
Incidents are created with relevant details including monitor name, error messages, and timestamps.
Prerequisites
Before configuring the ServiceNow integration, ensure you have:
- A ServiceNow instance with REST API access enabled
- A ServiceNow user account with permissions to create incidents
- A StatusDrift account with notification channel management access
Step 1: Create a ServiceNow Integration User
For security best practices, create a dedicated integration user in ServiceNow:
- Log in to your ServiceNow instance
- Navigate to User Administration > Users
- Click New to create a new user
- Set a username like “statusdrift_integration”
- Set a secure password and note it for later
- Assign the itil role (or a custom role with incident creation permissions)
- Save the user
Step 2: Find Your Instance URL
Find the URL of your ServiceNow instance. StatusDrift adds the Table API path (/api/now/table/incident) to it when it creates incidents.
The instance URL format is:
https://[your-instance].service-now.com
Replace [your-instance] with your ServiceNow instance name.
Step 3: Add the ServiceNow Channel in StatusDrift
Configure the integration in your StatusDrift dashboard:
- Log in to your StatusDrift account at app.statusdrift.com
- Select Notifications in the sidebar
- Click Add channel
- Under Choose Service, click the ServiceNow tile to open the Configure step
- Enter a descriptive name like “ServiceNow Incidents”
- Enter your instance URL (e.g.,
https://your-instance.service-now.com) in the Instance URL field - Under Authentication Type, keep Basic Authentication and enter the integration user’s Username and Password. OAuth 2.0 also needs a Client ID and Client Secret, and API Key uses a ServiceNow REST API key instead.
- Optionally, set the Urgency and Impact of new incidents (2 – Medium by default), an Assignment Group and a Category
- Click Create Channel
Step 4: Assign to Monitors
Connect the notification channel to your monitors:
- Go to Monitors in the StatusDrift dashboard
- Select the monitor you want to configure
- Open the monitor’s actions menu (⋯), choose Edit and go to the Alert Configuration tab
- In an alert rule, select your ServiceNow channel in the Channels field (click Add Alert first if the monitor has no alert rules)
- Save your changes
Testing the Integration
Verify your ServiceNow integration is working:
- Select Notifications in the StatusDrift sidebar
- Find your ServiceNow channel in the list
- Open the channel’s actions menu (⋯) and choose Send test, or open the channel and click Test
- Check your ServiceNow instance for the test incident
Incident Field Mapping
StatusDrift maps alert data to ServiceNow incident fields:
| StatusDrift Data | ServiceNow Field |
|---|---|
| Monitor name | Short description |
| Alert message, root cause and links to the monitor and incident | Description |
| Urgency and Impact set on the channel | Impact/Urgency |
| Assignment Group and Category set on the channel | Assignment group, Category |
| Timestamp | Opened at |
Advanced Configuration
Assignment Groups
To assign incidents to a specific group, enter the group in the channel’s Assignment Group field, or configure assignment rules in ServiceNow based on the incident source or keywords in the description.
Incident Categories
Create a dedicated category for StatusDrift incidents to help with reporting and filtering, and enter it in the channel’s Category field.
Troubleshooting
Authentication errors
- Verify the integration user credentials are correct
- Confirm the user account is active and not locked
- Check that the user has the required roles for incident creation
- Ensure REST API access is enabled for your ServiceNow instance
Incidents not being created
- Verify the Instance URL is correct for your instance
- Check ServiceNow system logs for any API errors
- Confirm there are no business rules blocking incident creation
- Use Send test in StatusDrift to send a test alert
Missing incident data
- Review the field mapping configuration
- Check for any data transformation rules in ServiceNow
- Verify that required fields have default values set