with Celonis EMS and Postman?
Emit new event when a monitor run is completed. See the documentation
Updates a specific environment variable in Postman. See the documentation
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 Postman API enables you to automate tasks within your Postman collections, such as running collections, fetching and updating environments, and integrating your API development workflow into your CI/CD pipeline. Using Pipedream, you can harness this functionality to create custom workflows that trigger on various events, process data, and connect with other apps, extending the capabilities of your API testing and development processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postman: {
type: "app",
app: "postman",
}
},
async run({steps, $}) {
const data = {
"auth_token": `=user:NNNNNN`,
}
return await axios($, {
url: `https://api.getpostman.com/me`,
headers: {
"X-Api-Key": `${this.postman.$auth.api_key}`,
},
data,
})
},
})