PostHog query funnel
posthog_query_funnelBuild and run a funnel analysis in PostHog. Shows step-by-step conversion rates (e.g., signup → onboard → purchase). Only works if PostHog is connected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | Funnel steps (minimum 2). Each: { id: "event_name", name: "Display Name" }. Example: [{id:"$pageview"},{id:"sign_up_completed"},{id:"subscription_created"}]. | |
| date_to | No | End date (default: now) | |
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. | |
| date_from | No | Start date (default: -30d) | |
| funnel_window_days | No | Days a user has to complete the funnel (default: 14) |