Google Analytics enables you to measure and report on user activity on websites, web and mobile apps, and internet-connected devices.
Emit new event when a monitor run is completed. See the documentation
The Google Analytics API unlocks the power of your analytics data, enabling automated access to custom reports, real-time statistics, and user behavior analysis. With it, you can extract actionable insights, push data to other platforms, and tailor your business strategy with precision. Leveraging Pipedream's serverless platform, these capabilities can be seamlessly integrated into workflows that trigger actions in other apps, send alerts, or even feed data warehouses for deeper analysis.
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}`,
},
})
},
})
The Postman API enables you to automate tasks within your Postman collections, such as running collections, fetching and updating environments, and integrating your API development workflow into your CI/CD pipeline. Using Pipedream, you can harness this functionality to create custom workflows that trigger on various events, process data, and connect with other apps, extending the capabilities of your API testing and development processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postman: {
type: "app",
app: "postman",
}
},
async run({steps, $}) {
const data = {
"auth_token": `=user:NNNNNN`,
}
return await axios($, {
url: `https://api.getpostman.com/me`,
headers: {
"X-Api-Key": `${this.postman.$auth.api_key}`,
},
data,
})
},
})