Mailchimp is a marketing automation and email marketing platform.
Get a unique address where you can send emails to trigger your workflow.
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
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.
Adds a new subscriber to an audience or updates existing subscriber. See docs here
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}`,
},
})
},
})
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});