• Tool
  • Developer and engineering tools
  • Beta

FlowLab

Build logic on a visual canvas from 28 nodes, run it live, compare scenarios, simulate it over time and download it as working JavaScript or a specification.

FlowLab workspace

Loading FlowLab…

How your data is handled

FlowLab runs in your browser. The text and files you use are processed on your device and are not sent to Digital Campaign or anyone else.

Nothing is saved unless you choose to save it. Saved data stays in this browser, and you can clear it at any time.

Limits: Up to 200 nodes, 400 connections, 50,000 rows a table, 10 scenarios, 1,000 batch cases and 120 simulation periods. Saving in this browser is off until you choose it.

If you accept analytics, we count visits to this page. We do not record what you enter. Your browser, its extensions and your device are outside our control.

What FlowLab does

FlowLab is a visual workbench for logic. You place nodes on a canvas, connect them and set them up, and the flow runs in your browser as you build it. Each node does one job: holds a number, reads a CSV file, works out a formula, filters rows, makes a decision or checks a result. Lines between nodes carry values from one to the next.

What sets it apart is that you can see every step. Select any node and the inspector shows what went in, what came out and how long it took. The console lists the order the nodes ran in, which branch each decision took, which nodes did not run and why, and whether your checks passed. You can also step through a flow one node at a time.

It suits anyone who needs to explain how a rule or a calculation works: analysts testing a pricing rule, product teams agreeing how an order should be routed, or developers sketching logic before they write it.

Three ways to run a flow

  • Live: the flow runs again after every change. Change a quantity and the totals, the decision and the results update at once. This is the default.
  • Manual: turn Live off and the flow runs only when you select Run flow. If you change something after a run, the console marks the run as out of date. This is useful for large files.
  • Step: runs the next node in order and shows its inputs and outputs, so you can follow a flow the way the engine does. Reset starts again.

Values have types: number, text, true or false, table and JSON. You can only connect an output to an input that accepts it, and the canvas highlights the inputs that fit while you drag. A number can feed a text input and anything can feed a JSON input. Other changes need a node of their own, so nothing changes type without you seeing it.

The node library

There are 28 nodes in five groups. Search the library or browse it, and select a node to add it to the middle of the canvas.

  • Inputs: Number, Text, Boolean, Date, JSON and CSV. A CSV node reads a file from your computer or text you paste in. Dates are written as year, month and day, such as 2026-11-29.
  • Processing: Calculate works out a formula from up to four inputs. Filter keeps the rows that match a rule. Transform adds, renames or removes a column, trims text, changes case or rounds numbers. Merge joins two tables or two objects. Aggregate groups rows and counts, sums or averages them. Extract takes one field, column or row out of a value. Date calculation adds days or months, counts the days between two dates, or names or writes out a date. Lookup finds a value in a table, such as a price in a price list. Text joins, replaces, measures, searches or splits text. Sort and limit puts a table in order and keeps the first rows, such as the top ten.
  • Logic and validation: Condition tests a value and sends it down a true or a false path. Compare checks two values and gives the difference. Switch routes a value by matching cases. Validate checks every row against rules, such as required, a number, an email address or a range, and splits the valid rows from the rest. Assert compares what a flow gives with what you expect.
  • Outputs: Preview, Table, Chart (bar or line, with the data as a table too) and Export JSON, which you can download.
  • Simulation: Period gives the period number, Previous value carries a result into the next period, and Random draws a new number each period. Outside a simulation they give fixed values, so a normal run gives the same answer every time.

Formulas use numbers, the input names a to d, the four sums, brackets and a few functions: min, max, round and abs. FlowLab reads them with its own small parser. It never runs code you type or code inside a file you import.

Start from a template

  1. Order approval opens first. A unit price of £25 and a quantity of 100 give a gross value of £2,500. A 10% discount brings it to £2,250, which is over the £2,000 limit, so the order goes to priority handling and the standard path does not run. Set the quantity to 80 and the order drops to £1,800 and goes the standard way.
  2. Data clean-up trims names and emails in a contact list, puts the emails in lower case, checks every row against rules and shows the valid contacts and the rows to fix. An Assert node checks that three rows need fixing.
  3. Pricing engine sets a list price of £61.54 from a cost of £40 and a 35% margin. After a 10% discount the price is £55.39 and the margin left is 27.8%, which passes a 25% check.
  4. Customer segmentation keeps the customers who spend £500 or more, sums their spend by region and draws it as a chart.
  5. Test harness works out weekly pay and take-home pay, then runs three Assert checks on the results. All three pass, and the console lists them.
  6. Subscription growth models a business month by month. Each month it loses 3% of last month's customers and gains between 40 and 60 new ones, then works out the revenue at £20 a customer. Run it under Simulate.
  7. Renewal pricing looks up the monthly price of the Pro plan, £25, in a price list, works out a 12-month contract value of £300, and writes "Pro plan renews on 29 November 2027". Type a plan that is not in the list and the flow takes its Not found branch.

