Skip to content

Workflow orchestration

A workflow moves your data from a source to an outcome: it loads rows, shapes and checks them, and writes the result out. You design it on the Flow canvas, the workflow engine runs it on the server, and every run leaves lineage and audit evidence that people and agents can read. This page explains how a run executes, what triggers a node, and the surfaces that read a run’s results. Workflows belong to the Workspace pillar.

KnowledgeGraphAgentHarnessWorkspace

One place to shape the work, then run it again

FAILED CHECKSEVERY CELLAPPROVEDINSourcesfiles · APIs · inbound emailLOADLoad rowsfromFile · fromApi · fromEmailOPSShape and checkset · filter · group · validateOUTExportfiles · email · API callsTICKETSException ticketsrows that failed a checkRECORDLineage and auditwhere every cell came from

Rows come in from files, APIs, or inbound email. One node loads them, the next nodes shape and check them, and exporting nodes write the result out only when nothing upstream raised a warning or error. Rows that fail a check become exception tickets, and every run records where each cell came from.

When you zoom the canvas out, or when many nodes sit in view at once, each node draws as a small square in its colour so the canvas stays readable. Zooming in restores the full cards.

You open a workflow from Workspaces or from a link that names the workspace and the .wf.json file. If you can read a workspace, you see the same run data as everyone else with access. If you can edit it, you can run any workflow in it. If you cannot read that file, Flow stays on Workspaces and tells you so. A Fontana Files administrator (files:admin) can open any workspace file.

On the Workspaces home list, the footer sort control reorders both the sidebar names and the tiles: A to Z (click again for Z to A), last opened, or created.

You start a run from the canvas Run control. Auto-build in the workflow ⋯ menu decides what happens when the workspace changes on its own: on, Fontana starts the build for you; off, the change waits for a Run (see Auto-build and freshness).

When a run executes, the engine:

  • Reacts to change. Each node hashes its configuration, incoming wires, and input data. Nodes whose hash matches the last successful run reuse their output; the others re-run. Frozen nodes keep their last output until you unfreeze them. If a node hash cannot be calculated, the run fails with an error for that node instead of treating it as up to date.
  • Runs in parallel. Independent branches execute concurrently where the graph allows.
  • Executes server-side. Large files, PDF parsing, API calls, and downloads run on the workflow engine.
  • Persists run-scoped data. Uploads, datasets, exports, and audit sidecars survive service restarts within your workspace boundary. After a restart, Explore restores published node outputs that still have rows.

One run of a workflow is in flight at a time, while your other workflows keep running alongside it. Press Run during a run and the control reads Queued next: your request starts as soon as that run finishes, and pressing Run again while it waits keeps it to one queued request. Cancel beside the control covers both the run in progress and the request waiting behind it; the rows the last successful run published stay in place. Each run reuses the output of every node whose configuration and inputs are unchanged, so a run after one edit executes that node and the nodes downstream of it.

If a build exhausts recovery (the worker runs out of memory, or the process is lost), Fontana locks that workflow. Auto-build and agent runs skip it so your other workspaces keep building. Unlock it from the canvas Run control when you are ready to try again. A single large build that hits its memory budget fails that run and leaves the engine up.

A step that has to hold a whole input in memory has a size cap: past it, the node fails with a message giving the input’s size, and the rest of the run continues. A SQL query that is the first operation of its node reads its inputs from disk instead, so a larger input still runs through it. A fromFile statement reads a CSV, TSV, or text file from disk too, so a file past that size loads and a SQL query can read it; an unchanged file is not read again on the next run.

Each node answers one sentence, and that sentence is the whole model:

Trigger this node [off | automatically | every …] · [at most once every …] · [always | if] [formula]

Open it from the node editor header. The button carries the answer, so you can read a node’s setting without opening the panel: Auto, Disabled, or the schedule in words (Every day at 8AM). The panel is titled Node triggers, every chip commits as you change it, and you close it with its ✕, with Escape, or with the button again. A click elsewhere leaves it open while you work in it.

What wakes the node is the first chip, and it has three values.

Value What it does
off Never execute this node. Off is part of the node’s result, so switching it rebuilds the workflow; the other two chips are free.
automatically Execute this node when its own config or inputs change, following the workspace’s own builds. A schedule you stored is kept and parked, so switching back to every … gets it back.
every … Wake this node on its own schedule. Input changes stop building it.

Schedule times are UTC. Choose every few minutes, every few hours, every day, selected weekdays, or monthly, then the hour and minute, and the control writes the schedule back to you in plain English under the fields. The panel shows when the node last fired. If Fontana was unavailable when a scheduled time came round, the node fires once as soon as it is back and reports how many scheduled times it missed, so a single run brings the workflow up to date. A node holds one schedule and a workflow holds at most ten. A workflow you copy, or create from a template, keeps its schedules and starts firing on them straight away.

When a schedule comes due, Fontana starts a build of the whole workflow and marks that node for re-execution, so the node and everything downstream of it refresh while unchanged branches reuse their last output. Schedules that come due together produce one build, not one each. A workflow you have disabled from the workflow ⋯ menu does not fire.

Saving a schedule records a Trigger created activity against you, and each fire records a Trigger fired activity that the build it starts is linked to, so a scheduled build traces back to whoever set the schedule. See Activity log.

A cooldown is the second chip, at most once every …: a floor on how often an expensive node executes when fast-changing data upstream keeps waking it. It defers rather than drops. A change inside the window is not lost; it waits for the end of the window, and several changes in the same window become one execution. The node keeps its last published output meanwhile, so everything downstream reads the previous rows rather than nothing. The ladder runs from one minute to 24 hours, and as often as needed is the default. The chip belongs to automatically only, because a schedule is already a rate.

A condition is the third chip. always runs the node every time something triggers it. if runs it only when a formula over what arrives at the node is true. The formula is one expression that gives true or false, written on its own with no statement around it:

input().rows().count() > 0
input().rows().some(current.prop("SIDE").test("BUY"))
context().prop("triggerReason") == "cron"

input() is the node’s own incoming rows, so the second formula runs the node only when a BUY row arrived. context().prop("triggerReason") is what started the build: auto, cron for a schedule, manual for the Run control, agent, or email. A node with several wires reads the rows of one of them by its handle, as in inputs().prop("trades").rows().

A condition can also read the exceptions raised upstream. For each incoming wire it counts the exceptions raised in the current build by every node upstream of that wire, not only by the node wired directly in, in three severities: info (levels 1 and 2), warning (level 3), and error (levels 4 and 5). Each node that raised exceptions is counted once, also when more than one path leads from it to your node.

input().exceptions().prop("warning") == 0 and input().exceptions().prop("error") == 0
inputs().prop("trades").exceptions().prop("error") == 0

input().exceptions() covers everything upstream of the node, so the first formula is false as soon as any node before it raised a warning or error exception. inputs().prop("trades").exceptions() covers everything upstream through the one wire with that handle. The pills on a wire still show the counts of the node that wire comes from.

Exporting nodes, the ones that write a file with toFile or send an email with toEmail, start with that first formula as their condition when you add them, so a file is written or an email is sent only when no node upstream raised a warning or error exception. Edit the condition on the node, or switch the chip to always to export whatever arrives. An exporting node that has no condition, for example one an agent wrote without it, exports on every run.

Fontana checks the condition in every build that reaches the node, before it decides whether the node can reuse its previous result. When the condition is false the node does not run, publishes no rows on any of its ports, and shows Not triggered with its condition, and the build carries on. The next build asks again, so a node that held back while an upstream warning was open runs once that warning is gone. A formula that does not parse, or that returns anything but true or false, fails the node with the formula’s own message. The formula editor is the same one the Operations badges use, with its lint, completion, and hover.

The condition is the only thing that holds a node back for upstream exceptions. A node set to always runs and reads every row, whatever was raised before it. A condition is a gate, not a wake source: it decides whether a node executes in a build something else started. Keeping the last result instead of re-executing is a different control, frozen, which stays on its own.

