with Celonis EMS and Xendit?
Emit new event when an invoice is created. 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}`,
},
})
},
})
Leveraging the Xendit API on Pipedream, you can automate an array of financial tasks related to payments, disbursements, and accounting. Xendit simplifies handling transactions in Southeast Asia, offering services such as direct debit, credit card processing, and real-time payment tracking. By connecting it with Pipedream, you can create powerful workflows that trigger actions based on payment events, sync transaction data with other business systems, and streamline notification processes for financial operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
xendit: {
type: "app",
app: "xendit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.xendit.co/balance`,
auth: {
username: `${this.xendit.$auth.secret_key}`,
password: ``,
},
})
},
})