Flows
A flow is an API test you draw as steps on a canvas: call a service, check the answer, pass a value to the next step. You build it once, run it on an environment by hand or on a schedule, and read the result step by step.
#What a flow is
A flow starts at Start, ends at End, and has your steps in between. Steps can call a service operation, run a SQL or Mongo query, publish a broker message, check a condition, wait, set a variable, or run another flow (a sub-flow).
Flows are private. Every flow, run, schedule and document belongs to the person who made it. Nobody else can list, open, run or change it. An Admin can open your flows in a read-only view, but cannot run or change them. To give a colleague access, use sharing.
Flows never run on an environment marked as production. This applies to single runs, debugging, bulk runs and schedules, and the run panels do not offer such an environment.
#Create a flow
- Open Flows in the left menu.
- Press New flow. The editor opens with Start and End on the canvas.
- Type the flow name at the top.
- Open the Add step panel. It has three tabs: Service operations, Blocks and Sub-flows. Pick a service, then an operation, or search by name. The step lands on the canvas.
- Drag from the output port of one step to the input port of the next one. Connect the first step to Start and the last one to End.
- Click a step to set it up in the right panel (the Node tab): headers, body, checks after the response, values to extract.
- Press Save (Ctrl+S). The top bar shows whether there are unsaved changes.
Running a flow saves it first. If the save fails, the run does not start and the error shows next to Save.
The Description tab holds a free text about the flow. The first line is shown under the name in the list.
#Pass data between steps
Any text field of a step may contain {{ ... }} templates. While you type, the field suggests what is available.
| Template | What it gives you |
|---|---|
{{vars.name}} |
an input of the flow (see Inputs) |
{{doc.Name.key}} |
a value from a document (a saved set of test values) |
{{global.key}} |
a value from a global document |
{{step.alias}} |
a value that an earlier step extracted under that alias |
A step can extract a value from the answer (alias = path, for example token = $.token) and check the answer (for example status: 200). The next steps read the extracted value as {{step.alias}}, where step is the name of the step. A reference that cannot be resolved fails the step and the run names it.
#Inputs
Inputs are the values you change between runs. Open the Variables tab. It holds a JSON object: the name of the input and its default value. An input with an empty value is required. When a required input has no value, the editor shows a bar above the canvas and an inputs card on it, with a button that opens the run panel. There you type the values by hand or take them from a document, and you can ask Checkara to remember them for next time. Secret values from documents are used but never shown. A value extracted under a name like token, secret or password is masked in run history.
#Run a flow
- Pick the environment in the selector at the top of the editor (the tooltip is Environment for the run). It starts from the default environment in My settings.
- Press Run. The step statuses appear on the canvas and the results panel opens at the bottom.
- In the results panel the header shows pass or fail, the environment and how many steps ran. Click a step to see its request, response, checks and extracted values.
From the Flows list you can also press Run on a row, without opening the editor.
The run history of a flow is in the More actions menu of the editor (the history item). It shows the share of passed runs, the average time and the last runs, filtered by environment. A run you started by hand is marked as manual, one started by a schedule as scheduled, one started through an AI agent token as MCP. History is kept for 30 days, and the last 20 runs of each flow are always kept.
If a step changes data (a POST, PUT, PATCH or DELETE, a SQL write), a repeat could do it twice. Turn on retry for such a step only when the request is safe to repeat.
#Debug a flow
Debug runs the flow node by node on an environment and pauses where you ask.
- Open the menu next to Run (Other ways to run).
- Choose Debug (F5) to pause at your breakpoints, or Debug from the first node to pause before the first step.
- The canvas is locked while the session runs, and a bar at the top shows the state.
Controls on the bar:
- Continue (F5): run to the next breakpoint or to the end.
- Step (F10): run one node and pause again.
- Stop (Shift+F5): close the run as failed.
- When a node fails, the session pauses on the error. Retry step runs the node again with the current variables. Finish closes the run as failed.
To set a breakpoint, click the dot to the left of a node, or select the node and press F9. Right-click a node for Run to this node, a temporary point that disappears once the run stops on it.
The right panel has the tabs Next node (the request that will be sent), Variables, and Steps. While paused you can change vars.* values and extracted values. The change applies to this session only; the flow stays as it is. Secret values stay masked.
Breakpoints are personal. They live in your browser for this flow, not in the flow itself, and they are not copied when you share it. A debug run is saved in the history like a normal manual run. A session that stays paused for 15 minutes stops on its own, and leaving the editor stops it too.
#Schedule a flow
A schedule runs a flow automatically on an environment.
- On a row of the Flows list press Add schedule, or open the schedule drawer from the More actions menu of the editor.
- Pick the target environment (not a production one) and a preset, or type a cron expression with five fields: minute, hour, day, month, weekday. The cron time is UTC. The drawer shows when the next run happens.
- Save the schedule.
On the list, Pause schedule and Activate schedule switch it off and on without losing it. Scheduled runs happen in the background, so you do not need to keep the page open. If the previous scheduled run of a flow is still going, the next one is skipped.
#Share a flow
There are two ways to share. Neither one gives anyone your private data: documents with secret values are never copied or shown.
Give access to people. In the More actions menu of the editor choose the share item and open the access tab. You can keep the flow only for yourself, give it to chosen users, or give it to everyone. People who got access find it under Shared with me in the folder tree. They can run it with their own inputs, documents and globals, embed it as a sub-flow, and copy it with Copy to mine. Only you can edit it, and their runs belong to them: you do not see them. If the flow uses documents, Checkara asks for each one whether to share it or turn its values into inputs. A required input that stays empty blocks the other person's run until they fill it in. If you set the flow back to private, it disappears for the others, and flows that embed it stop running.
Send a copy link. The second tab of the same window creates a link. Whoever opens it (they need a Checkara account) gets their own copy of the flow as it is saved when they open the link. They can change the copy freely, and your flow stays untouched. You choose how long the link lives (1, 7 or 30 days, or no limit; 7 days by default), can create a new one, and can switch it off at any time. Copies that were already made stay with their owners.
A flow shared with you opens read-only: you can pan, zoom and look at the steps. To change it, make your own copy.
#Folders and bulk runs
The folder tree on the left of the Flows list helps you keep order. It has All flows, No folder, your folders, Shared with me and Trash. Folders can be nested up to three levels. Press New folder to add one. Move a flow with the folder chip on its row, with To folder… after ticking rows, or by dragging it onto a folder. Typing a path such as Orders / Refunds in the folder picker creates the missing folders.
To run many flows at once, press Run folder on a folder, or Run all flows, or tick rows and press Run. Choose the environment and the flows in the drawer. You can include subfolders, stop on the first failure, and set how many flows run in parallel. One at a time is the default, because parallel flows can fight over the same test data. You see the progress live, and each flow gets an ordinary run in its history.
#Trash
To trash on a flow moves it to Trash. Its schedule pauses and its share link stops working. The Trash page lists such flows with the days left. Use Restore to bring a flow back to its folder, or to No folder if the folder is gone. Delete permanently and Empty the trash remove the flow together with its run history, and this cannot be undone. Flows in the trash are deleted for good after 30 days. A flow in the trash cannot be run, changed or shared.
Another flow that embeds a trashed flow as a sub-flow keeps working until the trashed flow is deleted for good. Then that step fails.
See also Services and health for the services you call, and Logs to find out why a run failed.