kapa.ai In mixpanel cohort sync , if i updated the conditions in an existing cohort, which is being synced via webhook and sync is recurring. in this case, will i get a "members" action or "add_members", "remove_members" action for the removed/added members in updated cohort?
Please stand by Avinash K. as I search the knowledge base. I normally take about 15 seconds or so. đ
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
When you update the conditions in an existing cohort that's being synced via webhook with a recurring sync, Mixpanel will send the differences (diffs) between the previous cohort state and the new cohort state. This means you'll receive: - add_members
actions for users who newly qualify for the cohort based on your updated conditions
- remove_members
actions for users who no longer qualify for the cohort based on your updated conditionsMixpanel stores a snapshot of the cohort state from the last successful sync and uses this to compute the differences. These diffs are then sent to your webhook via the add_members
and remove_members
calls during the next scheduled sync (which occurs every 30 minutes).You would only receive a full members
action in specific cases:
1. When the cohort is synced for the first time
2. If your webhook server was down (returning 429 or 5XX errors) for more than 3 days, causing the snapshot to expireAs explained in the documentation:
"Subsequent syncs include only differences in membership since the previous successful sync in order to preserve bandwidth, through a diffing mechanism."Mixpanel Webhook Sync Documentation
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.