User Guide
This comprehensive guide covers all features of the Chatbot Flow Editor. Learn how to create, edit, test, and export conversation flows.
Interface Overview
The Chatbot Flow Editor interface consists of three main areas:
Left Panel: Flow Diagram (60%)
- Visual Flow Tree: Hierarchical view of your conversation flow
- Node Navigation: Click any node to select and edit it
- Flow Structure: See the complete conversation tree at a glance
- Pan Navigation: Click and drag empty space to move around large flows
- Scroll Support: Use horizontal scrolling for wide conversation trees
Right Panel: Split View (40%)
- Top Half: Live chat preview for testing flows
- Bottom Half: Node editor for modifying selected nodes
Top Toolbar
- Add Node: Create new conversation points
- Export: Download your flow as JSON
- Import: Load existing JSON flows
Creating Your First Flow
Step 1: Understanding the Default Flow
When you first open the editor, you'll see a sample flow:
- Welcome Node (ID: 1) - The starting point
- Three Child Nodes (IDs: 2, 3, 4) - Response destinations
Step 2: Adding a New Node
- Select a Parent Node: Click on any existing node
- Click "Add Node": This opens the Add Node dialog
- Enter Content: Type the message this node should display
- Save: The new node is automatically connected to the parent
Each new node becomes a child of the currently selected node. The system automatically creates connection options and assigns unique IDs.
Step 3: Editing Node Content
- Select Node: Click any node in the flow diagram
- Edit in Right Panel: The node editor loads in the bottom right
- Modify Title: Change the message text
- Click Save: Apply your changes
Working with Options
Options are the choices users can make in conversation. Each option points to another node.
Adding Options
- Select a Node: Choose the node that needs response options
- Click "Add an Option": Opens the option editor dialog
- Enter Option Label: The text users will see (e.g., "Yes", "Tell me more")
- Set Target Node ID: Which node this option leads to
- Save: The option is added to the current node
The dialog shows all available node IDs in your flow. You can only link to existing nodes.
Editing Existing Options
- Select the Node: Choose the node containing the option
- Click "Edit": Next to the option you want to modify
- Update Fields: Change the label or target node
- Save: Apply changes
Removing Options
- Select the Node: Choose the node containing the option
- Click "Delete": Next to the option you want to remove
- Confirm: The option is immediately removed
Testing Your Flow
The chat preview lets you simulate user interactions in real-time.
Starting a Test Session
- Click "Start Chat": In the top right of the chat preview
- View Initial Message: The welcome message appears
- See Available Options: Response buttons appear below the message
Interacting with the Flow
- Click Option Buttons: Choose from the available responses
- See Conversation Progress: Messages appear in chat format
- Follow the Path: Navigate through your entire flow
- Test Different Routes: Reset and try different conversation paths
Resetting the Test
- Click "Reset": Clears the chat history
- Start Fresh: Begin testing from the welcome message again
- Test every possible conversation path
- Check that all options lead to valid nodes
- Verify the conversation flow makes logical sense
- Look for dead ends (nodes with no options)
Flow Management
Exporting Your Flow
- Click "Export": In the top toolbar
- Review JSON: The export dialog shows your flow structure
- Click "Download": Saves a JSON file to your computer
The exported file contains your complete flow structure:
[
{
"id": 1,
"title": "Welcome to our support!",
"options": [
{ "label": "Technical Help", "nextId": 2 },
{ "label": "Billing", "nextId": 3 }
],
"hierarchyPath": "1"
}
]
Importing Existing Flows
- Click "Import": In the top toolbar
- Choose Method:
- Select File: Upload a JSON file
- Paste JSON: Copy and paste JSON directly
- Validate: The system checks the JSON format
- Import: Your flow loads into the editor
Importing replaces your current flow completely. Export your current work first if you want to keep it.
File Management Best Practices
- Use Descriptive Names:
customer-support-flow.json
,product-onboarding-flow.json
- Version Your Flows: Include dates or version numbers
- Backup Regularly: Export your work frequently
- Test After Import: Always test imported flows
Advanced Features
Hierarchy Paths
Each node has a hierarchy path (like "1-2-1") showing its position in the conversation tree:
- "1": Root node
- "1-1": First child of root
- "1-2-1": First child of the second child of root
This helps you understand the conversation structure at a glance.
Node Relationships
- Parent Nodes: Have child nodes connected via options
- Child Nodes: Are destinations of parent node options
- Leaf Nodes: Have no options (conversation endpoints)
Flow Validation
The system automatically validates:
- Unique Node IDs: No duplicate IDs allowed
- Valid Connections: Options must point to existing nodes
- JSON Format: Exported data follows the correct structure
Best Practices
Flow Design
- Start Simple: Begin with a basic flow, then add complexity
- Plan the Structure: Sketch your conversation before building
- Use Clear Language: Write options users will understand
- Provide Escape Routes: Include options to restart or get help
- Test Thoroughly: Try every possible conversation path
Content Writing
- Be Conversational: Write like you're talking to a person
- Keep Messages Short: Avoid overwhelming users with text
- Make Options Clear: Users should understand what each choice does
- Use Consistent Tone: Maintain the same voice throughout
Technical Integration
- Document Your Flow: Keep notes about the intended implementation
- Consider Platform Limits: Some chatbot platforms have message length limits
- Plan for Expansion: Design flows that can grow over time
- Version Control: Keep multiple versions of your flows
Common Workflows
Customer Support Flow
- Welcome Message: Greet the user
- Category Selection: Technical, Billing, General
- Sub-Categories: Specific issue types
- Resolution or Escalation: Solve or transfer to human
Product Onboarding
- Welcome: Introduce your product
- Feature Overview: Highlight key capabilities
- Interactive Demo: Let users explore features
- Next Steps: Guide to getting started
FAQ Bot
- Topic Selection: Choose question category
- Specific Questions: Show relevant FAQs
- Detailed Answers: Provide comprehensive responses
- Follow-up: Offer related questions or human contact
Troubleshooting
Common Issues
Problem: Can't add options to a node
- Solution: Make sure you have other nodes to connect to
Problem: Chat preview shows "No options available"
- Solution: Check that the node has valid options with correct target IDs
Problem: Export fails
- Solution: Verify all option target IDs point to existing nodes
Problem: Import shows "Invalid JSON"
- Solution: Check JSON syntax and ensure it follows the correct structure
Getting Help
- Check Console: Browser developer tools may show error details
- Validate JSON: Use online JSON validators for import issues
- Reset Flow: Create a new flow if the current one becomes corrupted
- Report Bugs: Submit issues on GitHub for persistent problems
Next Steps
Now that you understand the editor:
- Practice: Create several different types of flows
- Integrate: Use exported JSON in your chatbot platform
- Share: Export flows to collaborate with team members
- Iterate: Continuously improve your conversation designs
For technical integration details, see the JSON Structure.