FruxonDocs

Mixpanel

Mixpanel product analytics integration for querying events, funnels, retention, user profiles, and cohorts

The Mixpanel integration lets your agents query analytics data — events, funnels, retention, user profiles, and cohorts.

Prerequisites

You need:

  • Service Account credentials — Create a service account in your Mixpanel project under Settings → Service Accounts. Note the username and secret.
  • Project ID — Found in your Mixpanel project settings.

Setup

  1. Open Integrations from the sidebar
  2. Select Mixpanel from the catalog
  3. Click Add Integration Config
  4. Give the config a display name (e.g., "Mixpanel - Product Analytics")
  5. Enter your Project ID
  6. Enter your service account username and secret (Basic Auth)
  7. Save the config

Using in Your Agent

  1. Open your agent in Agent Studio. Under Model & capabilities → Tools, click Add tool and add the Mixpanel tools you need
  2. On a tool's card, choose your config under Set default credentials. It applies to every Mixpanel tool in the agent; click Override on one tool's card to give it a different config
  3. Tools are referenced as mixpanel.top_events, mixpanel.query_funnel, etc.

Available Tools

ToolDescriptionAction Type
top_eventsGet top eventsReadOnly
aggregate_eventsAggregate event countsReadOnly
query_segmentationQuery event segmentationReadOnly
query_funnelQuery funnel analysisReadOnly
query_retentionQuery retention analysisReadOnly
query_profilesQuery user profilesReadOnly
list_cohortsList cohortsReadOnly
query_insights_reportQuery a saved insights reportReadOnly

On this page