with Acumbamail and Hotmart?
Get sales commission information for sale participants. See the documentation
Retrieve sales history from the Hotmart account. See the documentation
Acumbamail API offers a suite of features to automate email marketing workflows. It enables users to create, send, and manage email campaigns, subscriber lists, and reports. Using Acumbamail with Pipedream, you can listen to various triggers, such as new subscribers or campaign status updates, and initiate actions in other apps. This integration facilitates seamless synchronization of your email marketing efforts with CRM systems, customer databases, or any other tools in your business stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
acumbamail: {
type: "app",
app: "acumbamail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://acumbamail.com/api/1/getLists/`,
params: {
auth_token: `${this.acumbamail.$auth.auth_token}`,
},
})
},
})
The Hotmart API connects you to a platform where creators sell and distribute digital products. With Pipedream, you can automate actions within Hotmart or sync its data with other apps. For example, you might automate participant registration for a course after a new sale or update customer info across your CRM system. The API provides endpoints to manage products, sales, and affiliates, offering vast possibilities for integration and automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hotmart: {
type: "app",
app: "hotmart",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.hotmart.$auth.environment}.hotmart.com/payments/api/v1/subscriptions?status={{your_status}}`, //ex. status=ACTIVE
headers: {
Authorization: `Bearer ${this.hotmart.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
})
},
})