Mixpanel

Powerful, self-serve product analytics to help you convert, engage, and retain more users

Go to site
Explore
/
Apps
/
Mixpanel

Mixpanel API Integrations

Build and run workflows using the Mixpanel API. Use 1000s of open source triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    mixpanel: {
      type: "app",
      app: "mixpanel",
    }
  },
  async run({steps, $}) {
    const data = `data={
      "event": "Pipedream test event",
      "properties": {
        "token": "${this.mixpanel.$auth.token}"
      }
    }`
    
    return await axios($, {
      method: "post",
      url: `https://api.mixpanel.com/track#live-event`,
      headers: {
        "Content-Type": `application/x-www-form-urlencoded`,
      },
      data,
    })
  },
})
mixpanel.track with Mixpanel API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Mixpanel
 
Try it
mixpanel.track with Mixpanel API on New Item in Feed from RSS API
RSS + Mixpanel
 
Try it
mixpanel.track with Mixpanel API on New Message from Discord API
Discord + Mixpanel
 
Try it
mixpanel.track with Mixpanel API on New Message In Channels from Slack API
Slack + Mixpanel
 
Try it
mixpanel.track with Mixpanel API on New Message in Channel from Discord Bot API
Discord Bot + Mixpanel
 
Try it
mixpanel.track with the Mixpanel API

Send an event to mixpanel

 
Try it

Authentication

Mixpanel uses API keys for authentication. When you connect your Mixpanel account, Pipedream securely stores the keys so you can easily authenticate to Mixpanel APIs in both code and no-code steps.

Enter your project token below.