with Mailchimp and NioLeads?
Emit new event when a new contact 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.
Finds a business email address using a full name and a website domain. See the documentation
Adds a new note to an existing subscriber. See docs here
Checks the deliverability of a specified email address. See the documentation
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nioleads: {
type: "app",
app: "nioleads",
}
},
async run({steps, $}) {
const data = {
"email": `support@pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://api.nioleads.com/v1/openapi/verify_email`,
headers: {
Authorization: `Bearer ${this.nioleads.$auth.api_key}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
data,
})
},
})