HumanLayer

API and SDK that enables AI Agents to contact humans for feedback, input, and approvals.

Integrate the HumanLayer API with the ServiceNow API

Setup the HumanLayer API trigger to run a workflow which integrates with the ServiceNow API. Pipedream's integration platform allows you to integrate HumanLayer and ServiceNow remarkably fast. Free for developers.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Table Record with the ServiceNow API

Inserts one record in the specified table.

 
Try it
Get Table Record By SysId with the ServiceNow API

Retrieves the record identified by the specified sys_id from the specified table.

 
Try it
Get Table Records with the ServiceNow API

Retrieves multiple records for the specified table.

 
Try it
Update Table Record with the ServiceNow API

Updates the specified record with the name-value pairs included in the request body.

 
Try it

Connect HumanLayer

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    humanlayer: {
      type: "app",
      app: "humanlayer",
    }
  },
  async run({steps, $}) {
    const data = {
      "run_id": "run_120", //adjust your run and call ids
      "call_id": "call_640",
      "spec": {
        "msg": "Can someone approve this small typo fix PR? Just stumbled upon those while testing other stuff?",
        "subject": "Small PR fix",
        "channel": {
          "email": {
            "address": "superman@pd.com",
            "subject": "Small PR fix",
            "in_reply_to": "msg_790"
          }
        }
      }
    }
    return await axios($, {
      method: "post",
      url: `https://api.humanlayer.dev/humanlayer/v1/human_contacts`,
      headers: {
        Authorization: `Bearer ${this.humanlayer.$auth.api_key}`,
        "content-type": `application/json`,
      },
      data,
    })
  },
})

Overview of ServiceNow

The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.

Connect ServiceNow

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    servicenow: {
      type: "app",
      app: "servicenow",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
      headers: {
        Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo