with Opsgenie and Zuora Billing?
Adds a note to an existing alert in Opsgenie. See the documentation
Get the status of the alert with the specified ID. See the documentation
The Opsgenie API enables automated incident management and alerting to streamline response actions. It allows you to create, update, and manage alerts, as well as configure and query users, schedules, and on-call rotations. Integrating Opsgenie with Pipedream opens up possibilities for orchestrating complex workflows, such as incident triggering from various sources, auto-update of tickets, synchronization with other tools, and much more, all in a serverless environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
opsgenie: {
type: "app",
app: "opsgenie",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.opsgenie.$auth.instance_region}.opsgenie.com/v2/teams`,
headers: {
"Authorization": `GenieKey ${this.opsgenie.$auth.api_key}`,
},
})
},
})
Zuora Billing API grants the power to automate complex billing processes, manage subscriptions, and handle payments with ease. On Pipedream, you can craft workflows that react to events in Zuora, synchronize data across multiple platforms, and perform actions based on specific triggers. For instance, you can update a CRM record when a subscription is renewed, send out custom email alerts on payment failures, or generate detailed financial reports by aggregating billing data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zuora: {
type: "app",
app: "zuora",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.zuora.$auth.api_tenant_environment}/v1/catalog/products`,
headers: {
Authorization: `Bearer ${this.zuora.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
})
},
})