--- title: "Flow not starting" slug: "flow-not-starting" description: "Troubleshoot your Userflow.js issues with this guide: check installation, flow conditions, and user settings to ensure smooth auto-start functionality." tags: ["Userflow Troubleshooting", "Flow Conditions", "Auto-start Issues"] updated: 2026-11-09T16:31:51Z published: 2026-11-09T16:31:51Z canonical: "help.userflow.com/flow-not-starting" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.userflow.com/llms.txt > Use this file to discover all available pages before exploring further. # Flow not starting If a flow or checklist isn't showing for your users, the fix depends on what you're seeing. This page has a quick pre-flight checklist, then a section for each symptom. To find yours, see "Start here: why isn't my flow starting or targeting correctly?" on this page. ## Is this actually about a flow? "Flow not starting" covers flows and checklists specifically. If you're seeing a different kind of missing content, jump straight to the right guide instead: - **A launcher, banner, or announcement isn't showing** → see [Launcher/Banner not showing](/userflow/docs/launcherbanner-not-showing) - **The Resource Center itself isn't appearing** (the help button, or its contents) → see [Resource Center Implementation Guide](/userflow/docs/resource-center) → Troubleshooting - **A specific element (button, tooltip target) can't be found or highlighted** → see [Element not found](/userflow/docs/element-not-found) - **A checklist specifically isn't displaying** → checklists use the same auto-start and targeting engine as flows, so every section of this article applies to them. If the checklist is meant to live inside a Resource Center, also confirm the Resource Center itself is published (see [Resource Center Implementation Guide](/userflow/docs/resource-center) → Troubleshooting). A checklist can be fully configured and still never appear if its Resource Center isn't live. - **Your flow, tour, or checklist isn't starting/targeting correctly** → you're in the right place. Go to [Start here: why isn't my flow starting or targeting correctly?](/docs/flow-not-starting#start-here-why-isnt-my-flow-starting-or-targeting-correctly) ## Start here: why isn't my flow starting or targeting correctly? Pick the line that matches what you're seeing and jump to that section. If you haven't yet, run the [pre-flight checklist](/docs/flow-not-starting#before-you-debug-pre-flight-checklist) first: it often finds the cause. - Nothing shows at all, even in preview/Debugger → [Scenario 1: Flow never appears](/docs/flow-not-starting#scenario-1-flow-never-appears-not-even-in-preview) - It shows, but on the wrong page or at the wrong moment → [Scenario 2: Wrong place or time](/docs/flow-not-starting#scenario-2-flow-appears-in-wrong-place-or-at-wrong-time) - Works in preview/Debugger but not for real users → [Scenario 3: Works in preview, not production](/docs/flow-not-starting#scenario-3-flow-works-in-preview-but-not-in-production) - It worked before and suddenly stopped → [Scenario 4: Worked before but stopped](/docs/flow-not-starting#scenario-4-flow-worked-before-but-stopped) - Your edits aren't showing on the live site → [Scenario 5: Preview updates but live doesn't](/docs/flow-not-starting#scenario-5-preview-updates-but-changes-dont-show-on-live-site) - It appears, then vanishes the instant the user clicks or navigates → [Scenario 6: Disappears after a click](/docs/flow-not-starting#scenario-6-flow-disappears-right-after-a-click-or-interaction) - A targeting/audience problem (right vs. wrong people, segments, frequency) → [Common auto-start condition mistakes](/docs/flow-not-starting#common-auto-start-condition-mistakes), plus the companion guide [Flow targeting and audience rules](/userflow/docs/flow-targeting-and-audience-rules). - "Works in staging, not in production" → [Environment-specific troubleshooting](/docs/flow-not-starting#environment-specific-troubleshooting) ## Before you debug: pre-flight checklist Five quick checks that find the most common causes. If any of these fails, you've likely found the cause. 1. **Open the page where the flow should start.** In your browser console, type `userflow` and press Enter. If you see `ReferenceError: userflow is not defined`, Userflow.js isn't installed on this page. 2. **Confirm** `userflow.identify()` **has been called.** In the console, run `userflow.isIdentified()`. If it returns `false`, the user hasn't been identified, so no flows can show. (Returns `true` once `userflow.identify()` or `userflow.identifyAnonymous()` has run on the current page.) 3. **Confirm the flow is published in the environment you're testing.** Open the flow and click its **Versions** tab, which shows the version published to each environment. Production preview uses your production token; staging preview uses staging. 4. **Open the** [**Userflow Debugger**](/userflow/docs/using-the-debugger-for-auto-start-conditions) **Chrome extension on the page.** Check Verify Setup. If anything shows red, that's your starting point. 5. **Check the user's Sessions tab.** If the user has already seen the flow and the frequency setting is "Only start once per user," the flow won't re-trigger without resetting the session. See [Understanding flow dismiss, snooze, and restart](/userflow/docs/understanding-flow-dismiss-snooze-and-restart). If all five checks pass and the flow still isn't starting, pick your symptom in [Start here: why isn't my flow starting or targeting correctly?](/docs/flow-not-starting#start-here-why-isnt-my-flow-starting-or-targeting-correctly) ## Scenario 1: Flow never appears (not even in preview) **Symptoms:** - Flow doesn't show in production - Flow doesn't show in preview/debugger - No sign of the flow anywhere **Most likely causes:** **1. Userflow isn't installed on the page** Check: Open browser Console → type `userflow` → press Enter If you see `ReferenceError: userflow is not defined`, the Userflow script hasn't loaded Fix: Add the Userflow installation snippet to your page's tag. See [Userflow.js installation](/userflow/docs/userflowjs-installation). **2. userflow.identify() hasn't been called** Userflow won't show any flows until you identify the current user Check Console for errors mentioning identify Fix: Call `userflow.identify('USER_ID', { attributes })` after Userflow loads **3. Flow isn't published** Check the flow's status in your Userflow dashboard Fix: Click Publish in the flow editor **4. Flow is published to wrong environment** If you have multiple environments (staging, production), make sure the flow is published to the environment your page is using Check: Open the flow's **Versions** tab and check the environment your page uses. Fix: Publish to the correct environment ## Scenario 2: Flow appears in the wrong place or at the wrong time **Symptoms:** - Flow appears, but on the wrong URL - Flow triggers too early or too late - Flow shows on page load when it should trigger on button click (or vice versa) **Most likely causes:** **1. The Current page pattern doesn't match the way you expect.** Check the flow's **Current page** auto-start condition. A common mistake is a pattern without a leading slash, such as `*settings*`: it's read as a domain, so it never matches a path. Fix: Start path patterns with `/`, use wildcards (`*`) for dynamic parts (for example `/users/*/profile`), and test the pattern with **Check auto-start** in the Debugger. See [URL pattern matching](/userflow/docs/url-pattern-matching) for Current page conditions. **2. The flow starts on its own when it shouldn't, or never starts on its own.** A flow with auto-start conditions starts by itself once every condition matches. A flow with no auto-start conditions only starts when something starts it, such as `userflow.start('FLOW_ID')`. Fix: Check whether the flow has auto-start conditions, and set them to match how you want it to start. **3. The flow keeps showing on pages it shouldn't.** Auto-start conditions decide when a flow starts, not where it stays visible. Once a flow starts, it keeps showing as the user moves to other pages. Fix: To hide the flow on pages where it doesn't belong, set **Temporarily hide flow if** in the flow's settings. See [Stopping a flow when conditions no longer match](/docs/flow-not-starting#stopping-a-flow-when-conditions-no-longer-match). ## Scenario 3: Flow works in preview but not in production **Symptoms:** - Flow appears correctly when you use the preview link - Flow appears correctly in the Debugger - Flow doesn't appear on the live site for real users **Most likely causes:** **1. Flow isn't published to production environment** Preview and Debugger bypass environment checks Check: Open the flow's **Versions** tab. Fix: Click **Publish** and make sure your live environment is selected. **2. Targeting rules exclude real users** Preview often uses your admin account, which may have attributes real users don't have Example: Flow targets "Role = Admin" but real users have "Role = User" Check: Open a real user on the **Users** page and compare their attributes with each auto-start condition. Fix: Update audience rules or test with a realistic user account **3. Production site uses a different Userflow environment token** Your staging and production sites should use different Userflow tokens. See [Setting up environments and versions](/userflow/docs/environments-and-versions). Check your production page source for the Userflow snippet: is it using the production token? Fix: Update the token in your production deployment ## Scenario 4: Flow worked before but stopped **Symptoms:** - Flow was working yesterday/last week - No changes on your end - Suddenly stops appearing **Most likely causes:** **1. The flow was unpublished from your environment.** Check: Open the flow's **Versions** tab and look at the environment's status. Fix: Publish the flow again, from **Publish** or from the three-dot menu next to the environment. **2. A condition now excludes everyone.** Example: a Flow/Checklist condition such as "Flow X has not been seen". Once everyone has seen Flow X, nobody qualifies. Check: Run **Check auto-start** in the Debugger and look for the red pill. Fix: Change the logic. For example, to restart a flow for people who haven't completed Flow X recently, use an **Event** condition on **Flow Completed** with a time window. See [How to start flows or checklists](/userflow/docs/how-to-start-flows-or-checklists). **3. Page structure changed (element-based triggers only)** If your flow triggers when a specific button appears, and that button's HTML changed, Userflow might not find it anymore Check: the flow's **Element** auto-start condition Fix: Update the element selector to match the new HTML structure ## Scenario 5: Preview updates but changes don't show on the live site **Symptoms:** - You edited the flow in Userflow dashboard - Preview shows the new version - Live site still shows the old version (or nothing) **Most likely causes:** **1. Changes weren't published** After editing a flow, you must click Publish for changes to go live Fix: Click Publish in the flow editor **2. Browser cache is serving old version** Fix: Hard refresh (Ctrl+Shift+R on Windows, Cmd+Shift+R on Mac) or test in Incognito/Private browsing **3. CDN caching the old Userflow script** If you use a CDN in front of your site, it may cache the Userflow.js file Fix: Wait 5-10 minutes, then try again; or purge your CDN cache ## Scenario 6: Flow disappears right after a click or interaction **Symptoms:** - The flow appears, then vanishes the moment the user clicks a button, navigates, or interacts with your app. - The flow seems to "flash" and disappear. **Most likely causes:** 1. **A step has an Advance/Continue trigger that matches immediately.** If the step advances on an element click or a URL change that's already true on arrival, the flow moves on (or completes) instantly. Check: open the step → Triggers, and confirm the trigger only matches *after* the intended user action. Fix: tighten the trigger (e.g. require a specific element click rather than "any click"). 2. **A step trigger fires on the new page.** A running flow doesn't stop just because the user moved to another page. But if a step has a trigger with a **Current page** condition and a **Dismiss** action, or one that goes to the last step, moving to that page ends the flow. Check: open the step's triggers. Fix: narrow the trigger's page condition, or use a wildcard in it. See [URL pattern matching](/userflow/docs/url-pattern-matching). 3. **A dismiss action is wired to the wrong button.** Check the step's buttons → Actions for an unintended "Dismiss flow" action. ## Environment-specific troubleshooting The most common cause of "works in staging, not in production" is a token or environment mismatch. Specifically: | Symptom | Likely cause | Fix | | --- | --- | --- | | Works in Debugger, not on live site | Flow published to staging but not production | Click **Publish** and make sure Production is selected. | | Works for you, not for real users | Auto-start condition requires an attribute only you have (e.g., `role: admin`) | Open the flow's conditions; test against a non-admin user's attributes in the Debugger | | Worked yesterday, not today | A targeting attribute or segment definition changed | Compare the user's current attributes to flow conditions in the Debugger | | Works on `/page1`, not on `/page1?query=value` | The Current page pattern doesn't match the URL with its query string | Test the pattern with **Check auto-start**, and see [URL pattern matching](/userflow/docs/url-pattern-matching) for Current page conditions. | ## Common auto-start condition mistakes - **Boolean vs. string mismatch.** `"true"` (string) does not match `true` (boolean). Check your `userflow.identify()` call: JSON booleans need to be sent as actual booleans, not strings. - **Case sensitivity.** Attribute names and event names are case-sensitive. `userRole` and `userrole` are different attributes. - **Group attributes without** `userflow.group()`**.** Company-level conditions only work if your app calls `userflow.group(companyId, attributes)`. If the group call isn't firing, all company attributes will be empty and conditions will silently fail. - **Timing race conditions.** If your flow has a Wait condition or Delay Start After Previous Flow setting, the flow waits: it isn't broken. Check the Debugger's yellow "temporarily blocked" pill for the specific delay. - **A backgrounded or idle tab does not stop auto-start: a dead session does.** Userflow keeps evaluating and auto-starting flows even when the browser window or tab is in the background, so a backgrounded or idle tab is not on its own the reason a flow won't start. What does prevent auto-start is the absence of a live session: if the Userflow session is flat or has died (for example it was never established, or has ended), there's nothing for a flow to start into. If a flow isn't auto-starting, confirm an active session exists rather than assuming a backgrounded tab is the cause. - **Another flow is still active for the user.** Only one flow can be active at a time, including one waiting on a hidden step. In the Debugger this shows as **Another flow is currently active**. See [Hidden steps](/userflow/docs/hidden-steps). - **A flow that already started keeps showing even after conditions stop matching.** Auto-start conditions are only evaluated at the moment a flow *starts*. Once a session begins, the flow continues to display as the user navigates, even to pages where the URL no longer matches or the trigger element isn't present. If a flow appears to trigger "for no reason" on a page that doesn't match either condition, check whether the session actually started earlier (on a page or via an element that *did* match) and simply carried over. The Debugger's "check auto-start" pills reflect conditions on the *current* page only, so they won't explain a flow that's still visible from an earlier match. ## Stopping a flow when conditions no longer match By default, once a flow starts it keeps running until the user completes, dismisses, or the session otherwise ends. It does **not** re-check its start conditions on every subsequent page. If you need the flow to hide itself the moment the page or element condition stops matching, set **Temporarily hide flow if** in the flow's settings. This is different from the flow being dismissed: the flow remains active and can reappear if the condition matches again later in the same session. ## The Debugger says the flow shouldn't start, but it's showing If **Check auto-start** in the Userflow Debugger shows a flow's conditions failing, but the flow is showing for a user, find out how that flow session started. Go to **Users**, open the user and check the **Sessions** tab. - **It was started from Preview.** Preview force-starts the flow's draft. It skips auto-start conditions, segments and frequency rules, works even if the flow isn't published, and clears any snooze for that user. A session started from Preview tells you nothing about how auto-start will behave for real users. - **It started earlier, on a page that matched.** Auto-start conditions are only checked when a flow starts. The session carries on as the user moves to other pages, and Check auto-start only looks at the current page. To hide the flow where it doesn't belong, use **Temporarily hide flow if**. If the session is still active, the flow keeps showing until the user completes or dismisses it. ## Every check passes and the flow still isn't starting If the pre-flight checklist and the scenario that matches your symptom all pass, contact support with this information: - The flow ID and the URL where it should appear - The user ID of someone the flow isn't starting for - A screenshot of the Userflow Debugger's "Check auto-start" output for that flow and user - Browser console output (any errors mentioning `userflow`) - Confirmation that the user has been seen in Users → search by ID ## None of the scenarios match what I'm seeing If none of the six flow-not-starting scenarios in this article match your situation: 1. Open the [Userflow Debugger](/userflow/docs/using-the-debugger-for-auto-start-conditions) Chrome extension on the page and run **Check auto-start** for the flow. 2. Check the Console: Look for errors or warnings mentioning Userflow 3. Contact support: Send your Console output, flow ID, and a description of the issue to support@userflow.com ## Related articles - [Flow targeting and audience rules](/userflow/docs/flow-targeting-and-audience-rules) - [How to start flows or checklists](/userflow/docs/how-to-start-flows-or-checklists) - [Understanding flow dismiss, snooze, and restart](/userflow/docs/understanding-flow-dismiss-snooze-and-restart) - [Element not found](/userflow/docs/element-not-found) - [Hidden steps](/userflow/docs/hidden-steps)