Data & Analytics502 toolsPaste one API key
PostHog integration for AI agents
Track user behavior and feature flags
Use it from your agent
One ClawLink account serves every agent you run. Pick the guide for yours, or connect PostHog once and call the same tools from all of them.
Setup
Connect PostHog through ClawLink's hosted setup to manage feature flags, experiments, insights, cohorts, events, dashboards, session recordings, and surveys from your PostHog organization.
- Auth: Paste one API key. The credential stays on the ClawLink server; your agent holds only a ClawLink key you can revoke.
- Where: the ClawLink dashboard, or ask your agent to connect it.
What your agent can do
PostHog exposes 502 tools through ClawLink. The 30 most used are listed here; your agent sees all of them.
| Tool | What it does | Kind |
|---|---|---|
posthog_get_event_definitions | List event definitions in a PostHog project | Read |
posthog_get_experiment_details | Get details for a specific experiment | Read |
posthog_get_experiments_stats | Get statistics for experiments | Read |
posthog_get_feature_flag_details | Get details for a specific feature flag | Read |
posthog_get_feature_flag_status | Get the status of a feature flag | Read |
posthog_get_funnel_insights_in_project | Get funnel insights in a PostHog project | Read |
posthog_get_group_property_definitions | Get group property definitions | Read |
posthog_get_project_person_trends | Get person trends for a PostHog project | Read |
posthog_list_and_manage_project_feature_flags | List feature flags in a PostHog project | Read |
posthog_list_groups_by_type | List groups by type in a PostHog project | Read |
posthog_list_organization_members | List members of your PostHog organization | Read |
posthog_list_organization_projects | List all projects in your PostHog organization | Read |
posthog_list_project_actions | List actions in a PostHog project | Read |
posthog_list_project_dashboards | List dashboards in a PostHog project | Read |
posthog_list_project_experiments | List A/B experiments in a PostHog project | Read |
posthog_list_project_session_recordings | List session recordings in a PostHog project | Read |
posthog_list_project_surveys | List surveys in a PostHog project | Read |
posthog_check_pipeline_destination_updates | Check for available updates to a pipeline destination plugin by comparing the currently | Read |
posthog_check_pipeline_import_app_updates | Retrieve the latest update information for a specific pipeline import app by its ID within an | Read |
posthog_check_pipeline_plugin_update_status | Get update status for a specific pipeline transformation plugin by its unique ID within an | Read |
posthog_check_project_demo_data_generation_status | Check if a project is currently generating demo data | Read |
posthog_create_llm_analytics_summarization | Generate an AI-powered summary of an LLM trace or event | Write |
posthog_create_llm_analytics_text_representation | Generate human-readable text representations of LLM trace events for display, logging, or | Write |
posthog_create_person_path | Retrieve path analytics for a specific person within a PostHog project | Write |
posthog_create_project_retention_insight | Create and retrieve retention insights for a project using PostHog's Query API | Write |
posthog_create_query_in_project_by_id | The `/api/projects/{project_id}/query/` POST endpoint allows users to submit queries for a | Write |
posthog_create_session_recording_summary | Generate an AI-powered summary for a session recording | Write |
posthog_generate_insight_name | Generate an AI-suggested name for a PostHog insight based on its query configuration | Read |
posthog_generate_project_funnel_correlation_insight | The /api/projects/{project_id}/insights/funnel/correlation endpoint generates a correlation | Read |
posthog_get_app_metrics | Retrieve performance and error metrics for a specific plugin configuration (app) in a PostHog | Read |