get_flow_analytics
Retrieve flow analytics by date range, channel, and published version: runs, completion rate, median time, outcomes, and per-node/branch metrics for comparing periods and spotting drop-offs.
Instructions
Get flow analytics. The builder's Analytics panel for one flow: runs, completions, completion rate and median time for the window, the same numbers for the preceding window (comparison), lifetime totals, outcomes (emails and phones collected, leads marked, bookings, link clicks, handoffs), per-node reach, continue, response and loss rates, and per-port branch splits. Analytics are per published version: version defaults to the current one; versions lists the others. Only sessions with tracking are counted; other_version_runs_excluded says how many ran under another version in the window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id. | |
| range | No | Window: 7d, 30d, 90d or all. Default 30d. Comparison is null for all. | 30d |
| channel | No | Only sessions on this channel. | |
| version | No | A published version number from versions[]. Default: the current version. |