with Omnisend and Beehiiv?
Starts a marketing campaign for selected subscribers. See the documentation
Modify subscriber information or update their subscription status. See the documentation
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}`,
},
})
},
})
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}`,
},
})
},
})