GAIA Logo
PricingDocs
GAIA Logo
  1. Home
  2. Marketplace
  3. Business
posthog Icon

PostHog

Product analytics and experimentation platform - track events, analyze user funnels, run A/B tests, manage feature flags, and query session recordings.

Category
Business
GAIA
Created by
GAIA Team
Auth
No Auth

What you can do with GAIA + PostHog

GAIA connects to PostHog via MCP (Model Context Protocol) and exposes every action as a natural-language command. Tell GAIA what you want and it handles the rest, automatically.

  • Query your PostHog analytics data with plain English — 'how many users signed up this week?'
  • Get conversion funnel analysis and drop-off points from a single question
  • Set up GAIA to deliver daily or weekly product analytics briefings to Slack
  • Investigate user behaviour around a specific feature without writing HogQL
  • Trigger GAIA alerts when key metrics like DAU or conversion rate drop below a threshold

Available Tools (1)

Exec

### Using the `posthog` tool PostHog makes your product self-driving: it reads your data and ships changes with you, never without you. Spans analytics, experiments, flags, replay, and more. Pass CLI-style commands in the `command` parameter for all PostHog interactions. **Requirements** 1. Find unknown tools with `search` or `tools`. 2. Run `info <tool_name>` once if its schema is not in context. Reuse it unless the tool changes or a schema error occurs. Never guess a schema or run `info` before every call. **Commands (in order):** ```text # 1. Find unknown tools posthog:exec({ "command": "search <regex>" }) posthog:exec({ "command": "tools" }) # fallback: list all # 2. Inspect once if the schema is missing posthog:exec({ "command": "info <tool_name>" }) # 3. Drill into complex fields — REQUIRED for any field with a `hint` posthog:exec({ "command": "schema <tool_name> <field_path>" }) # 4. Call; reuse the schema posthog:exec({ "command": "call <tool_name> <json_input>" }) posthog:exec({ "command": "call --json <tool_name> <json_input>" }) ``` **Schema drill-down:** - `info` returns the full schema if it fits the token budget; otherwise it auto-summarizes (names, types, required, enums, defaults) and attaches `hint` entries pointing to `schema <tool> <path>` for complex fields. - `schema <tool>` (no path) returns the summarized top-level schema. - `schema <tool> <path>` resolves a dot path, descending through: - object `properties` (e.g. `query.source`) - array `items` — numeric segments step into items (`events.0.properties`), or jump to a property on the item type (`events.id`) - `anyOf`/`oneOf` — numeric segment picks a variant by index, or a property name matches any object variant defining it - Oversized sub-schemas are also summarized with a `note` to drill further. - Unknown paths return an error listing available child paths. **Not supported:** - `search` matches tool metadata only, not input schemas. - No pattern-based field projection — drill one path at a time.

How it works

Set up your PostHog automation in three simple steps, no code required.

  1. 1

    Connect PostHog to GAIA

    Open the GAIA Marketplace, find PostHog, and click "Add to your GAIA". PostHog connects via MCP — authenticate with your PostHog credentials.

  2. 2

    Ask GAIA about your product analytics

    Say "what's the sign-up to activation conversion rate for users who joined this month?" or "which features have the most usage in the last 7 days?". GAIA queries your PostHog data.

  3. 3

    GAIA surfaces product insights proactively

    Set up analytics workflows — GAIA can send a weekly product metrics summary to Slack, alert you when a key event count drops, or help you investigate anomalies in user behaviour.

Frequently asked questions

Everything you need to know about the GAIA PostHog integration.

Yes. PostHog connects via MCP and requires your PostHog project API key and host URL. These are entered during the GAIA connection setup.



GAIA connects PostHog with your entire stack

PostHog is just one piece of the puzzle. GAIA integrates with 50+ tools across business, communication, productivity, and more, letting you build cross-tool automations in plain English without writing a single line of code.

Browse all integrations
Product
DownloadUse CasesMarketplaceBotsPricingRoadmap
Resources
DocumentationBlogRelease NotesStatusRequest a Feature
Company
AboutManifestoContactBranding
Legal
Terms of UsePrivacy Policy
The Experience Company Inc.
Discord IconTwitter IconGithub IconWhatsapp IconYoutube IconLinkedin Icon