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:
While editing the flow, you can run the whole flow as a test.
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.
From the menu, you can also access past runs & saved inputs.
At last, you can fill arguments from a request.
Test up to step
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.
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.