with Lemon Squeezy and Outseta?
Emit new event when a new subscription is cancelled.
Emit new event when a new subscription is created.
Emit new event when an account is added. See the documentation
The Lemon Squeezy API lets you manage and sell digital products with ease. On Pipedream, you can integrate Lemon Squeezy with your sales, marketing, and support tools to automate tasks like customer follow-ups, license management, and sales reporting. With Pipedream's serverless platform, you can create workflows that trigger on Lemon Squeezy events or schedule tasks, process data, and connect to a vast array of other apps and services without writing backend infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lemon_squeezy: {
type: "app",
app: "lemon_squeezy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lemonsqueezy.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.lemon_squeezy.$auth.api_key}`,
"Accept": `application/vnd.api+json`,
"Content-Type": `application/vnd.api+json`,
},
})
},
})
The Outseta API provides a versatile set of endpoints for interacting with a company's CRM, subscription billing, customer support, and email marketing functionalities. With this API on Pipedream, you can automate tasks, synchronize data across platforms, and build powerful workflows that cater to various aspects of SaaS business operations. Pipedream's serverless execution model enables integrating Outseta's services with numerous other apps without managing infrastructure, focusing on logic and efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
outseta_: {
type: "app",
app: "outseta",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.outseta.$auth.domain}.outseta.com/api/v1/crm/people`,
headers: {
"Authorization": `Outseta ${this.outseta.$auth.api_key}:${this.outseta.$auth.api_secret}`,
"Content-Type": `application/json`,
},
})
},
})