capabilities.work

Update Profile and Query Engagement

A 2-step recipe with Mixpanel. We can help you get access.

Recipe · 2 steps

Update Profile and Query Engagement

with Mixpanel · Product Usage Analytics

Set People profile properties then query an engagement event for the user.

  1. Set profile properties on the user via Mixpanel People. Authentication uses the project token carried in the $token body field.
  2. Query event segmentation for the engagement event filtered to the user so the profile update can be related to behavior. Uses service account basic auth.
What you'll need to have ready
  • projectToken: Mixpanel project token used for People ingestion auth.
  • projectId: The Mixpanel project ID used by the Query API.
  • distinctId: Unique identifier for the user profile.
  • profileProperties: Map of profile property name/value pairs to set.
  • engagementEvent: The engagement event name to query for the user.
  • fromDate: Segmentation start date (YYYY-MM-DD).
  • toDate: Segmentation end date (YYYY-MM-DD).
For your developer

Arazzo workflow mixpanel:profile-and-engage-query, 2 operations: updateUserProfile → querySegmentation. Specs on APIs.io.