Visual Workflow Designer

Drag-and-drop AI workflow builder with configurable blocks, arrow connections, JSON export, and pre-built templates.

Click Add Block to place blocks. Drag blocks to reposition. Drag from bottom port to top port to connect. Click a block to select and edit properties below.

Block Properties


  

How the Visual Workflow Designer Works

The Visual Workflow Designer is a browser-based canvas tool for architecting AI prompt chains as connected block diagrams. Rather than writing ad-hoc prompts and manually copying outputs between steps, you map out your entire multi-step process on a drag-and-drop surface. Every block represents a distinct stage in your pipeline, and the connections between blocks define how data flows from one stage to the next. The result is a portable, shareable, version-controllable JSON file that documents your exact workflow architecture.

This tool is designed for teams and individuals who build production AI workflows. Content teams use it to plan blog post pipelines that move from topic research through outline generation, draft writing, and SEO optimization. Development teams use it to prototype code review chains that run parallel bug, security, and performance analysis before merging findings into a unified report. Data teams use it to model extraction-transformation-analysis pipelines where each step has clear inputs, outputs, and failure modes.

Block Types and Configuration

The designer supports five block types, each serving a specific role in the workflow. Input blocks define the starting data. They describe what variables, documents, or user inputs enter the pipeline. AI Prompt blocks contain the actual prompt text that will be sent to a language model. These blocks support placeholder syntax so you can reference output from upstream blocks. Condition blocks add branching logic. They define the criteria that determine which downstream path the data follows, enabling if-else routing for different input types or quality thresholds. Transform blocks restructure data between steps. When the output format of one block does not match the expected input format of the next, a Transform block handles the conversion. Output blocks define the final deliverable. They specify what the completed pipeline produces and in what format.

Each block has configurable properties accessible through the Properties Panel below the canvas. Select any block by clicking it, and the panel populates with its current label, type, content, and notes. Change any property and click Save to update the block in place. The type selector lets you re-categorize a block without deleting and recreating it. The content field supports multi-line text, which is especially useful for AI Prompt blocks where the prompt text can be several paragraphs long.

Connections and Data Flow

Connections represent the flow of data between blocks. To create a connection, drag from the output port at the bottom of one block to the input port at the top of another block. An SVG arrow renders between them showing the direction of data flow. Connections update in real time as you drag blocks around the canvas, so the layout stays readable regardless of how you rearrange things. A single block can have multiple outgoing connections, which is how you model parallel processing paths. For example, a classification block might connect to three different handler blocks, each processing a different category of input.

Deleting a connection is done by selecting the source block and removing it. When you delete a block, all connections to and from that block are automatically cleaned up. The SVG rendering ensures that connection lines never overlap with block content, and lines curve naturally around the canvas to maintain visual clarity.

Pre-Built Templates

Three production-ready templates are included to help you get started immediately. The Blog Pipeline template creates a five-stage workflow that moves through topic research, outline generation, first draft writing, editorial review, and SEO optimization. Each AI Prompt block contains real prompt text that you can customize for your specific niche and voice. The Code Review template demonstrates parallel processing by running bug analysis, security scanning, and performance auditing simultaneously on the same code input, then merging all findings into a prioritized report. The Data Analysis template models a data processing pipeline with cleaning, statistical summary, insight extraction, and visualization generation stages.

Loading a template replaces the current canvas contents. If you want to preserve your current work, export it as JSON before loading a template. Templates are designed as starting points. The expectation is that you will customize the prompt text, add additional blocks for your specific use case, and adjust the connections to match your exact workflow requirements.

JSON Export and Import

The Export JSON button generates a complete snapshot of your workflow. The JSON file contains every block with its type, label, content, notes, and canvas position. It also contains every connection with source and target block identifiers. This file is portable across devices and shareable with teammates. Store it in version control alongside your code to track how your AI workflows evolve over time.

The Import button accepts any workflow JSON file exported from this tool. It restores all blocks, connections, and positions exactly as they were when exported. This makes it easy to share workflows across a team, maintain a library of reusable workflow templates, or back up your designs before making major changes. For teams that use ClaudHQ prompt templates, you can combine the workflow structure from this tool with individual prompt templates from the ClaudHQ library to build comprehensive, production-ready pipelines.

Design Patterns and Best Practices

The most effective workflows follow a few key patterns. Linear chains are the simplest: each block connects to exactly one downstream block, and data flows in a straight line from Input to Output. This pattern works well for sequential tasks like document summarization or translation pipelines. Branching workflows use a Condition block to route different inputs through different paths. The condition block evaluates the input and sends it to the appropriate handler chain. This is the standard pattern for classification-driven workflows like customer support routing or content categorization.

Parallel fan-out patterns split a single input to multiple processing blocks that run independently. This is ideal for analysis tasks where different aspects of the input need specialized attention. After the parallel blocks complete, a merge block aggregates their outputs. The Code Review template demonstrates this exact pattern. Error-handling patterns add fallback connections from blocks that might fail. If the primary AI Prompt block produces output that does not meet quality thresholds, a Condition block routes the data to a simpler fallback prompt rather than crashing the pipeline.

For developers who want to execute these workflow designs programmatically, ClaudKit provides API tools that can consume the JSON exports from this designer and run each step against the Claude API. For visual prompt library management, ClaudHQ maintains tested prompt templates that integrate directly into AI Prompt blocks. Teams using structured data workflows can leverage Kappafy for JSON validation and transformation utilities that complement the Transform blocks in your designs.

Privacy and Local Execution

The Visual Workflow Designer runs entirely in your browser. No data is sent to any server. Your workflow designs are stored in browser localStorage and persist between sessions. The export files are generated client-side and downloaded directly to your device. There are no accounts, no tracking cookies, no analytics scripts, and no server-side processing. The complete source is static HTML, CSS, and JavaScript hosted on GitHub Pages. Your workflow designs, prompt text, and all other content remain private on your device at all times.

Frequently Asked Questions

How do I connect blocks in the visual workflow designer?

Click the output port (bottom circle) on any block and drag to the input port (top circle) on the target block. An SVG arrow will render between them showing the data flow direction. You can delete connections by selecting the source block and clicking the X on the connection line.

What block types are available in the workflow designer?

The designer offers five block types: Input blocks define starting data and variables, AI Prompt blocks contain the prompt text with placeholders, Condition blocks add if/else branching logic, Transform blocks reformat or restructure data between steps, and Output blocks define the final deliverable format.

Can I save and share my workflow designs?

Yes. Click Export JSON to download your entire workflow as a portable JSON file containing all blocks, their positions, connections, and configured properties. Share this file with teammates or import it on another device. Workflows also auto-save to your browser localStorage between sessions.

What pre-built templates are included?

Three production-ready templates are included: Blog Pipeline chains topic research through outline, draft, and SEO optimization. Code Review runs parallel bug, security, and performance analysis then merges findings. Data Analysis processes raw data through cleaning, statistical summary, and insight generation steps.

Does the workflow designer actually execute prompts against an AI model?

No. The visual workflow designer is a planning and design tool. It lets you architect your prompt chain visually, configure each block's properties, and export the design as JSON. You then execute the prompts using your preferred tool or API. This separation means your designs are model-agnostic and portable.

Explore ClaudFlow

ML
Michael Lip

Solo developer building free tools for the AI engineering community. Creator of Zovo Tools, a network of 18 developer utilities. Focused on making AI workflows accessible to everyone, no sign-up required.