User Path Flow
analyze_pathsTrace user journeys from a start event to see the most common next steps, ranked by user count. Anchor on any event or use the default start to reveal where users go after key actions.
Instructions
Trace what users do AFTER a start event — the journey flow (Sankey) from the product's own events. Returns the next-step transitions ranked by user count (most common first), empty when no events match. Pass start to anchor on an event, or omit for the most common start (call analyze_funnel with no steps to list the event names). Optional product_id and window_days (default 30, valid 1–365).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Event name to anchor the flow on (optional; the most common start event when omitted — analyze_funnel with no steps lists the event names). | |
| product_id | No | Product id, from whoami (optional; the org's primary product when omitted). | |
| window_days | No | Lookback window in days (optional; default 30). |