ZBrain Documentation
  • ZBrain Documentation
    • Components of ZBrain
    • Getting started with ZBrain
    • 📚Knowledge base
      • How to create a knowledge base?
      • Knowledge source
      • Information schema
      • File summary
      • Automated reasoning
      • Retrieval testing
      • Knowledge base settings
    • 📱APP
      • How to create a new app?
      • How to set up and customize your app?
      • How to access the app reporting dashboard?
    • 🤖ZBrain AI agents
      • Get started with agents on ZBrain
      • Deploying pre-built agents
      • Creating custom AI agents
        • Agent setup
        • Define input sources
        • Define Flow
          • Key elements of a Flow
          • Flow Components
            • Activepieces Platform
            • AITable
            • Airtable
            • Amazon S3
            • Amazon SNS
            • Amazon SQS
            • Amazon Textract
            • Apify
            • Apollo
            • Approval
            • Asana
            • Azure Communication Services
            • Azure Cosmos DB
            • Azure Document Intelligence
            • Azure OpenAI
            • Azure Translation
            • Bannerbear
            • Baserow
            • Beamer
            • Bedrock Claude
            • Bettermode
            • Binance
            • Bing Search
            • Blackbaud
            • Bonjoro
            • Box
            • Brevo
            • Brilliant Directories
            • Bubble
            • CSV
            • Calendly
            • Certopus
            • Clearout
            • Clockodo
            • Code
            • Confluence
            • Connections
            • Constant Contact
            • Contiguity
            • Contentful
            • Customer.io
            • Crypto
            • Databricks
            • Data Mapper
            • Date Helper
            • DeepL
            • Delay
            • Discord
            • Discourse
            • Drip
            • Dropbox
            • Dust
            • Facebook Pages
            • Figma
            • Files Helper
            • Flowise
            • Flowlu
            • Formbricks
            • Frame
            • Freshdesk
            • Freshsales
            • GCloud Pub/Sub
            • GenerateBanners
            • GhostCMS
            • GitHub
            • GitLab
            • Gmail
            • Google Calendar
            • Google Contacts
            • Google Docs
            • Google Drive
            • Google Forms
            • Google Gemini
            • Google My Business
            • Google Search
            • Google Search Console
            • Google Sheets
            • Google Tasks
            • Groq
            • Hacker News
            • Heartbeat
            • HubSpot
            • HTTP
            • Image Helper
            • Inputs
            • Instagram for Business
            • Intercom
            • Invoice Ninja
            • Jira Cloud
            • Jotform
            • Kimai
            • Kizeo Forms
            • LeadConnector
            • Line Bot
            • Linear
            • LinkedIn
            • LinkedIn Actions
            • LLMRails
            • Lusha
            • MailerLite
            • Mailchimp
            • Mautic
            • Microsoft Dynamics 365 Business Central
            • Microsoft Dynamics CRM
            • Microsoft Excel 365
            • Microsoft OneDrive
            • Microsoft Outlook Calendar
            • Microsoft Teams
            • Mixpanel
            • MongoDB
            • Notion
            • Odoo
            • OpenAI
            • OpenRouter
            • Pastebin
            • PDF
            • Postgres
            • PostHog
            • Pushover
            • Qdrant
            • Queue
            • Razorpay
            • Router
            • Salesforce
            • SendGrid
            • ServiceNow
            • SFTP
            • SharePoint
            • Slack
            • SMTP
            • Snowflake
            • SOAP
            • Spotify
            • Stability AI
            • Stable Diffusion Web UI
            • Storage
            • Stripe
            • SurrealDB
            • SurveyMonkey
            • Taskade
            • Telegram Bot
            • Text Helper
            • Trello
            • Twilio
            • Twitter
            • Utilities
            • WhatsApp Business
            • WordPress
            • XML
            • YouTube
            • ZBrain
            • Zendesk
            • ZeroBounce
            • Zoho Books
            • Zoho CRM
            • Zoho Invoice
            • Zoom
          • How to Define a Flow?
          • How to Test Each Step in the Flow?
        • Configure Additional Settings
        • Test and Deploy Agents
        • How to access, monitor, and manage agent performance and tasks?
    • Settings
    • 📖API Tutorials
      • 📚Knowledge base
        • Automated Reasoning
      • 📱APP
      • 🤖Agents
Powered by GitBook
On this page
  • How to Use Mixpanel in ZBrain Flow
  • How to Track Events in Mixpanel
  • How to Make a Custom API Call to Mixpanel in ZBrain Flow
  1. ZBrain Documentation
  2. ZBrain AI agents
  3. Creating custom AI agents
  4. Define Flow
  5. Flow Components

Mixpanel

The Mixpanel piece in ZBrain Flow provides integration with Mixpanel's analytics platform, allowing you to track user interactions and events directly from your workflows. This connector enables you to send custom events, user properties, and engagement data to your Mixpanel project without manual tracking implementation. With Mixpanel integration, you can build automations that monitor user behavior, track conversion events, and capture user journey milestones across your business processes.

How to Use Mixpanel in ZBrain Flow

Step 1: Select Mixpanel as Your Connection

  • Click on the '+' button in the Flow and search for Mixpanel.

  • Select Mixpanel.

  • Decide on the action you need, then select it. ZBrain Flow provides two options:

    • Track Event – Send custom event data to your Mixpanel analytics.

    • Custom API Call – Make specialized requests to the Mixpanel API.

How to Track Events in Mixpanel

Step 1: Connect to Mixpanel

  • From the 'Mixpanel token' dropdown, click on 'Create connection'.

  • If creating a new connection, provide:

    • A descriptive 'Connection Name'

    • Your 'Mixpanel token' that is associated with your project. You can find your Mixpanel token in the project settings dialog in the Mixpanel app.

  • Click 'Save' to create the connection.

Step 2: Define Event Details

  • In the 'Event' field, enter a descriptive name for the action you're tracking. Use clear, consistent naming like 'Payment Completed' or 'Document Downloaded'.

Step 3: Identify the User

  • In the 'Distinct ID (Profile ID)' field, enter a unique identifier for the user performing the action. This could be a user ID, email hash, or another consistent identifier that links events to specific users.

Step 4: Add Event Properties (Optional)

  • Click 'Add Item' in the 'Event Properties' section to include additional contextual information. For each property, specify:

    • A property name (key)

    • The corresponding value

  • Add multiple properties to provide rich context about the event.

How to Make a Custom API Call to Mixpanel in ZBrain Flow

Step 1: Connect to Mixpanel

  • For connecting to your Mixpanel account, follow the first step in the "How to Track Events in Mixpanel" section above.

Step 2: Specify API Endpoint

  • In the 'URL' field, enter the Mixpanel API base URL with the specific endpoint you want to access.

Step 3: Select Request Method

  • From the 'Method' dropdown, choose the appropriate HTTP method (GET, POST, PUT, DELETE, etc.).

Step 4: Configure Headers (Optional)

  • Click 'Add Item' in the 'Headers' section to add any custom headers. Note that authorization headers are automatically injected from your connection.

Step 5: Add Query Parameters (Optional)

  • Click 'Add Item' in the 'Query Parameters' section to add URL parameters.

Step 6: Provide Request Body (Optional)

  • For POST, PUT, or PATCH requests, enter the JSON data to send in the 'Body' field.

Step 7: Set Error Handling (Optional)

  • Enable 'No Error on Failure' if you want the flow to continue even if the API request fails.

  • Set a 'Timeout' value in seconds to limit the request duration.

PreviousMicrosoft TeamsNextMongoDB

Last updated 1 month ago

🤖