The YouTube Reporting and YouTube Analytics APIs let you retrieve YouTube Analytics data to automate complex reporting tasks, build custom dashboards, and much more.
Creates or updates a contact based on email address within Flexmail. See the documentation
Adds a contact to an interest area. See the documentation
Performs unsubscribe operation for a contact. See the documentation
The YouTube Analytics API enables you to pull complex, insightful data regarding your YouTube channel's performance, audience demographics, and engagement metrics. It's a goldmine for content creators looking to refine their content strategy based on solid data. Using Pipedream, you can automate the extraction of these analytics, set up real-time alerts, or synchronize this data with other tools for enhanced reporting and decision-making.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
youtube_analytics_api: {
type: "app",
app: "youtube_analytics_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.youtube_analytics_api.$auth.oauth_access_token}`,
},
})
},
})
Flexmail API offers a way to automate your email marketing campaigns by allowing you to manage contacts, send out emails, and track results. With Pipedream's ability to integrate with hundreds of services, you can set up complex workflows that respond to events from various apps by updating contact lists, sending personalized content, or triggering sequences of marketing actions based on user behavior or data changes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
flexmail: {
type: "app",
app: "flexmail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.flexmail.eu`,
auth: {
username: `${this.flexmail.$auth.account_id}`,
password: `${this.flexmail.$auth.personal_access_token}`,
},
})
},
})