Mixpanel Community Icon

Creating Webhooks for Group Level Cohorts: Is It Possible?

·
·

Can I create a webhook for an group level cohort? It looks like I can only use webhooks on user cohorts, not groups.

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Hi Sam B., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> đź‘‹

    Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Based on the knowledge sources provided, it appears that Mixpanel's webhook functionality for cohort syncing is designed for user cohorts rather than group cohorts. The documentation on cohort syncing to webhooks specifically mentions syncing "users" and refers to the "list of users" being added or removed from cohorts. The webhook format includes fields like "email", "mixpanel_distinct_id", "first_name", and "last_name" which are clearly user-level identifiers rather than group identifiers.For example, in the webhook format documentation, it states: LBKS"members": [ { "email": "string", "mixpanel_distinct_id": "string", "first_name": "string", "last_name": "string", "phone_number": "xxx-xxx-xxxxx" } ]LBKSThis format is designed for individual users, not groups.While Mixpanel does offer Group Analytics as an add-on for Growth and Enterprise plans that allows for group-level analysis, the documentation doesn't mention webhook integration specifically for group cohorts.If you need to export group data, the documentation does mention that you can use the Engage API endpoint to export Group Profiles by adding data_group_id in the request: Group Analytics FAQ mentions: "Use the Engage API endpoint to export Group Profiles by adding data_group_id in the data param of the request."However, this appears to be for exporting group profiles rather than syncing group cohorts to webhooks.The knowledge sources don't explicitly state that group cohorts cannot be synced to webhooks, but all the webhook documentation focuses on user cohorts, suggesting that group cohort webhook syncing may not be supported.I would recommend reaching out to Mixpanel support for definitive confirmation on whether group cohort webhook syncing is possible, as this specific capability isn't clearly addressed in the provided knowledge sources.

    kapa.ai is still learning and improving, please let me know how I did by reacting below.

    ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.