Auto-build in the workflow ⋯ menu is a setting of the workspace itself, not of your browser, so everyone who can edit the workspace sees the same choice and it survives a reload. Every workspace is on until you turn it off. With it on, a change to the workflow starts a build: a canvas edit, a new version of a file a node reads with fromFile, or a cell or header edit. With it off, the change is recorded and waits. The workspace shows the Stale badge and nothing runs until you press Run, a node schedule comes due, an agent asks for a run, or an email arrives.

Turning Auto-build off does not cancel a build already in progress, and turning it back on picks up the change that was waiting.

Every build publishes each node’s output rows into the workspace through Fontana Files, with that port’s columns, audit items, and lineage. Explore, the port grids on the canvas, dashboard tiles, and node descriptions all read that published data, so everyone with access to the workspace sees the same rows.

Because data exists only after a build has published it, a view says which state it is in rather than showing an empty grid: no build has published yet, this port was not published by the last build, a previous build whose rows were not kept, or rows that are ready to read. While a build is in progress, every view shows Rows publish when the run finishes and the canvas counts stay live.

A cell you edit in Explore is saved to the workspace and committed in its file history, so filters, sorts, counts, charts, and downloads all read your edited value, and the next build carries it into every node downstream.

See Published data for the full list of states, how edits travel, and the query blocks templates read published data with.

Settings opens with Display: Title, Description, Theme, then Icon. Icon opens the asset library filtered to icons, where you pick a built-in icon, a Heroicon, or a shared asset, or add one, and save it with Use icon. Until you pick one, the node keeps its type glyph; Use type icon returns to it. A single-colour icon takes the node’s theme colour. Skills use the same library.

To show where values came from, set a data style where the data enters (see Data styles below). A style you set on a source column, for example setStyle("ISIN", "background", "pink"), follows every value computed from it, so a cell three nodes downstream still reads as coming from that source.

Editors for nodes that output a dataset have an Explore tab right after the primary tab (first when the node has no primary tab). Explore lists that output as named views: table, board, list, JSON, Details, and a chart when the rows can be queried. Filters and sorts run on the server over the published rows, and the view layout, filters, and header are saved on the node. Explore reads the rows the last run published to the workspace through Fontana Files (before a run, the workspace file a fromFile node reads). A picker in its toolbar switches between the outputs that run published for the node, one entry per sheet for a workbook, and a toggle beside it switches between the rows, the published schema as a tree, and the same schema as JSON. Opening that published file, or a file a toFile node wrote, from the workspace shows the same Explore view in Preview. The open grid follows changes that reach the workspace while you look at it: a run started by an agent or a schedule brings its rows in, and a view layout an agent saves appears without reopening the file.

A green dot marks a value this node changed from what it read upstream (hover for the old and new value); a yellow dot marks a cell someone edited. Click a cell to select it and use the arrow keys to move. Enter or a double-click edits a node’s own output rows; the edit is saved to the workspace, read by this view’s own filters and counts, and applied to that row on the next build. See Published data and Data lineage.

The Settings tab ends with a Raw Config section that shows the full configuration object for that node. Valid edits apply when the editor loses focus; invalid JSON or changes to id / type keep your draft and show an error. Marker stroke nodes stay canvas-only and do not include this tab.

Escape closes dismissible layers one at a time, most recently opened first. It closes the editor when its fields are empty after trim. If a field still has text, Escape neither closes the editor nor clears your draft, even after a menu on top has already closed. Open menus, dialogs, and Monaco suggest or find keep Escape until they close.

A Formula operation can style the data it writes, and those styles follow the data. setStyle("Dirty Price", "background", "rose") marks that column, and every value computed from it carries the mark: write setProp("Consideration", prop("Dirty Price") * prop("Quantity")) after it and Consideration is rose too. The styles ride on the operation’s output, so they stay with the rows through later operations, into groups, and in every Explore view that shows them. clearStyle and clearRowStyle remove one style key or all of them.

