Cohort Analysis
Perform cohort analysis to understand user behavior over time including cohort definition, metric calculation, retention analysis, and visualization.
Complexity: Moderate | Duration: 15-30m | Category: Devops
Tags: analytics cohort retention user-behavior
Workflow Diagram
Steps
Step 1: Cohort definition
Agent: data
analyst - Define cohorts (by signup week, feature usage, etc.)
Step 2: Event data extraction
Agent: data
engineer - Extract user events from database
Step 3: Cohort assignment
Agent: data
analyst - Assign users to cohorts based on criteria
Step 4: Retention calculation
Agent: data
analyst - Calculate retention by cohort (Day 1, 7, 30, 90)
Step 5: Metric aggregation
Agent: data
engineer - Calculate revenue, engagement per cohort
Step 6: Cohort comparison
Agent: data
analyst - Compare cohorts to identify trends
Step 7: Visualization
Agent: data
analyst - Create cohort retention heatmap
Step 8: Insights
Agent: data
analyst - Identify high-value cohorts, retention drivers
Usage
To execute this workflow:
/workflow devops/cohort-analysis.workflow
Related Workflows
See other workflows in this category for related automation patterns.