Mailchimp is a marketing automation and email marketing platform.
Adds a new note to an existing subscriber. See docs here
Return report metrics based on a start and end date. See the docs here
The Mailchimp API is a powerful tool that can be used to build all sorts of
applications and integrations. With it, you can manage subscribers, send
emails, and track engagement. Some examples of what you can build with the
Mailchimp API include:
These are just a few examples of what you can build with the Mailchimp API.
With a little creativity, the possibilities are endless!
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 Google Analytics API lets you access data from your Google Analytics
account to build custom reports and dashboards. With the API, you can query
data from your account, customize the data returned, and access data in real
time.
Here are some examples of what you can build with the Google Analytics API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_analytics: {
type: "app",
app: "google_analytics",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_analytics.$auth.oauth_access_token}`,
},
})
},
})