Workflow control flow

Learn about the order of operations for workflows.

A workflow contains blocks that connect together to execute sequentially during a run. This defines the order of operation and flow of data, known as the control flow. The connecting line between blocks visually represents the control flow, which can be a single path or branch to perform parallel operations.

Control flow of a workflow

Order of operations

Any block that is part of the control flow will execute during a workflow run, beginning with the Start block. Each block can access data from any other block that has already executed. For example, a Resource query block named query2 can reference data from the previous block, query1, using {{}}.

Control flow paths

The control flow is not limited to a single path. A block can output data to multiple blocks that perform parallel actions, creating multiple paths. The Branch block can also perform conditional logic that outputs different results along different paths.

You can always reference a previous block that is not currently part of the same control flow path. The Workflow editor automatically connects the blocks together and displays the connecting line.


Functions are reusable blocks that operate outside of the control flow. They do not appear on the canvas nor do they execute automatically. A Function only executes when called from a JavaScript Code block. A function is still ultimately executed by the control flow as it requires a Code block to trigger it.