A Gleap custom agent can query Mixpanel through Composio: user profiles, event activity, segmentation, funnels and retention. It gives support and product teams usage facts about the customer in the ticket.
What a Gleap agent can do in Mixpanel
- Read the profile: Query Profiles finds the customer’s Mixpanel profile and returns its properties.
- See recent activity: Get Profile Event Activity lists the events the customer triggered around the time of the report.
- Size the issue: Query Segmentation Report counts an event over time, split by a property such as app version.
- Reuse saved reports: Query Saved Insight and Query Saved Funnel return numbers from reports your team already built.
Example: Export failures after an update
A customer says in Gleap that exports stopped working after an update. The teammate asks the agent to check. The agent finds the customer’s Mixpanel profile, reads their recent export events and runs a segmentation of export failures by app version. It reports that the failures started with one version, and the engineering lead decides the next step.
How to connect Mixpanel
- In Gleap, open AI & Automation > Agents and select a custom agent, or create one.
- In its Tools section, click Add tool and search for “Mixpanel”.
- Pick Mixpanel under More integrations and click Connect Mixpanel.
- Enter the Mixpanel credentials Gleap asks for, such as a service account username and secret, and connect.
- Open the new Mixpanel tool and switch off every action the agent does not need, such as Delete Profile or Delete Multiple Profiles (Batch).
- Tell the agent in its instructions when to use Mixpanel, 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 Mixpanel in coding sessions once you add it under Settings > MCP in Kai Code.
FAQ
Does Gleap integrate with Mixpanel?
Yes, through Composio. A Gleap custom agent can query profiles, events, segmentation, funnels, retention and saved insights, and it can update profile properties if you allow it. Nothing is exported to Mixpanel in the background.
Does Gleap connect to Mixpanel through MCP?
Yes. Gleap connects to Composio’s MCP server for Mixpanel with the Mixpanel 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 Mixpanel?
It looks up the customer behind a ticket, lists their recent events and sizes an issue with segmentation or saved reports. Engineers and product managers get numbers in the ticket instead of a separate analytics request.
Which Gleap plan includes the Mixpanel integration?
Kai Support and Kai Code can use the Mixpanel 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. Use a Mixpanel account with access to the projects the agent should query. AI usage is billed separately; see pricing.
Are there limits on how often the agent can query Mixpanel?
Yes. Composio’s toolkit notes that Mixpanel’s Query API allows 60 queries per hour and 5 concurrent queries. Keep scheduled agents light and query only what a ticket needs.