Create a funnel visible in the Umami UI
umami_create_funnelPersist a funnel with ordered page-path or event steps and a session window, making it visible under Behavior > Funnels for dashboard users.
Instructions
Create a persisted Funnel that appears under Behavior > Funnels in the Umami web UI, not just a computed result. Unlike umami_get_funnel (which computes step conversion on demand and shows nothing in the UI), this saves the funnel definition so it shows up for anyone browsing the dashboard.
Args:
website (string, optional): Website ID, name, or domain.
name (string, required): Display name for the funnel.
steps (array, required): 2-8 ordered steps, each { type: 'path' | 'event', value: string }.
window_minutes (number): Minutes a session has to complete all steps in order, default 60.
Returns: { "id": string, "name": string, "type": "funnel", "parameters": object }
Examples:
"/ -> /audit -> audit_submit funnel" -> steps=[{type:'path',value:'/'},{type:'path',value:'/audit'},{type:'event',value:'audit_submit'}]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the funnel. | |
| steps | Yes | Ordered steps: page paths or event names. | |
| website | No | Website ID (UUID), name, or domain. Optional if UMAMI_DEFAULT_WEBSITE is set. Use umami_list_websites to discover values. | |
| window_minutes | No | Session completion window, in minutes. |