with Amplitude and Daily?
Sends user event data to Amplitude for analytics. See the documentation
The Amplitude API empowers you to sync and analyze product data within Amplitude's analytics platform. With Pipedream, you can automate interactions with the Amplitude API to create complex workflows. Send event and user data, query metrics, and automate cohort analysis, which can streamline your data science and product development processes. Integrating Amplitude with Pipedream allows you to connect this data to hundreds of other services for enhanced analytics, marketing automation, and personalized customer experiences.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
amplitude: {
type: "app",
app: "amplitude",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.amplitude.$auth.region}/sessions/average`,
auth: {
username: `${this.amplitude.$auth.api_key}`,
password: `${this.amplitude.$auth.api_secret}`,
},
params: {
"p": `platform`,
start: `20210601`,
end: `20210630`,
},
})
},
})
Daily API offers a suite of powerful video and audio capabilities, enabling the creation, management, and customization of real-time video and audio calls directly within your applications. Pipedream, as a serverless integration and automation platform, empowers users to connect Daily with various other apps to automate workflows. Whether you're looking to synchronize meeting data with project management tools, kick off post-meeting workflows, or manage recordings at scale, Pipedream provides the infrastructure to streamline these processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
daily: {
type: "app",
app: "daily",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.daily.co/v1/`,
headers: {
Authorization: `Bearer ${this.daily.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})