Product analytics and feature management
PostHog is a Sim integration in the Analytics category. Sim is the AI workspace where teams build and deploy AI agents. Sim's PostHog integration provides 48 tools that AI agents can use inside Sim's visual workflow builder. PostHog connects with an API key. Free to start at sim.ai.
Last updated
Integrate PostHog into your workflow. Track events, manage feature flags, analyze user behavior, run experiments, create surveys, and access session recordings.
Sign up at sim.ai in seconds. No credit card required. Your workspace is ready immediately.
Open your workspace, drag a PostHog block onto the workflow builder, and paste in your PostHog API key.
Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your PostHog automation is live.
Ready-to-use templates featuring PostHog. Click any to build it instantly.
48 PostHog tools available to Sim agents.
Capture a single event in PostHog. Use this to track user actions, page views, or custom events.
Capture multiple events at once in PostHog. Use this for bulk event ingestion to improve performance.
List persons (users) in PostHog. Returns user profiles with their properties and distinct IDs.
Get detailed information about a specific person in PostHog by their ID or UUID.
Delete a person from PostHog. This will remove all associated events and data. Use with caution.
Execute a HogQL query in PostHog. HogQL is PostHog's SQL-like query language for analytics. Use this for advanced data retrieval and analysis.
List all insights in a PostHog project. Returns insight configurations and metadata.
Get a specific insight by ID from PostHog. Returns detailed insight configuration and metadata.
Create a new insight in PostHog. Requires insight name and a query configuration.
Update an existing insight in PostHog. Can modify name, description, query, dashboards, tags, and favorited status.
List all dashboards in a PostHog project. Returns dashboard configurations, tiles, and metadata.
Get a specific dashboard by ID from PostHog. Returns detailed dashboard configuration, tiles, and metadata.
Create a new dashboard in PostHog. Optionally seed it from a built-in template, then attach insights to it afterward.
List all actions in a PostHog project. Returns action definitions, steps, and metadata.
List all cohorts in a PostHog project. Returns cohort definitions, filters, and user counts.
Get a specific cohort by ID from PostHog. Returns detailed cohort definition, filters, and user count.
Create a new cohort in PostHog. Requires cohort name and filter or query configuration.
Update an existing cohort in PostHog. Can modify name, description, filters, query, static membership, and deleted status.
List all annotations in a PostHog project. Returns annotation content, timestamps, and associated insights.
Create a new annotation in PostHog. Mark important events on your graphs with date and description.
List all feature flags in a PostHog project
Get details of a specific feature flag
Create a new feature flag in PostHog
Update an existing feature flag in PostHog
Delete a feature flag from PostHog
Evaluate feature flags for a specific user or group. This is a public endpoint that uses the project API key.
List all experiments in a PostHog project
Get details of a specific experiment
Create a new experiment in PostHog
Update an existing experiment in PostHog. Use this to change dates, archive an experiment, or adjust its parameters and filters.
List all surveys in a PostHog project. Surveys allow you to collect feedback from users.
Get details of a specific survey in PostHog by ID.
Create a new survey in PostHog. Supports question types: Basic (open), Link, Rating, and Multiple Choice.
Update an existing survey in PostHog. Can modify questions, appearance, conditions, and other settings.
Delete a survey from PostHog. Use this to remove expired or unused surveys.
List session recordings in a PostHog project. Session recordings capture user interactions with your application.
Get details of a specific session recording in PostHog by ID.
List session recording playlists in a PostHog project. Playlists allow you to organize and curate session recordings.
List all event definitions in a PostHog project. Event definitions represent tracked events with metadata like descriptions, tags, and usage statistics.
Get details of a specific event definition in PostHog. Returns comprehensive information about the event including metadata, usage statistics, and verification status.
Update an event definition in PostHog. Can modify description, tags, and verification status to maintain clean event schemas.
List all property definitions in a PostHog project. Property definitions represent tracked properties with metadata like descriptions, tags, types, and usage statistics.
Get details of a specific property definition in PostHog. Returns comprehensive information about the property including metadata, type, usage statistics, and verification status.
Update a property definition in PostHog. Can modify description, tags, property type, and verification status to maintain clean property schemas.
List all projects in the organization. Returns project details including IDs, names, API tokens, and settings. Useful for getting project IDs needed by other endpoints.
Get detailed information about a specific project by ID. Returns comprehensive project configuration, settings, and feature flags.
List all organizations the user has access to. Returns organization details including name, slug, membership level, and available product features.
Get detailed information about a specific organization by ID. Returns comprehensive organization settings, features, usage, and team information.
Sim's PostHog integration adds 48 tools to the AI agents you build in Sim's visual workflow builder. Product analytics and feature management.