New Introducing Gleap 2: AI customer support that runs itself. Learn more
Solutions
By business
SaaS and softwareAI support that ships fixesE-commerceOrders, returns and refunds, handledEnterpriseSecurity, scale and your rulesSmall businessesEvery call, booking and bill answeredVibe-coded appsSupport and bug fixing for your appStartupsHalf price for your first year
By industry
Banks and fintechTelecomInsurance
By job
Answer customers 24/7Orders, returns and refundsBilling and subscriptionsCalls and bookingsBug reports to fixesFeedback to roadmap
A Dutch online training shop
77%
of conversations need no person
Read the story
Product
→Kai SupportAnswers your customers, day and night →Kai CopilotYour team’s assistant on every page →Kai CodeTurns bug reports into pull requests →Kai VoicePicks up every call, day and night
Support
AI help deskShared inboxHelp centerSupport workflowsCRM pipelines
Channels
Live chatWhatsAppMultichannel support
Product feedback
In-app bug reportingSession replayCustomer feedbackPublic roadmapRelease notesSurveys
Engagement
In-app messagesProduct toursOnboarding checklistsSequencesMarketing automation
Platform
Platform overviewCustom agentsIntegrationsMCP serverMobile app
From bug to fix
Investigate the report, review the fix and update the customer.
See how
Pricing
Resources
Customer storiesDocumentationDownloadsMobile appChangelogsStatus pageFor startupsBlog
Learn
Self-driving developmentCustomer feedback loopPlatform overview
Company
CareersContactBook a demo
Customer stories
See how teams improve customer support with Gleap.
Read stories
LoginStart free trial
Login
Start free trial
Integrations
PostHog
Composio
Data
PostHog logo

PostHog integration for AI agents

Let Gleap AI agents find a customer's PostHog recordings and events, check feature flag rollouts and annotate releases on your charts.

A Gleap custom agent can query PostHog through Composio: persons, events, session recordings, feature flags and insights. It helps engineering and support teams connect a customer’s report to what PostHog recorded.

What a Gleap agent can do in PostHog

  • Find the recordings: List project session recordings returns a project’s recordings, so the agent can point the engineer to sessions from the person who reported the bug.
  • Check a rollout: Retrieve feature flag details shows a flag’s release conditions, which explains why one customer sees a feature and another does not.
  • Count affected users: Create query in project by id runs a query, for example how many people hit the same error event this week.
  • Annotate a release: The annotation actions add a note to your charts once your team confirms a fix is live.

Example: A feature that one account cannot see

A customer reports in Gleap that the new billing page still shows the old layout. The engineer asks the agent to check. The agent reads the rollout conditions of the billing flag in PostHog, finds the customer’s company outside the rollout and lists recordings from the customer’s recent sessions. The engineer decides whether to change the flag.

How to connect PostHog

  1. In Gleap, open AI & Automation > Agents and select a custom agent, or create one.
  2. In its Tools section, click Add tool and search for “PostHog”.
  3. Pick PostHog under More integrations and click Connect PostHog.
  4. Paste a PostHog personal API key into the form Gleap shows and connect.
  5. Open the new PostHog tool and switch off every action the agent does not need, such as Bulk delete feature flags or Delete session recording by uuid.
  6. Tell the agent in its instructions when to use PostHog, then test it in chat.

Custom agents are included in the Team, Pro and Enterprise plans. Kai Support can use connected apps as tools on Team, Pro and Enterprise. Kai Code, also on those plans, can use PostHog in coding sessions once you add it under Settings > MCP in Kai Code.

FAQ

Does Gleap integrate with PostHog?

Yes, through Composio. The PostHog toolkit covers persons, cohorts, events, insights, session recordings, feature flags, annotations and more. A Gleap custom agent reads or changes PostHog only when it runs and uses an action you allowed.

Does Gleap connect to PostHog through MCP?

Yes. Gleap connects to Composio’s MCP server for PostHog with the PostHog account you connect, and the agent calls only the actions you leave switched on. To use a different remote MCP server, add it by URL: as a Custom MCP tool for Kai Support or a custom agent, or as a custom HTTP server in Kai Code.

What can a Gleap AI agent do in PostHog?

It connects a customer report to PostHog data: the person’s recordings and events, the feature flags that apply to them and the number of users affected. Kai Code can use the same data in a coding session.

Which Gleap plan includes the PostHog integration?

Kai Support and Kai Code can use the PostHog toolkit on Team, Pro and Enterprise; custom agents that use it are on Team, Pro and Enterprise. Kai Support answers customers, so switch on only actions that are safe in a customer conversation. Create a personal API key with only the scopes the agent needs. AI usage is billed separately; see pricing.

Can the agent change feature flags?

The toolkit includes actions that create, update and delete feature flags. Leave them off unless an agent should change a rollout, and keep flag changes with an engineer.

View the PostHog toolkit on Composio

Need help with integrations? Our team is standing by
Contact us
Similar integrations
Delighted logo
Delighted
Qualtrics shut Delighted down on June 30, 2026, so Gleap AI agents cannot use it anymore; Gleap surveys can take over your NPS program.
Composio
Sales Support
Data
Projects
See Integration
Metabase logo
Metabase
Let Gleap AI agents run saved Metabase questions and search dashboards to answer account and usage questions in support tickets.
Composio
Data
See Integration
Amplitude logo
Amplitude
Let Gleap AI agents look up a customer's Amplitude activity, check event trends behind a report and mark releases on your charts.
Composio
Data
See Integration
G2 Summer 2026 High Performer badge for Gleap
Solutions
  • SaaS and software
  • E-commerce
  • Enterprise
  • Small businesses
  • Vibe-coded apps
  • Startups
Product
  • Kai Support
  • Kai Copilot
  • Kai Code
  • Kai Voice
  • Custom agents
  • AI help desk software
  • Shared inbox software
  • Customer feedback software
  • Platform
Resources
  • Customer stories
  • Documentation
  • Downloads
  • Mobile app
  • Integrations
  • Pricing
  • Compare Gleap
  • Changelogs
  • Status page
  • Roadmap
  • Blog
Company
  • For startups
  • Careers
  • Contact
  • Trust center
  • Brand
  • Terms of service
  • Privacy policy
  • DPA
  • Imprint
Alternative to
  • Intercom
  • Zendesk
  • Freshdesk
  • HubSpot
  • Front
  • Drift
  • Canny
  • Typeform
  • SurveyMonkey
  • All alternatives

© Copyright Gleap GmbH

EU 🇪🇺 View status US 🇺🇸 View status

Built with ❤️ in the EU 🇪🇺. Gleap is the self-improving AI support system: live in minutes, it answers most of your customers' conversations, hands the hard ones to your team with the full context, and gets better every week. SOC 2 Type II audited · GDPR (DSGVO) compliant · Choose EU or US data residency at signup.