A cell read only to decide something is not a source, so a field used in an if condition, a filter, or a sort key does not pass its style on, and writing a cell from a constant clears the style it had. Where many rows become one, the group keeps the union of its members’ styles. A value read out of another wire’s table brings that cell’s marks with it, so an enriched column keeps the marking of the column it came from.

An operation that returns a whole row, such as an AI call or a script, gives every cell of its output row the union of the input row’s marks, because Fontana cannot see which cell came from which. A query carries no marks at all. A formula is the operation that keeps marks per cell.

This is the data’s own marking, which is why it differs from a view’s conditional formatting: a view formula paints what one viewer sees and can use me() and the view’s option colours, while a data style knows where a value came from and nothing about who is looking. Where both paint the same cell, data styles go on first and the view formula overrides only the keys it sets. An unusable colour never fails a run: the write is skipped and reported on the node, and the data is written as normal.

Preferences in the bottom omni toolbar adjusts canvas display: fit view, lock, layout direction (LR / TB), and node corner radius (rounded or square). The choice is stored on the workflow display config and applies to standard workflow node cards. The omni dock holds canvas tools and Preferences only; you add nodes and operations from the right-hand tools rail, Quick add on a selected node, and My Components.

Select a node and drag the bottom-right corner to change both width and height. Flow saves that size with the workflow, so leave, re-enter, and refresh restore it. The card stays at least as tall as its content, and you cannot shrink below the minimum width for that node type. Historical run canvases stay read-only. Panel nodes keep their own edge resizer for width and height.

The right-hand tools rail (Overview, Nodes, Operations, Errors, My Components, and related panels) docks as a column that takes width from the canvas; the graph shrinks and the run toolbar recenters in the remaining space. The panel has a left-edge resize handle. Keyboard N toggles Nodes and O toggles Operations when you are not typing in a field. Overview is the inspector: with nothing selected it shows the mini map, workflow info, stats, and node list; a selected node shows that node’s data; a selected wire shows that connection (title Edge, the wire’s handle, which you can rename, payload counts, and an Enabled switch); a selected data-grid cell shows that cell’s lineage. The canvas Audit log lives on the Errors rail, with severity totals under the title. Save a panel to My Components with a name dialog (default My component). Escape closes the panel when its draft fields are empty after trim, including an empty search box; a typed draft keeps the panel open and is not cleared.

Every workflow step is a formula node. Its behaviour is its node file, a list of statements beside the workflow that runs top to bottom: verbs that load and save data (fromFile, toFile), receive and send email or requests (fromEmail, toEmail, fromRequest), call APIs and the web (fromApi, fromGraphql, fromWeb), ask AI or run templates, queries, and scripts (fromAi, fromTemplate, fromQuery, fromScript), shaping statements (subgrid, setProp, setType, keepProps, rowKey), and formula statements. The node picker offers the common steps as presets, such as Load a file, Call an API, and Set a column type. Besides formula nodes, a canvas holds panels, sticky notes, and marker strokes. See Formula node, which also maps each earlier node type to the statement that replaces it.

PDF and office documents a node loads with fromFile are parsed on the server with Docling. Loading uses no AI model.

Formula statements are how a node shapes and checks its rows: they keep per-cell lineage and data styles through everything they write. A query (fromQuery) carries neither. A script (fromScript) receives the whole row, so its lineage is not guaranteed and styles follow the whole input row.

Everything a pipeline needs to enforce data quality before data leaves a branch is a formula statement: filter and dropRow drop rows, setProp normalises a column, groupBy with a list reducer aggregates, sortBy orders, and raiseException files an Exception Management ticket on the row. See Formula.

One wire into a node is that node’s rows. Several wires are named tables, named by each wire’s handle, read with inputs().prop("<handle>"), and nothing combines them until the node file says how, for example with appendRows and find. See Wires and named tables.

An operation body does not have to sit inside the workflow file. Anywhere a value is expected, you can write a JSON Reference instead:

{ "operations": { "$ref": "operations.json#/load_file_node" } }

