Unify Integrations
Logo
ServiceNow

ServiceNow

Logo

3 mins READ

Using ServiceNow helps you manage work requests and services smoothly. It lets you track issues, automate tasks, and analyze how things are going to get better over time. ServiceNow makes sure your information stays safe with strong security measures. It's a great tool for organizing service tasks and keeping everything running smoothly and securely.

Integrating your application with a ServiceNow account can significantly streamline your business processes, automate tasks, and enable seamless data flow between systems.

Authentication

Before you begin, make sure you have the following information:

  • Connection Name: Select a descriptive name for your connection that will be visible in all automations.

  • Instance Name: Identify your ServiceNow instance name from your ServiceNow URL; for example, 'acme' from https://acme.service-now.com.

  • Select Authentication Type: Choose the type of authentication you wish to use for the connection.

    • Username/Password 

    • OAuth 2.0 

    • Password grant

    • API token

User Credentials Based Authentication

  • Username: Provide the username you plan to use to connect to ServiceNow.

  • Password: Provide the password you plan to use to connect to ServiceNow.

OAuth 2.0 Based Authentication

Password Grant Based Authentication

  • Provide the username you plan to use to connect to ServiceNow.

  • Provide the password you plan to use to connect to ServiceNow.

  • Provide the Client ID for the connection to use for authorization. 

  • Provide the Client secret for this OAuth application.

  • Refer the OAuth 2.0 Section for details to obtain Client ID and Secret.

API Token Based Authentication

  1. The Plugin

    • Navigate to All > Admin Center > Application Manager and verify the plug API Key and HMAC Authentication (com.glide.tokenbased_auth) is activated. If not please activate.

      Frame 237.png
      Frame 237.png

  2. Create the Inbound Authentication Profile

    • Navigate to All > System Web Services > API Access Policies > Inbound Authentication Profile.

    • Click New.

    • Click Create API Key authentication profiles.

    • Provide a descriptive name in the Name field.

    • In the Auth Parameter field, add either the Query Parameter or Auth Header record for x-sn-apikey.

    • Click Submit.

      Frame 238.png
      Frame 238.png

  3. Create the REST API key

    • Navigate to All > System Web Services > API Access Policies > REST API Key.

    • Click New.

    • Provide a descriptive name and select a user.

    • Use the form menu and choose Save.

  4. The API Access Policy

    • Navigate to All > System Web Services > API Access Policies > REST API Access Policies.

    • Click New

    • Provide a descriptive name, and select the REST API you want to use.  

    • Add your new API Authentication Profile to the embedded list on the form.

    • Click Submit.

      Frame 240.png
      Frame 240.png

Triggers

TriggerDescription
New or updated incidentTriggers when an incident is created or updated in ServiceNow
New or updated recordTriggers when a record is created or updated in a selected table in ServiceNow
New or updated recordsTriggers when a batch of records is created or updated in a selected table in ServiceNow
New recordTriggers when a record is created in a selected table in ServiceNow
New recordsTriggers when a batch of records is created in a selected table in ServiceNow
Scheduled record searchExecute query on specified schedule and return results as list of records

Actions 

ActionsDescription
Add comment to itemAdds comment to a item in ServiceNow
Create orderCreates an order in ServiceNow
Create recordCreates a record in a table in ServiceNow
Create record using templateCreates a record using template in ServiceNow
Create userCreates a new user record in the sys_user table in ServiceNow
Delete userDeletes a user record in the sys_user table in ServiceNow
Fetch attachmentsFetches attachments for a given record of the table in ServiceNow
Get attachment contentsGets the contents of a file attachment in ServiceNow
Get comment by Sys IDGets comment by SYS ID from ServiceNow
Get object schemaGets object schema from ServiceNow
Get tableGet a table in ServiceNow
Get tablesGet a table in ServiceNow
Get user by IDGets user by ID from ServiceNow
List service catalog itemsList all the items in service catalogs in ServiceNow
List tablesList all the tables in ServiceNow
Search records using querySearches for records using query in a table in ServiceNow
Update recordUpdates a record in ServiceNow
Update record using templateUpdates a record using template in ServiceNow
Update userUpdates a user in ServiceNow
Upload attachmentUploads an attachment to a given record of a table in ServiceNow