Skip to main content

Testing Flows

On top of its integrated editors (scripts, flows, apps), Windmill allows users to see and test what they are building directly from the editor, even before deployment.

Instant preview in Flow Editor

The flow editor has several methods of previewing results instantly.

Testing the flow or certain steps is often required to have the outputs of previous steps suggested as input for another step:


Test flow

While editing the flow, you can run the whole flow as a test.


Click on Test flow. This will open a drawer with the flow's inputs and its status.

Upon execution, you can graphically preview (as a directed acyclic graph) the execution of the flow & the results & logs of each step.

Flow status

From the menu, you can also access past runs & saved inputs.

Input library

At last, you can fill arguments from a request.

Fill from request

Test up to step


As for Test flow, you will get the same components (Flow inputs, status, input library etc.), only the flow will execute until a given step, included.

Restart from step, iteration or branch

Restart a flow at any given top level step. For-loop and branch-all can be restarted at a specific iteration/branch. In the flow preview page, just select a top level node and a "Re-start from X" button will appear at the top, next to "Test flow".

To see how it works, see our dedicated blog post.


Under Cloud plans & Self-Hosted Enterprise Edition, this feature is also available for deployed flows.

Restart deployed flow

Test this step


Test this step is a way to test a single step of the flow. It comes useful to check your code or to have the results of your current steps suggested as inputs for further steps.

The arguments are pre-filled from the step inputs (if the arguments use results from previous steps, they will be used if those were tested before), but you can change them manually.