with Waitlist and Mailchimp?
Emit new event each time a waitlist is created. See the documentation
Emit new event each time a subscriber is added. See the documentation
Emit new event when a recipient clicks a pre-specified link in an specific campaign.
Emit new event when an audience is added to the connected Mailchimp account.
Adds a new note to an existing subscriber. See docs here
Adds a new subscriber to an audience or updates existing subscriber. See docs here
Adds an email address to a tag within an audience. See docs here
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
waitlist: {
type: "app",
app: "waitlist",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getwaitlist.com/api/v1/waitlist`,
headers: {
"Content-Type": `application/json`,
"api-key": `${this.waitlist.$auth.api_key}`,
},
})
},
})
The Mailchimp API taps into the heart of your email marketing efforts, allowing you to manage subscribers, campaigns, and reports. With the API, you can automate tasks like syncing subscriber lists, segmenting contacts based on behavior, and personalizing email content to match user profiles. It's a powerful tool for marketers looking to fine-tune their email strategy and maximize engagement.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailchimp: {
type: "app",
app: "mailchimp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://login.mailchimp.com/oauth2/metadata`,
headers: {
Authorization: `Bearer ${this.mailchimp.$auth.oauth_access_token}`,
},
})
},
})