with Chargebee and Google Analytics?
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
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
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
Emit new event when the selected event is triggered. 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
Create a new subscription for an existing customer. See the documentation
Return report metrics based on a start and end date. See the docs here
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 Google Analytics API unlocks the power of your analytics data, enabling automated access to custom reports, real-time statistics, and user behavior analysis. With it, you can extract actionable insights, push data to other platforms, and tailor your business strategy with precision. Leveraging Pipedream's serverless platform, these capabilities can be seamlessly integrated into workflows that trigger actions in other apps, send alerts, or even feed data warehouses for deeper analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_analytics: {
type: "app",
app: "google_analytics",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_analytics.$auth.oauth_access_token}`,
},
})
},
})