Broken Flow Detection
BreakGround automatically detects flows that break when your application's UI changes. When a CSS selector in a flow step no longer matches any element on the page, the system flags the step and notifies your team.
How Detection Works
- The BreakGround SDK loads on an end user's page and evaluates each flow step's CSS selector against the current DOM.
- If a selector does not match any element, the SDK reports the failure back to the BreakGround API.
- The API creates a content health issue linked to the specific flow and step.
- The flow's health score is recalculated based on the ratio of working to broken steps.
Detection runs passively during normal SDK operation -- no additional configuration is required.
Issue Statuses
Each detected issue has one of three statuses:
| Status | Meaning |
|---|---|
| OPEN | The broken selector has been detected and needs attention. |
| FIXED | The selector has been updated and validated as working. |
| DISMISSED | The issue has been manually dismissed (e.g., the page was intentionally removed). |
Reviewing Broken Steps
- Navigate to Content Health and filter by issues with OPEN status.
- Click on a broken flow to see which steps are affected.
- Each broken step shows the failing CSS selector and the page URL where the failure was detected.
Fixing Selectors
To fix a broken step:
- Open the flow in the editor.
- Navigate to the broken step (highlighted with a warning indicator).
- Update the CSS selector to match the new DOM structure.
- Save and publish the updated flow.
Alternatively, re-record the step using the Chrome extension to capture fresh selectors.
Re-validating After Fixes
After updating a selector, click Re-validate on the content health detail page. BreakGround checks the updated selector against the target page and updates the issue status to FIXED if the selector now resolves correctly.
Notifications
A badge appears on the Content Health sidebar item showing the count of open issues whenever broken content is detected.
Prompt attention to broken flows ensures your end users always receive a working guided experience.