with Omnisend and ChartMogul?
Adds custom attributes to customers that have the specified email address. See the docs here
Adds custom attributes to a given customer. See the docs here
Starts a marketing campaign for selected subscribers. See the documentation
Adds tags to customers that have the specified email address. See the docs here
Omnisend's API lets you automate email marketing by integrating with your e-commerce platform. You can sync subscriber lists, trigger personalized emails based on customer behavior, and track results. With Pipedream, you can seamlessly connect Omnisend to a plethora of other services, creating custom workflows. This means you can automate follow-ups, update databases, or kick off multi-step sequences with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
omnisend: {
type: "app",
app: "omnisend",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.omnisend.com/v3/contacts`,
headers: {
"X-API-KEY": `${this.omnisend.$auth.api_key}`,
},
})
},
})
ChartMogul is an analytics platform designed to help subscription businesses analyze their revenue, churn, and other key performance indicators (KPIs). By leveraging the ChartMogul API, you can import, manipulate, and retrieve customer subscription data to gain insights into the financial health of your business. When used with Pipedream, you can automate complex workflows, combine subscription data with external tools, and react in real-time to changes in your subscription metrics.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chartmogul: {
type: "app",
app: "chartmogul",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.chartmogul.com/v1/ping`,
auth: {
username: `${this.chartmogul.$auth.account_token}`,
password: `${this.chartmogul.$auth.secret_key}`,
},
})
},
})