2025-06-29 04:19:00
github.com
Visual development tool for creating chatbot conversation flows
A GUI tool that opens in your browser. Design, test, and export chatbot conversation flows as JSON.
# Install as development dependency
npm install --save-dev @enumura/chatbot-flow-editor
# Launch the visual editor
npx @enumura/chatbot-flow-editor
Your browser will automatically open with the visual flow editor at http://localhost:3001
.
npm install --save-dev @enumura/chatbot-flow-editor
npx @enumura/chatbot-flow-editor
Add to your package.json
{
"scripts": {
"design-flows": "chatbot-flow-editor"
}
}
Then run
npm install -g @enumura/chatbot-flow-editor
chatbot-flow-editor
# Default (opens on http://localhost:3001)
chatbot-flow-editor
# Custom port
PORT=4000 chatbot-flow-editor
chatbot-flow-editor start # Start the editor (default)
chatbot-flow-editor help # Show help
chatbot-flow-editor version # Show version
- Launch: Run
npx @enumura/chatbot-flow-editor
- Create Nodes: Click “Add Node” to create conversation points
- Edit Content: Click any node to modify its content and options
- Test Flow: Use the chat preview to simulate user interactions
- Export JSON: Download your flows as structured JSON files
- Import Flows: Load existing JSON flows to continue editing
# In your chatbot project directory
npm install --save-dev @enumura/chatbot-flow-editor
# Design your conversation flows
npx @enumura/chatbot-flow-editor
# Export the flow as JSON
# → Use the exported JSON in your chatbot application
When you export a flow, you’ll get a JSON structure like
[
{
"id": 1,
"title": "Welcome to our support!",
"options": [
{ "label": "Technical Support", "nextId": 2 },
{ "label": "Billing Questions", "nextId": 3 }
]
}
]
The exported JSON can be used in any chatbot implementation
// Load your exported flow
import flow from './chatbot-flow.json';
// Basic navigation example
function findNodeById(nodeId) {
return flow.find(node => node.id === nodeId);
}
function processUserChoice(currentNodeId, userChoice) {
const currentNode = findNodeById(currentNodeId);
const selectedOption = currentNode.options.find(opt =>
opt.label === userChoice
);
return selectedOption ? selectedOption.nextId : null;
}
- Design Phase: Use the visual editor to create conversation flows
- Test Phase: Try different conversation paths with the live preview
- Export Phase: Download your flow as structured JSON
- Integration Phase: Use the JSON in your chatbot application
git clone https://github.com/enumura1/chatbot-flow-editor.git
cd chatbot-flow-editor
npm install
npm run dev
This project is licensed under the MIT License.
See the LICENSE file for details.
Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.
Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!
Help Power Techcratic’s Future – Scan To Support
If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.
As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!
BITCOIN bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge Scan the QR code with your crypto wallet app |
DOGECOIN D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA Scan the QR code with your crypto wallet app |
ETHEREUM 0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a Scan the QR code with your crypto wallet app |
Please read the Privacy and Security Disclaimer on how Techcratic handles your support.
Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.