A path with no # names a whole file. The text after # depends on the target:

  • JSON files: a JSON Pointer (#/clean), so one file can hold several objects.
  • Formula (.ffl) files: a named export (#bar). In the file, open a fence with three backticks then ffl bar, write the statements, and close with three backticks. The name is the info-string. An unfenced .ffl is the whole-file default export.

References resolve recursively, including a pointer that lands on another reference, and the base for a relative path is the folder of the file that holds it. A reference to a file that is not JSON is replaced by that file’s text, so a formula can point at an .ffl file, a JavaScript or Python script at a .js or .py file, and a query at .sql, .jsonpath, .jsonata, or .jinja. Files come from the same workspace; remote addresses are not fetched. An address that resolves to nothing, a duplicate $id, and a pointer loop are all run errors that name the reference.

When you write a new formula, query, or script on a workflow, Flow stores the body in a sibling folder named after the workflow file (orders.wf.json writes into orders-scripts/) and puts $ref on the operation. Existing inline strings in the workflow file stay valid. You can also point $ref at any other file in the same workspace, including a shared lib.ffl#bar. Open an .ffl in Fontana Files to edit it as Source, the same way you edit .js.

An operation’s hash covers the text it resolved to, so editing a referenced formula re-runs that operation and the ones after it, and leaves the rest of the node alone.

Each workflow can have a dashboard: a masonry board of tiles. In edit mode you drag the right edge to set how wide that board is. Cards you stretch across every column stay the full width of that board when the window or pane resizes. See Workflow dashboards.

A row that fails a check can become a durable ticket instead of a run error. In a node file, raiseException() files the ticket from a statement; on an operation’s badge and in a node’s execution settings, On error set to raise exception files one when that step fails. Tickets persist in the workspace and appear on Exception Management, where you triage them in named views. See Exception management.

A Community Templates or Learn Fontana workspace is a read-only catalog: you can open every node and see how it is built, and an update returns the catalog to the files it ships. Choose Clone Workspace on any readable row, including your own, to get a working copy, and do your work in the clone. A new clone builds by itself, so its results appear without a Run (a workflow with Auto-build off waits for one). Cloning needs a role that may create workspaces; a viewer opens the catalog read-only and sees no Clone Workspace.

Reusable fragments of a pipeline can be encapsulated as subgraphs and grafted onto larger pipelines.

A workspace is the Fontana Files namespace that holds your workflows, their inputs and outputs, and the agents, skills, tables, and dashboards that belong with them. Workspaces in Flow is where you find and open them.

The hub landing shows a welcome (capability icons and Create workspace), then your favourite and recent workspaces. The Workspaces explorer beside it lists the workspaces you can read. To jump to a workflow in any workspace you can read, type its title in the header omnibar search.

Each workspace on the landing is one tile, headed by the workspace’s title (its name, unless its namespace configuration sets a title) with its icon before it when it sets one; the heading’s tooltip adds its description. The stack inside it holds one card per workflow in that workspace, up to three, and the front card previews its workflow the way that workflow opens: the graph for a canvas workflow, a table for one that opens as a Table, and the matching view for Exceptions, Graph, Source, and History. A workflow that has not set a view previews as its graph. A wide pane shows five tiles in a row and a narrow pane shows one; when a row has fewer than five tiles, each tile keeps that fifth-width. Grey pills along the bottom of the tile count what the workspace holds (workflows, tables, dashboards, agents, and skills); a pill appears only for a kind the workspace has and reads 99+ past that count. The ⋯ on the tile is the same namespace menu as the explorer row (favourite, copy, Secrets, Rename, Restore Point, Delete namespace), and the star at the right of that row adds or removes the workspace from your favourites.

Favourite workspaces sits above Recent workspaces when you have at least one starred workspace you can still see. Each compact tile is titled with the workspace name; click one to open that workspace home. A workspace that is both starred and recently opened appears in both sections. Hover Recent or Favourites and choose the trash icon beside the heading to clear that list for your account; Flow asks you to confirm first. Recent clears the workflows and workspaces you opened, and Favourites clears starred workspaces. Catalog panes use the larger tile layout, and a truncated title shows its full name in a delayed tooltip. Recent workflow cards carry the same workflow ⋯ menu as the canvas header (enable, disable, and delete where permitted).

Simple view lists workflows, agents, skills, tables, and dashboards under headings you can collapse. Double-click a workflow or dashboard tile to rename it; a single click opens it. In File view, double-click a file or folder, or choose Rename on the row menu, to edit the name in place. Choose the workspace name in the sidebar to open its welcome. An empty workspace offers New Table, New Workflow, and New Dashboard; the namespace add menu and Create new under Jump back in offer the same three. You name the new file once, then it opens. When a home dashboard file is already there, you open it.

Files from the input and output folders sit in a Data heading at the end, as ordinary file rows. A table in the tables folder is a small workflow that reads a starter sheet and writes the table when you run it. Open the table to see it in the database explorer, or open the file menu and choose Canvas to open the workflow canvas beside the explorer.

Click a .wf.json to open it on the canvas. The row menu also has View graph, which opens that file’s graph in the content pane, and Open in JSON editor when you want the source file. A new workspace is ingested into the Knowledge Graph, and it stays off the Knowledge Graph list until you turn on Show Workspaces. A new workspace starts with a .fontanaconfig.yaml that sets where new workflows, agents, skills, uploads, and file exports go; see Namespace configuration.

Every chip in the Workspaces explorer starts off (Mine, Team, Community, Learn, and Favourites), so you see every workspace you can read, including catalog templates. In Workspaces explorer config, Opening Workspaces home can preselect Mine or Team so the list opens on workspaces you own or workspaces shared with you. Community Templates and Learn Fontana are Fontana Files workspace namespaces; turn on the Community or Learn chip to show those catalogs in full, including when Mine is on. Catalog rows show only those chips.

When at least one workspace is starred, a star chip sits last on that row. Turn it on with Mine, Community, or Learn to keep those lists and add starred workspaces, or on its own to list only starred workspaces. Star a workspace from the row menu (Add to favourites); a filled star stays on that row while it is starred.

The workspace row menu has Create Restore Point, just above Delete namespace. Create Restore Point names the current workspace. Restore Point appears on that menu only when an earlier named point exists. It compares the current workspace to that point, then Restore returns the workspace to it and discards the versions after it. A file that existed at that point no longer shows as deleted, and a workflow on the canvas no longer shows a run from after that point. You need editor or admin access. See File System.

Hover a file or folder in the Workspaces explorer and choose the star beside the row menu, or Pin to header on the row menu. That item is pinned in the content header, ahead of the file name and Preview, Source, and History; a filled pin is blue. Click a pin to open that file or folder, and drag pins to change their order. Double-click a pin to set a display name for the tab; the file or folder on disk keeps its real name. Right-click a pin and choose Remove, or choose Unpin from header or the star again, to unpin it, which also drops the display name.

You can also star Dashboards, Exception Management, and each dashboard or exception view under any .wf.json. Those pins are shared with everyone who can open the workspace, and they open that workflow, not whichever canvas is on screen. They stay in the header on workspace home, folders, files, and the open workflow, and the same labels show on every Workspaces pane, including a display name you set. The header holds the favourite tabs only: it does not repeat the workflow name, and opening a file or folder does not add a tab. The underlined tab is the view you are on; when you open Exception Management, that pin is underlined rather than the starred .wf.json, even if both are pinned. When a workflow view other than the canvas is open and is not starred yet, that page stays as the active tab, and the star on that tab pins it. Double-click a starred workflow tab to set a display name for everyone in the workspace; a blank name restores the original label. Right-click those tabs and choose Remove to unstar them.

  • Published data: availability states, cell edits, and query blocks in tiles and documents
  • Formula node: the node file, its statements, and what replaced each earlier node type
  • Exception management: tickets, named views, and the row key that matches a ticket across runs
  • Data: file loading, inbound requests, storage, and exports
  • Governed AI: agents, AI statements, and natural-language operation compile
  • Compliance evidence: data lineage and the activity log
  • Security: platform security controls and SOC 2-aligned summary
  • Observability: run telemetry; canvas port audit items vs the security audit ledger