What are Chatflows?
Chatflows are the foundation of Flowise, designed for building single-agent systems, chatbots, and simple LLM flows. They provide a visual, drag-and-drop interface to create AI workflows without writing code. Each chatflow represents a complete AI conversation flow, from input processing to response generation. They are stored as JSON objects containing nodes (components) and edges (connections) that define how data flows through your system.Chatflows are ideal for straightforward use cases like customer support bots, Q&A systems, and document retrieval applications.
Why Chatflows Matter
Chatflows democratize AI application development by:- Visual Development: Build complex AI systems through an intuitive drag-and-drop canvas
- Reusability: Save and deploy multiple chatflows for different use cases
- Iteration Speed: Quickly test and modify workflows without code changes
- Production Ready: Deploy chatflows with API endpoints for integration
Core Structure
A chatflow consists of:FlowData Schema
Every chatflow is stored with the following structure:The
flowData field contains a stringified JSON with all nodes, edges, and their configurations. This is what the canvas editor modifies when you build your flow.Creating a Chatflow
From the UI
- Navigate to the Chatflows page
- Click Add New to open the canvas editor
- Drag nodes from the sidebar onto the canvas
- Connect nodes by dragging from output handles to input handles
- Configure each node’s parameters
- Save your chatflow
Example: Simple RAG Chatflow
Here’s how a typical Retrieval-Augmented Generation (RAG) chatflow is structured: Node Configuration Example:Deployment & API Access
Once created, chatflows can be deployed to generate API endpoints:Chatflow Features
1. Card & List Views
The Chatflows page supports two view modes:- Card View: Visual grid displaying chatflow previews with node icons
- List View: Table format showing names, dates, and actions
2. Search & Filtering
Quickly find chatflows by:- Name
- Category
- ID
3. Embedding & Sharing
Chatflows can be:- Embedded as widgets on websites
- Shared via public URLs
- Integrated through REST APIs
4. Configuration Options
- Chatbot Config: Customize UI appearance (colors, avatars, welcome messages)
- Speech-to-Text: Enable voice input
- Text-to-Speech: Enable voice output
- Follow-up Prompts: Configure suggested questions
- Analytics: Track usage and performance
Working with Chatflows
Updating a Chatflow
Chatflows track their modification state:Versioning Best Practice
While Flowise doesn’t have built-in version control, you can:
- Export your chatflow JSON regularly
- Use descriptive names with version numbers (e.g., “Support Bot v2”)
- Duplicate chatflows before making major changes
Common Chatflow Patterns
Pattern 1: Q&A Over Documents
Pattern 2: Conversational Agent
Pattern 3: Multi-Document Retrieval
Troubleshooting
Chatflow Not Loading
- Check that all nodes have valid configurations
- Verify credentials are properly set
- Ensure all required input parameters are filled
- Check browser console for errors
Deployment Issues
- Verify the chatflow is marked as
deployed: true - Check API key permissions
- Ensure all node versions are compatible
Node version mismatches can cause runtime errors. The canvas displays warning icons for outdated nodes.
Related Concepts
- Agentflows - For multi-agent systems
- Nodes and Edges - Understanding the building blocks
- Credentials - Managing API keys and secrets
- Variables - Using dynamic values in chatflows
