ServiceNow Integration
Michael Donlin avatar
Written by Michael Donlin
Updated over a week ago

ServiceNow Integration

Integrate Jeli and ServiceNow using the power of Jeli's webhooks and public API. With this integration you can:

  • automatically create a ticket in ServiceNow when an incident is opened in Jeli

  • automatically update your ServiceNow ticket as the incident progresses

  • trigger the creation of a Jeli incident from ServiceNow, moving from queue to coordination quickly and easily

Create a ServiceNow ticket when an incident is opened in Jeli

ServiceNow configuration

The following instructions are based on ServiceNow Vancouver. Configuration in your specific ServiceNow version and instance may vary.

  1. Add a new Jeli Incident ID field to your Incident object in ServiceNow

    1. Navigate to System Definition -> Tables -> Search for and select Incident

    2. Select New to add a new field to the Incident table

      Type: Integer
      Column label: Jeli Incident ID
      Column name: u_jeli_incident_id

  2. Navigate to System Web Services -> Scripted REST APIs and select New

  3. Create a new Scripted REST Service by providing a name and API ID. You could name this service, Jeli Incoming Webhooks, for example.

  4. From your new Scripted REST Service, under the Resources tab, select New

  5. From your new Scripted REST Resource, enter the following information:

    Name: Open Incident
    HTTP Method: POST
    Relative path: /open
    Security tab: Uncheck Requires authentication

    Script:

    Please see the attachment to this help article, file name create_incident_in_servicenow.txt



    Note on configuration: The create_incident_in_servicenow script has a jeliApiKey variable that needs to be configured. See our API docs for instructions on generating an API key, then update this script to include that value.

  6. Navigate back to your newly created Scripted REST Service and note the Resource path for your Open Incident resource.

Jeli Configuration

  1. Navigate to Settings -> Webhooks in the Jeli web app and select Add webhook

  2. Create a new webhook with the following settings:


    Webhook URL: https://<url of your servicenow instance>/<resource path from Step 6 above>

    For example, your webhook URL will look something like: https://dev00000.service-now.com/api/1124078/jeli_incoming_webhooks/open

    Enabled Upon Creation: Enabled

    Event Type Filtering: Select incident.created


Now go create an incident in Jeli and you will see a new ServiceNow incident ticket has been created!

Create a Jeli incident from a ServiceNow ticket

ServiceNow configuration

  1. Navigate to System UI -> UI Actions and select New

  2. Configure the UI Action

    Name: Coordinate with Jeli
    Table: Incident
    Action name: Coordinate_With_Jeli
    Show insert: Disable
    Show update: Enable
    Client: Enable
    Form button: Enable

    Onclick: OpenJeliIncident()
    Script:

    Please see the attachment to this help article, file name open_jeli_incident_from_servicenow.txt


    Note on configuration: The open_jeli_incident_from_servicenow script has a jeliApiKey variable that needs to be configured. See our API docs for instructions on generating an API key, then update this script to include that value.

  3. You will now see a Coordinate with Jeli button on your incident form. Clicking this will create an incident in Jeli and Slack, and update the ServiceNow record to include the Jeli incident ID.

Did this answer your question?