with Omnisend and The Magic Drip?
Emit new event each time a new contact is created in Omnisend.
Emit new event when a campaign is created. See the documentation
Emit new event when a template is created. 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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
the_magic_drip: {
type: "app",
app: "the_magic_drip",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.themagicdrip.com/v1/campaign`,
headers: {
"x-api-key": `${this.the_magic_drip.$auth.api_key}`,
},
})
},
})