Mailchimp is a marketing automation and email marketing platform.
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.
Emit new event when a new file is added to the File Manager of the connected Mailchimp account.
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}`,
},
})
},
})
The SmugMug API provides programmatic access to a user's SmugMug account, allowing them to manage photos, albums, and account settings. With Pipedream, you can automate tasks such as uploading new images, synchronizing photo galleries with other platforms, or triggering actions based on account activity. The API's capabilities paired with Pipedream's serverless platform enable you to craft custom workflows that react to events in SmugMug or orchestrate tasks across multiple apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smugmug: {
type: "app",
app: "smugmug",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smugmug.com/api/v2!authuser`,
headers: {
"Accept": `application/json`,
},
}, {
token: {
key: this.smugmug.$auth.oauth_access_token,
secret: this.smugmug.$auth.oauth_refresh_token,
},
oauthSignerUri: this.smugmug.$auth.oauth_signer_uri,
})
},
})