Mixpanel is a product analytics platform that helps companies understand how users interact with their digital products. It provides tools for tracking user behaviors, segmenting audiences, and running targeted marketing campaigns.
๐Ÿ”— Connect and Use Mixpanel
1. ๐Ÿ”‘ Connect your Mixpanel account
2. โœ… Select an action
3. ๐Ÿš€ Go live with the agent
What do you want to do?

API actions for Mixpanel for AI assitants/agents

Language
JS
PYTHON

Track Event

Send a custom event to Mixpanel with specified properties
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.TRACK_EVENT])

Create User Profile

Create or update a user profile in Mixpanel with custom properties
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_USER_PROFILE])

Add Group

Add a user to a specific group in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.ADD_GROUP])

Remove Group

Remove a user from a specific group in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.REMOVE_GROUP])

Set User Property

Set a specific property for a user in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SET_USER_PROPERTY])

Increment User Property

Increment a numeric property for a user in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.INCREMENT_USER_PROPERTY])

Track Revenue

Record a revenue event in Mixpanel with associated metadata
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.TRACK_REVENUE])

Create Cohort

Create a new cohort in Mixpanel based on specified criteria
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_COHORT])

Delete Cohort

Delete an existing cohort in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DELETE_COHORT])

Add Users To Cohort

Add specified users to an existing cohort in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.ADD_USERS_TO_COHORT])

Remove Users From Cohort

Remove specified users from an existing cohort in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.REMOVE_USERS_FROM_COHORT])

Create Funnel

Create a new funnel analysis in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_FUNNEL])

Delete Funnel

Delete an existing funnel analysis in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DELETE_FUNNEL])

Create Annotation

Add an annotation to Mixpanel for a specific date or event
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_ANNOTATION])

Delete Annotation

Remove an existing annotation from Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DELETE_ANNOTATION])

Export Events

Export event data from Mixpanel for a specified date range
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.EXPORT_EVENTS])

Export People Data

Export user profile data from Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.EXPORT_PEOPLE_DATA])

Create A/B Test

Set up a new A/B test experiment in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_AB_TEST])

Stop A/B Test

End an ongoing A/B test experiment in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.STOP_AB_TEST])

Send Notification

Send a notification to users through Mixpanel's messaging feature
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SEND_NOTIFICATION])

New Event Received

Triggered when a new event is tracked in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.NEW_EVENT_RECEIVED])

User Property Changed

Triggered when a user's property is updated in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.USER_PROPERTY_CHANGED])

Cohort Membership Changed

Triggered when a user joins or leaves a cohort in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.COHORT_MEMBERSHIP_CHANGED])

Revenue Event Tracked

Triggered when a new revenue event is recorded in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.REVENUE_EVENT_TRACKED])

Funnel Completed

Triggered when a user completes all steps in a defined funnel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.FUNNEL_COMPLETED])

A/B Test Started

Triggered when a new A/B test experiment begins in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.AB_TEST_STARTED])

A/B Test Ended

Triggered when an A/B test experiment concludes in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.AB_TEST_ENDED])

Annotation Created

Triggered when a new annotation is added in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.ANNOTATION_CREATED])

Export Completed

Triggered when a data export process is finished in Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.EXPORT_COMPLETED])

Notification Sent

Triggered when a notification is successfully sent to users via Mixpanel
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.NOTIFICATION_SENT])

Frequently asked questions

What is Composio.dev?

Composio.dev is a platform for building AI applications, designed to make the process of developing AI solutions super easy and fun! It provides a comprehensive set of tools and libraries that simplify the process of developing AI solutions, allowing you to focus on the creative aspects of your project without getting bogged down by the technical details.

How does Composio.dev support Mixpanel?

Composio.dev seamlessly integrates with Mixpanel, allowing you to leverage its capabilities within the Composio.dev platform. You can utilize Mixpanel to call functions across various platforms, including Google, GitHub, and others, making it a breeze to incorporate different services into your AI applications. Additionally, it supports user authentication via OAuth2 and can work in conjunction with other popular frameworks like LangChain and CrewAI, giving you the flexibility to build truly innovative AI solutions.

What models can I use with Mixpanel?

With Mixpanel, you have access to a wide range of state-of-the-art language models, including GPT-4o (OpenAI), GPT-3.5 (OpenAI), GPT-4 (OpenAI), Claude (Anthropic), PaLM (Google), LLaMA and LLaMA 2 (Meta), Gemini, and many others. This flexibility allows you to choose the model that best suits your specific use case, whether you're building a chatbot, a content creation tool, or any other AI-powered application. You can experiment with different models and find the one that delivers the best performance for your project.

How can I integrate Mixpanel into my project?

Composio.dev provides a seamless integration for Mixpanel, making it super easy to incorporate this powerful framework into your projects. You can leverage the Composio.dev API to call functions from Mixpanel, allowing you to tap into its capabilities with just a few lines of code. The SDK is available in Python, JavaScript, and TypeScript, so you can work with your preferred programming language and integrate Mixpanel into your projects seamlessly.

What is the pricing for Mixpanel?

Mixpanel is completely free to use, with a generous free tier that allows up to 1000 requests per month. This makes it accessible for developers and organizations of all sizes to explore and experiment with this powerful tool without any upfront costs. Whether you're a student working on a personal project or a startup building the next big thing, you can get started with Mixpanel without worrying about breaking the bank.

What kind of authentication is supported for Mixpanel?

Mixpanel supports OAuth2 authentication, ensuring secure and authorized access to its functionalities. You can leverage the Composio.dev API to handle authentication and call functions from Mixpanel seamlessly. The SDK is available in Python, JavaScript, and TypeScript for your convenience, making it easy to integrate authentication into your projects and keep your users' data safe and secure.

Can I add Mixpanel to my project?

Absolutely! You can easily incorporate Mixpanel into your project by utilizing the Composio.dev API. This API allows you to call functions from Mixpanel, enabling you to leverage its capabilities within your application. The SDK is available in Python, JavaScript, and TypeScript to facilitate integration, so you can work with the language you're most comfortable with and add Mixpanel to your project with ease.

What is the accuracy of Mixpanel?

Mixpanel is designed to provide highly accurate and reliable results, ensuring that your AI applications perform at their best. The integration with Composio.dev ensures precise function calls, enabling you to build robust and powerful AI applications with confidence. Mixpanel's comprehensive framework and the ability to leverage state-of-the-art models ensure reliable and accurate outcomes for your AI development needs, whether you're working on a chatbot, a content creation tool, or any other AI-powered project.

What are some common use cases for Mixpanel?

Mixpanel can be used for a wide range of AI applications, making it a versatile tool for developers and creators alike. Some common use cases include natural language processing, text generation, question answering, sentiment analysis, and more. It's particularly useful for building chatbots, virtual assistants, content creation tools, and other AI-powered applications that can help you automate tasks, engage with users, and create compelling content. Whether you're working on a personal project or building a product for your startup, Mixpanel can help you bring your ideas to life.

How does Mixpanel handle data privacy and security?

Data privacy and security are crucial considerations when working with AI systems, and Mixpanel takes these issues seriously. It follows industry best practices and adheres to strict data protection regulations, ensuring that your data is kept safe and secure. Mixpanel provides robust security measures, such as encryption and access controls, to ensure the confidentiality and integrity of your data. You can rest assured that your sensitive information is protected when using Mixpanel for your AI development needs.
+ Integrate seamlessly with your agentic frameworks
Composio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and Sizes
Building for AI across continents๐Ÿงช