Identify Your Critical Flows
Start by asking yourself: what would cost me the most if it broke right now? Those are your critical flows. Common candidates include:
- Checkout or payment — a broken checkout directly kills revenue
- Signup and onboarding — a failed signup means lost users before they ever see value
- Login — if existing users can’t log in, nothing else matters
- Lead or contact form — a broken form means prospects silently disappear
Build Each Flow in the UI
For each critical flow you identified, create a corresponding flow in TYAN:
- Open the Flows tab in your dashboard and click New Flow.
- Enter your app’s starting URL as the first Navigate step.
- Add Interact steps to simulate user actions — clicking buttons, filling forms, submitting data.
- Add Assert steps to confirm the expected outcome is visible (e.g., “Order confirmation message is displayed”).
- Name the flow clearly (e.g.,
Checkout – Guest Purchase) and click Save.
Run the Flow Suite Before Shipping
Once your flows are built, run them as a group before every deployment. You have two options:From the dashboard: Filter flows by the Replace
pre-ship tag and click Run All.From your CI pipeline: Trigger a flow run via the API so verification happens automatically on every push:{flow_id} with the ID shown on the flow’s detail page, and YOUR_API_KEY with a key generated in Settings → API Keys.Interpret the Results
After every run, each flow reports a clear status:
- Green (Passed) — every step completed and every assertion was met. You’re clear to ship.
- Red (Failed) — at least one step or assertion failed. TYAN captures a screenshot at the point of failure so you can diagnose the issue immediately. Investigate and fix before deploying.
To trigger flow runs directly from GitHub Actions, GitLab CI, or other pipelines, see the CI/CD Integration guide.