with Postman and Zuora Billing?
Emit new event when a monitor run is completed. See the documentation
Updates a specific environment variable in Postman. See the documentation
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,
})
},
})
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`,
},
})
},
})