with Recurly and Zuora Billing?
Emit new event when a new subscription is created. See the docs
Emit new event when a new transaction is created. See the docs
Recurly API provides robust functionality for subscription management, including creating and updating customer accounts, managing billing information, and handling subscription lifecycle events. With Pipedream, you can leverage these capabilities to create automated workflows that respond to events in Recurly, sync data with other systems, and perform actions that enhance your subscription operations and customer experiences.
module.exports = defineComponent({
props: {
recurly: {
type: "app",
app: "recurly",
}
},
async run({steps, $}) {
const recurly = require('recurly')
const client = new recurly.Client(this.recurly.$auth.api_key)
return await client.listAccounts()
},
})
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`,
},
})
},
})