Product Analytics? Session Recording? Feature Flags? Experiments? PostHog does that. Open source, backed by @ycombinator
Go to siteThe 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}`,
},
})
},
})
Automated Feature Flags Update: Use PostHog to monitor application usage and automatically update feature flags based on user interaction data. When a specific event is tracked, like reaching a milestone in-app, a workflow can trigger a change in feature access for the user.
Slack Notifications for User Milestones: Set up a workflow that listens for PostHog events indicating a user has achieved a particular milestone. When the event is captured, an automated notification can be sent to a Slack channel, keeping the team informed of user achievements in real-time.
Sync User Data with CRM: When PostHog identifies changes in user properties, such as updates to contact information or user preferences, trigger a workflow that syncs this new data with a CRM like Salesforce. This ensures that your user data is consistent and up-to-date across all business platforms.
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
PostHog uses API keys for authentication. When you connect your PostHog account, Pipedream securely stores the keys so you can easily authenticate to PostHog APIs in both code and no-code steps.
To retrieve your API Key,