Skip to content
For LLMsView as Markdown·

Mixpanel ​

Track events, analyze user behavior, and query engagement with Mixpanel.

DetailValue
CategoryAnalytics
Base URLhttps://api.mixpanel.com
AuthenticationBearer Token
Endpoints5
Connector keymixpanel

Using Mixpanel in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Mixpanel from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
POST /trackTrack an event
POST /engageUpdate a user profile
GET /api/2.0/eventsQuery event data
GET /api/2.0/funnelsQuery funnel data
POST /importImport historical events

Each endpoint is documented in full below. Use the outline on the right to jump to one.

POST /track ​

Track an event

DetailValue
Operation IDanalytics.track
MethodPOST
Path/track

Parameters ​

No parameters.

Request Body ​

FieldType
datastring

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Mixpanel connection from the Connection dropdown.
  3. In the Operation dropdown, select analytics.track.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mixpanel API reference.

POST /engage ​

Update a user profile

DetailValue
Operation IDanalytics.updateProfile
MethodPOST
Path/engage

Parameters ​

No parameters.

Request Body ​

FieldType
$tokenstring
$distinct_idstring
$setobject

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Mixpanel connection from the Connection dropdown.
  3. In the Operation dropdown, select analytics.updateProfile.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mixpanel API reference.

GET /api/2.0/events ​

Query event data

DetailValue
Operation IDanalytics.queryEvents
MethodGET
Path/api/2.0/events

Parameters ​

NameLocationTypeRequired
eventquerystringYes
from_datequerystringYes
to_datequerystringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Mixpanel connection from the Connection dropdown.
  3. In the Operation dropdown, select analytics.queryEvents.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mixpanel API reference.

GET /api/2.0/funnels ​

Query funnel data

DetailValue
Operation IDanalytics.queryFunnels
MethodGET
Path/api/2.0/funnels

Parameters ​

NameLocationTypeRequired
funnel_idquerystringYes
from_datequerystringYes
to_datequerystringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Mixpanel connection from the Connection dropdown.
  3. In the Operation dropdown, select analytics.queryFunnels.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mixpanel API reference.

POST /import ​

Import historical events

DetailValue
Operation IDanalytics.importEvents
MethodPOST
Path/import

Parameters ​

No parameters.

Request Body ​

FieldType
dataarray

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Mixpanel connection from the Connection dropdown.
  3. In the Operation dropdown, select analytics.importEvents.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mixpanel API reference.