Documentation Index
Fetch the complete documentation index at: https://mintlify.com/yocxy2/Flowise/llms.txt
Use this file to discover all available pages before exploring further.
What are Nodes?
Nodes are the fundamental building blocks of both chatflows and agentflows in Flowise. Each node represents a specific component, tool, or functionality that can be visually connected to create AI workflows. Think of nodes as Lego blocks that snap together to build complex AI applications.Flowise dynamically loads nodes from the
flowise-components package at runtime, making the system extensible and modular.Node Architecture
Node Structure
Every node in Flowise implements theINode interface:
Node Categories
Flowise organizes nodes into categories:Chat Models
LLM integrations (OpenAI, Anthropic, Google, etc.)
Agents
Autonomous agents with tool-calling capabilities
Agent Flows
Specialized nodes for agentflow workflows
Tools
External integrations and utilities
Document Loaders
Load data from various sources
Vector Stores
Store and retrieve embeddings
Embeddings
Convert text to vector representations
Memory
Conversation history management
Chains
Pre-built workflow patterns
Nodes in the “Analytic” and “SpeechToText” categories are handled differently and may not appear in the standard node palette.
Node Inputs and Outputs
Input Parameters
Nodes accept various input types:- Variable Support: Accept runtime variables with
acceptVariable: true - Conditional Display: Show/hide based on other inputs using
showandhide - Dynamic Loading: Load options from APIs with
loadMethod - Array Inputs: Repeatable input groups with
arrayproperty
Output Anchors
Nodes expose outputs through anchors:Connection Validation
Flowise validates connections based onbaseClasses:
- Nodes can only connect if output and input base classes are compatible
- Example: A “ChatOpenAI” node (baseClasses: [“ChatOpenAI”, “BaseChatModel”]) can connect to inputs accepting “BaseChatModel”
Node Lifecycle
Initialization
When a node is loaded:Execution
When a workflow runs:Node Data Flow
Data flows through nodes via theIReactFlowNode structure:
Special Node Types
Agentflow Nodes
Nodes in the “Agent Flows” category have unique capabilities: Start Node- Entry point for agentflows
- Accepts chat or form inputs
- Hides input anchors (
hideInput: true)
- Dynamic tool selection
- Multi-step reasoning
- Memory and knowledge integration
- Structured output support
- Branching logic based on expressions
- Multiple output paths
- Loop through arrays
- Process items sequentially or in parallel
Tool Nodes
Tool nodes can be used by agents:- Must be in the “Tools” or “Tools (MCP)” category
- Implement a callable interface
- Return results that agents can interpret
- Support human-in-the-loop approvals
Node Configuration
Load Methods
Nodes can define dynamic option loaders:- Available credentials
- API responses
- Other node configurations
- Workspace context
Credential Integration
Nodes that require API keys or authentication:Visual Properties
Node Appearance
Customize how nodes look on the canvas:Node States
In agentflows, nodes display execution status:- Default: No execution yet
- In Progress: Currently executing (animated indicator)
- Finished: Successfully completed (checkmark)
- Error: Failed execution (error icon)
- Stopped: Manually stopped
Creating Custom Nodes
While this documentation focuses on using existing nodes, Flowise supports custom node development. Custom nodes are:
- Created as TypeScript classes implementing
INode - Placed in the components package
- Automatically loaded at startup
- Available in the node palette if not disabled
SHOW_COMMUNITY_NODES environment variable.
Node Pool Management
Flowise manages available nodes through theNodesPool class:
- Loaded from
flowise-components/dist/nodes - Filtered based on environment variables (disabled nodes)
- Filtered by category (analytic nodes excluded)
- Filtered by community node settings
Best Practices
Related Concepts
- Chatflows - Using nodes in sequential workflows
- Agentflows - Using nodes in autonomous workflows
- Credentials - Authenticating nodes with external services