Skip to content
All case studies
Flow Builder · Independent open-source project

Visual Workflow Builder & JSON Export

Flow Builder turns a branching conversation into a diagram you can design, review and hand off as JSON. It is an independent open-source editor for people who want to see what happens between steps instead of editing the underlying data by hand.

Design the conversation as a map

A conversation might start with a question, branch depending on the reply and end in different follow-up steps. In a JSON file, each piece is legible on its own, but it takes work to tell whether a new path connects to the right place. The canvas makes the structure visible: add a node, draw a connection and label the condition that takes the conversation down that branch.

Select a node to edit its ID, description and prompt in the sidebar. The same sidebar manages outgoing connections, including condition labels and key-value parameters. That split keeps the canvas useful as an overview while giving the author room to edit the details that drive the handoff.

Catch dead ends while the flow is still editable

The builder checks for structural problems as the graph changes. It walks the graph from the start node to find nodes it cannot reach. Errors appear on affected cards as well as in a summary banner, so an author can go from the symptom to the part of the flow that needs work rather than hunt through the export.

Undo, redo and browser storage support experimentation without requiring an account. The single local save slot is convenient for the current draft; a JSON export is the better way to keep a copy of a version or move it to another browser.

Keep the handoff independent of the canvas

The live preview shows the same JSON format that can be copied or downloaded. The export leaves out visual coordinates, while imports arrange nodes on a grid. An engineer consuming the output gets prompts and connections without inheriting where someone happened to drag a card. The public demo and source show the editor and its export format; they do not present it as a service that runs the conversations.

Product links and references