Test a flow
mimiq.test_flowStarts immediately unless the recruited crowd is wrong (more than 1 in 5 not the requested audience) or the page could not be read to check its market; the result includes the audience summary, examples and fit. Only those return audience_review: show the warning, then use review_id, confirm_audience and audience_fit_acknowledged to continue, or audience_correction to recruit again. Send simulated people through a multi-step flow (signup, onboarding, checkout) in a real browser, clicking and typing, to find the step where they get stuck or give up. Slower than test_page, and each person uses 5 credits. Returns each person's steps, where they stopped and why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Where the flow starts. Must be publicly reachable. For localhost, open a cloudflared tunnel and pass the tunnel URL. | |
| goal | No | The task each person tries, e.g. "complete the signup and reach the dashboard". Default: sign up and start using it. | |
| count | No | How many simulated people (default 5, max 10; without a key a free flow has up to 3, and defaults to 3). Each runs a full browser session and uses 5 credits. | |
| audience | No | Who the simulated people should be, in plain words, e.g. "startup founders in SF" or "parents shopping for kids toys". If omitted, Mimiq picks the likely audience from the content. | |
| max_steps | No | Optional step limit per person (10 to 60). The server defaults to 40. | |
| review_id | No | The review_id from a low-fit review or completed/running result. Bound to this URL and test kind. | |
| timeout_seconds | No | ||
| confirm_audience | No | Start with the reviewed people after showing them to the user. | |
| audience_correction | No | Not quite? Change who and rerun: use with review_id. Recruits a new crowd under the existing credit rules; starts unless the new crowd is wrong, otherwise returns a new review. | |
| audience_fit_acknowledged | No | Set only after telling the user about an audience-fit warning and they choose to continue. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| call | No | ||
| tool | Yes | ||
| status | No | ||
| report_url | No | ||
| summary_card | No |