Flows

Editing Flows

The Flow Editor lets you construct custom data pipelines consisting of different nodes. All Flows start with a trigger, which sends the initial data into the pipeline. With this initial data the first node of the Flow is executed. Whatever that node outputs is sent to the next node and so on. The results of the last node are returned as a result of the whole Flow.

In this article you'll learn about:

Finding the Flow Editor

To open the editor for a specific Flow, head to your Flows dashboard and either click on any of your existing Flows or create a new one. You'll see the Flow's trigger and its nodes.

Triggering a Flow

The trigger tells FactBranch to run a specific Flow. In the Flow Editor the trigger will always be the first block and you can't move it around because the trigger is the entry point.

To see how to use the particular trigger and to record incoming data, click on Config.

What is a node?

Each node accomplishes a specific task. It either queries a data source, writes data to a target or renders HTML based on the data it receives.

To edit what a node does (for example change the data it sends to an API or change the API's URL), click on Edit.

Changing the order of nodes

Simply drag & drop the node to its new position. The change applies immediately.

Removing nodes from a Flow

Only nodes that follow (directly or indirectly) after the trigger, will be run. The Flow Editor visualizes this by showing the "path" the data takes from trigger to the last node.

Flow path

You can park a node outside of this path by dropping it on the right in the "pile" of unused nodes. None of the unused nodes will run when the Flow is triggered.

Adding nodes to a Flow

To create a new node, press Create node and select the type of node you want to create. Your new node will be placed in the unused nodes area on the right. From there you can drag it to the left to a spot at which it should run within your Flow.

Renaming a Flow

To rename a Flow, either click on Rename next to the title, or double-click on the title itself. Then enter the new name and click on Save or hit Enter on your keyboard. To revert to the old name, hit the Escape key.