Configuring ServiceNow Integration

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:

  1. Log in to your ServiceNow instance
  2. Navigate to User Administration > Users
  3. Click New to create a new user
  4. Set a username like “statusdrift_integration”
  5. Set a secure password and note it for later
  6. Assign the itil role (or a custom role with incident creation permissions)
  7. 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:

  1. Log in to your StatusDrift account at app.statusdrift.com
  2. Select Notifications in the sidebar
  3. Click Add channel
  4. Under Choose Service, click the ServiceNow tile to open the Configure step
  5. Enter a descriptive name like “ServiceNow Incidents”
  6. Enter your instance URL (e.g., https://your-instance.service-now.com) in the Instance URL field
  7. 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.
  8. Optionally, set the Urgency and Impact of new incidents (2 – Medium by default), an Assignment Group and a Category
  9. Click Create Channel

Step 4: Assign to Monitors

Connect the notification channel to your monitors:

  1. Go to Monitors in the StatusDrift dashboard
  2. Select the monitor you want to configure
  3. Open the monitor’s actions menu (⋯), choose Edit and go to the Alert Configuration tab
  4. In an alert rule, select your ServiceNow channel in the Channels field (click Add Alert first if the monitor has no alert rules)
  5. Save your changes

Testing the Integration

Verify your ServiceNow integration is working:

  1. Select Notifications in the StatusDrift sidebar
  2. Find your ServiceNow channel in the list
  3. Open the channel’s actions menu (⋯) and choose Send test, or open the channel and click Test
  4. Check your ServiceNow instance for the test incident

Incident Field Mapping

StatusDrift maps alert data to ServiceNow incident fields:

StatusDrift DataServiceNow Field
Monitor nameShort description
Alert message, root cause and links to the monitor and incidentDescription
Urgency and Impact set on the channelImpact/Urgency
Assignment Group and Category set on the channelAssignment group, Category
TimestampOpened 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

Was this article helpful?