mixpanel_playlist (Resource)¶
Manages a Mixpanel Playlist (mixpanel_playlist) — a curated collection of session replays for review and analysis. Playlists let you organize and share sets of user sessions that exhibit specific behaviors (for example, users who encountered errors, completed a purchase, or abandoned a cart), streamlining collaborative debugging and UX research.
Example Usage¶
resource "mixpanel_playlist" "checkout_errors" {
project_id = 1234567
name = "Checkout Error Sessions"
description = "Sessions where users encountered errors during checkout"
}
Example with bookmarked replays:
resource "mixpanel_playlist" "key_sessions" {
project_id = 1234567
name = "Key Sessions"
description = "Manually bookmarked important sessions"
bookmarked_replays {
distinct_id = "user123"
replay_id = "replay_abc"
}
bookmarked_replays {
distinct_id = "user456"
replay_id = "replay_def"
}
}
Schema¶
Required¶
name(String)
Optional¶
bookmarked_replays(Attributes List) (see below for nested schema)dashboard_id(Number)description(String)filters(String)is_sort_ascending(Boolean)playlist_id(String)project_id(Number)sort_property(String)time_filter(String)
Read-Only¶
allow_staff_override(Boolean)can_pin(Boolean)can_share(Boolean)can_update_basic(Boolean)can_view(Boolean)id(String) The ID of this resource.is_shared_with_project(Boolean)is_superadmin(Boolean)last_modified_by_email(String)last_modified_by_id(Number)last_modified_by_name(String)
Nested Schema for bookmarked_replays¶
Required:
distinct_id(String)replay_id(String)
Import¶
Import using the composite ID PROJECT_ID:ID: