Cody

The magic of ChatGPT meets the expertise of a custom-made AI assistant trained on your specific business.

Integrate the Cody API with the ServiceNow API

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

Create Document with the Cody API

Turn text content into a document and add it directly to your knowledge base. See the documentation

 
Try it
Create Table Record with the ServiceNow API

Inserts one record in the specified table.

 
Try it
Send Message with the Cody API

Send your message and receive the AI-generated response. See the documentation

 
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

Connect Cody

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: {
    cody: {
      type: "app",
      app: "cody",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://getcody.ai/api/v1/bots`,
      headers: {
        Authorization: `Bearer ${this.cody.$auth.api_key}`,
      },
    })
  },
})

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}`,
      },
    })
  },
})