Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions docs/root-cause-analysis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

Investigating anomalies or trends in your data is extremely manual. Teams spend hours each week running the same repetitive process (picking properties, running breakdowns, eyeballing segments) to figure out what drove a change in a metric.

Mixpanel's **AI-Powered Root Cause Analysis (RCA)** feature does that work for you. Launch RCA from any Insights report or fired alert and an AI agent automatically diagnoses what changed: it validates the anomaly, runs the relevant breakdowns, ranks the dimensions that contributed most, and writes up an interpretation with a confidence level and suggested next steps — all delivered as a Board you and your team can keep working from.
Mixpanel's **AI-Powered Root Cause Analysis (RCA)** feature does that work for you. Launch RCA from any Insights report, a fired alert, or the Mixpanel Agent and an AI agent automatically diagnoses what changed: it validates the anomaly, runs the relevant breakdowns, ranks the dimensions that contributed most, and writes up an interpretation with a confidence level and suggested next steps — all delivered as a Board you and your team can keep working from.

Check warning on line 10 in docs/root-cause-analysis.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mixpanel-edb78807) - vale-spellcheck

docs/root-cause-analysis.mdx#L10

Did you really mean 'Mixpanel's'?

Check warning on line 10 in docs/root-cause-analysis.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mixpanel-edb78807) - vale-spellcheck

docs/root-cause-analysis.mdx#L10

Did you really mean 'Mixpanel'?

## How it works

When you run an RCA, Mixpanel immediately launches a new Board and exposes the agent's reasoning as it works:

Check warning on line 14 in docs/root-cause-analysis.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mixpanel-edb78807) - vale-spellcheck

docs/root-cause-analysis.mdx#L14

Did you really mean 'Mixpanel'?

1. **Validates the anomaly.** Confirms there's a real change to explain before going further, using a z-score to check the change is well outside normal day-to-day variation rather than routine noise or seasonality.
2. **Selects properties to analyze.** An LLM agent picks which properties to break down on, combining properties Mixpanel suggests for the event with any you've prioritized in [Custom RCA Settings](#custom-rca-settings). It spreads picks across plausible cause categories (acquisition, audience, platform, data quality, user identity), filters out high-cardinality identifiers and near-duplicates, and factors in your project's business context.

Check warning on line 17 in docs/root-cause-analysis.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mixpanel-edb78807) - vale-spellcheck

docs/root-cause-analysis.mdx#L17

Did you really mean 'Mixpanel'?
3. **Runs breakdowns.** Executes the chosen breakdowns to see which segments actually moved.
4. **Writes an interpretation.** Fills the Board with contribution factor analysis (each segment's share of the total change), ranked dimensions, an AI-written explanation of the likely cause, a confidence level, and suggested next steps.

Expand All @@ -26,29 +26,38 @@

<Step title="From an Insights report">

Open any Insights chart, hover over a data point that looks unexpected, and choose **Root Cause Analysis** from the popover. RCA launches scoped to that event, segment, and time window.
Open any Insights chart, hover over a data point that looks unexpected, and choose **Root Cause Analysis** from the popover. RCA launches scoped to that event and time window, and picks up any breakdown or segment already applied to the report so it analyzes the same slice you're looking at.
</Step>

<Step title="From a fired alert">

When an alert fires, the notification (Slack, email, or webhook) includes a link that runs Root Cause Analysis and generates a Board for that alert. See [Alerts](/docs/features/alerts#root-cause-analysis) for how RCA fits into alerting.
</Step>

<Step title="From the Mixpanel Agent">

Ask the [Mixpanel Agent](/docs/mixpanel-agent) to investigate a change (for example, _"explain this spike in signups"_) and it can kick off Root Cause Analysis for you. The analysis runs right in your Agent chat and produces the same RCA Board you can open and keep working from.

Check warning on line 39 in docs/root-cause-analysis.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mixpanel-edb78807) - vale-spellcheck

docs/root-cause-analysis.mdx#L39

Did you really mean 'signups'?
</Step>
</Steps>

## The RCA Board

Because RCA generates a standard Mixpanel Board, it inherits all the capabilities of our typical Boards:

Check warning on line 45 in docs/root-cause-analysis.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mixpanel-edb78807) - vale-spellcheck

docs/root-cause-analysis.mdx#L45

Did you really mean 'Mixpanel'?

- **Anyone in your project can open it.** RCA Boards are project-shared by default, so teammates can pick up the analysis where you left off.
- **You can edit it like any Board.** Add cards, rearrange, annotate, or duplicate it if you want a private working copy.
- **Cards include contribution factor analysis.** Each ranked dimension lands as its own card with the breakdown, contribution percentage, and supporting context. You can edit this as needed before sharing.
- **The interpretation card summarizes findings.** The AI's written explanation, confidence level, and suggested next steps live at the top of the Board so anyone scanning the results gets the punchline first.

<Note>
RCA only surfaces data the person running it already has permission to see. It won't expose personal information (PII) that wouldn't otherwise be visible to that user.
</Note>

## Custom RCA Settings

Oftentimes, customers know which properties matter for their business and want to direct the root cause analysis to focus there first.

In the AI Settings tab of your Project Settings, you can specify which event properties RCA should prioritize during analysis. For example, a marketing team that knows anomalies usually trace back to `utm_campaign_id` can point RCA at that dimension so it's always considered first. Properties you prioritize are combined with Mixpanel's automatic suggestions, so you never lose the agent's broader view — you just guide it toward the dimensions you care most about.

Check warning on line 60 in docs/root-cause-analysis.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mixpanel-edb78807) - vale-spellcheck

docs/root-cause-analysis.mdx#L60

Did you really mean 'Mixpanel's'?

<Info>
These settings only influence which properties RCA prioritizes. They don't control RCA's analysis sequencing or methodology — regardless of the instructions you provide, the agent still validates the anomaly, runs its breakdowns, ranks contributing dimensions, and writes up its interpretation the same way.
Expand Down