Flows in Studio

For AI agents: this page is Markdown at https://squiggle.sh/docs/studio/flows.md. Every docs page is listed at https://squiggle.sh/llms.txt, and all of them are one file at https://squiggle.sh/llms-full.txt.

The Flows screen records a flow while you use the app, lets you edit its steps, keeps flows in folders, and replays them on the simulator. The files are the same ones the squiggle command runs.

Record

Press Record and use the app, in Studio’s device panel or in the Simulator app itself. Each tap becomes a step that names the control by its testID, label or text, not by position. The screen you start on becomes the flow’s start screen.

Record a flowStudio tour · 5 steps

Edit

The step list lets you add, remove, reorder and edit steps. Add steps from five groups: Interact, Wait / Assert, Control flow, Device and Network, so you can build a whole flow without recording. Save, revert or delete a single step or the whole flow.

Edit stepsStudio tour · 5 steps

Organise

Folders on the Flows screen are folders inside .squiggle/flows/, so they are in your repository too. Sort by name, last replayed or date added, and drag a flow to move it. Agentic flows have their own Agentic tab.

Organise flowsStudio tour · 5 steps

Replay

Press Replay. Each step’s result appears as it runs, and the last run stays on screen with its timings. The Replay options menu sets how the run behaves; each option matches a CLI flag:

OptionWhat it does
Return to start screenTakes the app back to the flow’s start screen before the run (--auto-correct).
In-process deliverySends taps and text from inside the app, which is faster. On by default (--in-process).
Disable animationsTurns iOS animations off in the app (--no-animations).
Capture networkLets the flow wait for the network and stub requests (--capture-net).
Direct scrollScrolls to a control in one step instead of dragging (--direct-scroll).
Auto-scrollScrolls an off-screen control into view instead of failing (--auto-scroll).
Fast settleMoves on as soon as the app stops moving. On by default (--fast-settle).
Continue on failureRuns every step instead of stopping at the first failure (--continue-on-fail).

Flow tools has Run Doctor, which checks the connection, and Crawl app, which explores the app and opens the flow it finds. See Run settings for what each setting changes.