with Beehiiv and Systeme.io?
The Beehiiv API lets you seamlessly manage your email newsletter platform, enabling tasks such as subscriber management, campaign analytics, and content automation. With Beehiiv on Pipedream, you can connect your newsletter operations with other apps and services, automate routine tasks, and enhance your email marketing workflows with real-time data processing and event-driven triggers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
beehiiv: {
type: "app",
app: "beehiiv",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.beehiiv.com/v2/publications`,
headers: {
Authorization: `Bearer ${this.beehiiv.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
systeme_io: {
type: "app",
app: "systeme_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.systeme.io/api/contacts`,
headers: {
"x-api-key": `${this.systeme_io.$auth.api_key}`,
},
})
},
})