with Qntrl and ServiceNow?
Emit new event when a comment is posted to a job. See the documentation
The Qntrl API offers a powerful way to manage and automate your organization's workflows and processes directly within Pipedream. With this API, you can create, update, retrieve, and manage cards, orchestrate workflows, and synchronize data across different systems. Harness the power of Pipedream to integrate Qntrl with various apps and services, enabling seamless data flow and enhanced productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
qntrl: {
type: "app",
app: "qntrl",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://coreapi.qntrl.com/blueprint/api/user/myinfo`,
headers: {
Authorization: `Bearer ${this.qntrl.$auth.oauth_access_token}`,
},
})
},
})
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.
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}`,
},
})
},
})