Skip to main content
Gainsight Inc.

Servicenow Connector

 This article explains how to create a connection with ServiceNow, create jobs, configure job or job chains and view job activities.

Note: This document provides general guidance on creating a Connection and setting up Jobs because the business use case of each job is different and needs a unique configuration. For more information on creating any Job, refer to the Configuration of Connectors in the Additional Resource section at the end of this article.

Overview

ServiceNow is a ticketing tool that processes and catalogs customer service requests.

After a ServiceNow connection is established from Gainsight, ServiceNow data can be synced with Gainsight from the following ServiceNow objects:

  • Account
  • Contact
  • Incident
  • Request
  • User
  • User Group
  • Customer Services
  • Problem data
  • Custom data

Once ServiceNow data is synced, you can generate strategic reports on this data, trigger health scores based on support data, and so on.

Benefits of the integration include:

  • Seeing the full picture of Customer Success with ServiceNow data in Gainsight.
  • Syncing data like tickets created along with their status and priority, is crucial for understanding the health of the customers in Gainsight.

Create an OAuth API Endpoint for External Clients

OAuth API endpoint from ServiceNow is used to ensure that Gainsight has access to ServiceNow data. After this configuration is performed in ServiceNow, unique credentials for a specific Gainsight org, OAuth Client ID and OAuth Client Secret are created. These credentials are required to create a ServiceNow connection from Gainsight.

Note: Enter the following URLs in the Redirect URL field of the New OAuth page in ServiceNow based on your Gainsight org location:

For more information on how to create an OAuth API Endpoint, refer to the ServiceNow article.

servicenow1.png

Create a Connection

To create a ServiceNow connection:

  1. Navigate to Administration > Connectors 2.0.
  2. Click Create Connection. Create Connection dialog appears.

Hubspot1.png

  1. From the Connector dropdown, select ServiceNow.

servicenow3.png

  1. Enter details in the following fields:
  • Name of the connection.
  • Subdomain: ServiceNow subdomain.
  • OAuth Client Id: Client Id collected from the ServiceNow OAuth provider and profile page.
  • OAuth Client Secret: Client Secret from the ServiceNow OAuth provider and profile page.
  1. Click Authorize to validate the connection. ServiceNow page appears.

ServiceNow4.png

  1. Complete authorization by entering the ServiceNow credentials.

For more information on how to create and authorize a connection section in the Connections List Page in the Additional Resource section at the end of this article.

Context Menu

Following options are available from the context menu:

  • Edit Connection: This option is used to modify the ServiceNow connection details.
  • Re-Authorize Connection: If the existing connection is revoked, this option is used to re-authorize the ServiceNow connection.
  • Revoke Authorization: This option is used to disable access to the ServiceNow connection.
  • Delete Connection: This option is used to delete the ServiceNow connection if the associated Job Chains and data jobs are deleted.

Servicenow_contextmenu.png

Create a Job

You can create jobs from the Jobs page to sync data from required source objects like Deals, Accounts, Contacts, Users, and any custom objects with Gainsight. You can create a dataset from one source object, and similarly you can create multiple datasets to create a Job. For more information, refer to the Preparation of Connector Jobs in the Additional Resource section at the end of this article.

Note: (Optional) You can create multiple data jobs, as required. If the data jobs in a connection are dependent on each other, create a Job chain and configure the schedule to the Job Chain. For more information, refer to the Job Chain Page in the Additional Resource section at the end of this article.

Merge Datasets

You can merge two datasets together and create an output dataset. For example, you can merge Deals and Account objects to collect the business deals stored for each Account with their details and work on them to provide a better customer experience. For more information on Merge, refer to the Preparation of Connector Jobs in the Additional Resource section at the end of this article.

Add Destination

Once the final output dataset is prepared, you can add a destination to the output dataset to sync data from the source to the target Gainsight object. For more information on Add Destination, refer to the Preparation of Connector Jobs in the Additional Resource section at the end of this article.

Direct Mappings

In the Direct Mapping, you should map fields from the output dataset to the target object in the field mappings. Data sync happens from the source fields of the external system to the target fields of Gainsight, per field mappings. For more information on Direct Mapping, refer to the Preparation of Connector Jobs in the Additional Resource section at the end of this article.

Derived Mapping

This is optional and you must configure the derived mappings only if you want to populate values into the target fields of data type GSID. GSID values are populated from the same or another object through lookup. In this stage, you can create Lookup mapping in a data sync job. You can have a lookup to the same object or another standard object and match up to six columns. Once the required matching is performed, you can fetch Gainsight IDs (GSIDs) from the lookup object into GSID data type fields. For more information on the derived mappings, refer to the Preparation of Connector Jobs in the Additional Resource section at the end of this article.

Note: To use Derived Mappings, your target object must have at least one field of data type GSID.

Configure Job or Job Chain Schedule

You can configure the schedule of a data job or Job chain as required. For more information, refer to the Configure Job or Job Chain Schedule in the Additional Resource section at the end of this article.

If you create a Job Chain by adding multiple Jobs in a sequence and add a schedule to the Job Chain, the schedule of the individual jobs is not honored.

Job Activities

You can view the Execution and Update Activities of all the data jobs in the Activity page. You can also download the logs of the job execution from this page to help troubleshooting the configuration issues. For more information, refer to the Activity Page in the Additional Resource section at the end of this article.

  • Was this article helpful?