Loading a template replaces the flow on the canvas. If you have made changes, FlowLab asks first.

Compare scenarios and test in bulk

A scenario is a named set of input values. On the Test step, add one from the current inputs, add another and change its values. The table runs every scenario and shows each node's result side by side, with a Differs column for the rows that change. Use copies the scenario's values onto the canvas. Scenarios are saved in the flow and in its exported file.

For more cases, use Batch test, also on the Test step. Make a CSV file with one column for each input, named after it, and one row for each case. FlowLab runs every row and shows each result and how many tests passed. A bad value only fails its own row. Download a starter file gives you the right columns, and you can download the results as a spreadsheet.

Simulate over time

Simulate runs the flow once for each period, such as a month, for up to 120 periods. Previous value carries a result into the next period, which is how a customer count or a bank balance builds up. Random adds variation, and the seed makes it repeatable: the same seed always gives the same results. The panel draws the values you choose as lines and lists them in a table, and you can download every value.

With seed 1, the subscription template grows from 1,000 customers to 1,195 after 12 months, with monthly revenue of £23,900. Raise churn to 5% and the year ends with 989 customers.

Build bigger flows

  • Subflows: group several nodes into one. The connections that crossed the group become its inputs and outputs, and the flow gives the same results. Duplicate node makes another copy to reuse, and Ungroup puts the nodes back to edit them.
  • Bypass: switch a node off without deleting it or its connections. Its first input passes straight through, so you can see what the flow does without that step. Press B on a node, or use the check box in the inspector.
  • Arrange: lays the nodes out in columns, from inputs on the left to results on the right. Undo puts them back.

Hand the logic over

When the logic is right, three downloads help whoever builds it. Describe gives the steps in plain words, in the order they run. Download code gives a JavaScript function that takes the same inputs and gives the same results as the flow. For flows of numbers, text and logic it is a short, readable function. For every other flow, including tables, dates and subflows, it is a standalone module with FlowLab's own engine inside, so the results match exactly. Handover spec is a document for a developer or an AI coding agent: the inputs and results, the logic, acceptance tests taken from your scenarios, and the flow file itself.

Run history and versions

On the Share step, FlowLab keeps the last 20 runs while the page is open, with what changed between them. Compare with now shows what changed since an earlier run and how each result moved. Restore takes the flow back to that run, and Undo reverses it. You can also compare the flow with a file you exported earlier.

When another Labs application fits better

FlowLab is for logic you can write down as steps. For some jobs we have a tool that does more. To design a workflow of AI agents, tools and approvals and see where it fails, use the Agent Simulator. To match and reconcile two data sets, use DataResolve. To plan the versions of a campaign across markets and channels, use the Campaign Complexity Engine.

Working without a mouse

Every part of FlowLab works with a keyboard. Tab to a node on the canvas, move it with the arrow keys, press Enter to open it in the inspector and Delete to remove it. Each input in the inspector has a list of the outputs that can feed it, which is how you connect and disconnect nodes without dragging. Undo and Redo cover every change, and the console gives a written record of each run.

Saving and privacy

Your flows and files stay in your browser. Nothing is uploaded, and the page cannot connect to any other server.

On the Share step, Download flow (JSON) saves the flow as a file you can keep, share and import again. Imported files are checked before anything runs: only known node types, settings within their limits and connections that fit are accepted.

Saving in the browser is off until you select Save in this browser and agree. Saved flows stay on this device. The list of saved flows lets you open or delete each one, and Clear all removes them all.

Limits

  • Up to 200 nodes and 400 connections in a flow.
  • Up to 50,000 rows in a table, and up to 5 MB for each CSV file.
  • Formulas can be up to 500 characters long. A run that takes longer than two seconds stops and says so.
  • Flows cannot loop back on themselves, and each input takes one connection. An output can feed as many inputs as you like. To carry a value from one period to the next, use Previous value in a simulation.
  • Up to 10 scenarios in a flow, 1,000 cases in a batch test and 120 periods in a simulation. A subflow can hold up to 50 nodes, and subflows do not go inside each other.

Questions people ask

Is this a replacement for an automation platform?

No. FlowLab does not connect to other systems or run on a schedule. It is a place to work out and test logic, and to show others how it works, before anyone builds it into a real system.

Why did a node say it was not executed?

Its input came from a branch that was not taken, such as the false path of a Condition when the test was true, or from a node that failed. The console shows which branch each decision took.

Can I use my own data?

Yes. Add a CSV node and load a file, or paste the text in. The file is read in your browser and is never uploaded.

Can someone help us design the real thing?

Yes. Our AI and automation strategy and digital transformation services help teams turn rules like these into working systems.

Version 0.3.0. Last updated 29 November 2026.

Send feedback or report a problem