with PostHog and Teamup?
Emit new event when an event is created or updated on a specified calendar.
Emit new event when an action is performed in a project. See the documentation
Captures a given event within the PostHog system. See the documentation
Deletes an existing event on a specified calendar. See the documentation
The PostHog API lets you track events, update user properties, and extract analytics to understand user behavior within your applications. Integrating this API into Pipedream workflows allows you to automate actions based on event data, sync user properties across platforms, and trigger alerts or notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
posthog: {
type: "app",
app: "posthog",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.posthog.com/api/users/@me/`,
headers: {
Authorization: `Bearer ${this.posthog.$auth.api_key}`,
},
})
},
})
The TeamUp API provides an interface to interact with TeamUp's calendar services, allowing for robust management of schedules, events, and calendars. Leveraging this API within Pipedream, you can create automated workflows that handle event synchronization, notifications, and calendar data manipulation. Pipedream's serverless platform facilitates seamless integration with various services to enhance the capabilities of TeamUp, such as triggering actions on a schedule or in response to events, and connecting with other apps like Slack or Google Sheets for extended functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
teamup: {
type: "app",
app: "teamup",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.teamup.com/check-access`,
headers: {
"Teamup-Token": `${this.teamup.$auth.api_key}`,
},
})
},
})