with Celonis EMS and ServiceNow?
The Celonis EMS API allows you to harness the power of process mining and execution management within your workflows. Integrated within Pipedream, this API enables you to automate actions based on process insights, such as identifying bottlenecks and initiating corrective measures. You can trigger workflows from Celonis data, send data back into Celonis for deeper analysis, or even mix data from different sources for rich, actionable insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
celonis_ems: {
type: "app",
app: "celonis_ems",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.celonis_ems.$auth.team}.${this.celonis_ems.$auth.cluster}.celonis.cloud/intelligence/api/knowledge-models`,
headers: {
Authorization: `Bearer ${this.celonis_ems.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})