with Chargebee and Zoho Invoice?
Emit new event when a customer card has expired. See the Documentation. Please make sure once you deploy this source, you copy/paste the webhook URL to create it in your Chargebee Webhook settings
Triggers when a new estimate is created. See the documentation
Emit new event when a customer is changed. See the Documentation. Please make sure once you deploy this source, you copy/paste the webhook URL to create it in your Chargebee Webhook settings
Triggers when a new invoice is created in Zoho Invoice. See the documentation
Emit new event when a new customer is created. See the Documentation. Please make sure once you deploy this source, you copy/paste the webhook URL to create it in your Chargebee Webhook settings
Creates a new estimate in Zoho Invoice. See the documentation
Create a new subscription for an existing customer. See the documentation
Creates a new invoice in Zoho Invoice. See the documentation
The Chargebee API provides a suite of powerful endpoints that facilitate automation around subscription billing, invoicing, and customer management. By leveraging this API on Pipedream, you can build complex, event-driven workflows that react to subscription changes, automate billing operations, sync customer data across platforms, and trigger personalized communication, all without managing servers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chargebee: {
type: "app",
app: "chargebee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.chargebee.$auth.sub_url}.chargebee.com/api/v2/subscriptions`,
auth: {
username: `${this.chargebee.$auth.api_key}`,
password: ``,
},
})
},
})
The Zoho Invoice API offers a suite of tools to automate the invoicing and billing processes. With this API, you can create and manage customers, invoices, and payments. On Pipedream, you can harness these capabilities to build workflows that trigger on specific events, such as new invoice creation, or scheduled tasks that could, for example, follow up on unpaid invoices. Due to its serverless architecture, Pipedream ensures each step of your workflow runs only when needed, saving resources and time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_invoice: {
type: "app",
app: "zoho_invoice",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.zoho_invoice.$auth.api_domain}/invoice/v3/users/me`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_invoice.$auth.oauth_access_token}`,
"X-com-zoho-invoice-organizationid": `${this.zoho_invoice.$auth.organization_id}`,
},
})
},
})