Git Product home page Git Product logo

chatbot_flow_builder's Introduction

Chatbot Flow Builder

The Chatbot Flow Builder is a tool for creating chatbot flows by connecting multiple text nodes to determine the sequence of interactions.

Features

  1. Text Node

    • Supports only text messages.
    • Multiple text nodes can be added to a single flow.
    • Nodes can be added to the flow by dragging and dropping from the Nodes Panel.
  2. Nodes Panel

    • Contains all supported node types.
    • Currently supports only text nodes but can be extended for more node types in the future.
  3. Edge

    • Connects two nodes to define the flow.
  4. Source Handle

    • Originates from a source node.
    • Only one edge can originate from a source handle.
  5. Target Handle

    • Connects to a target node.
    • Multiple edges can connect to a target handle.
  6. Settings Panel

    • Appears when a node is selected.
    • Allows editing the text content of the selected text node.
  7. Save Button

    • Saves the flow.
    • Shows an error if there are more than one nodes and more than one node has empty target handles.

Bonus Features

  • User can delete nodes
  • Save changes button will only enable when some changes are made by user.

Technologies Used

  • ReactFlow: Building the flow builder interface.
  • React: Building the UI components.
  • TypeScript: Used for implementation.
  • Antd: For components.

Usage

  1. Drag and drop text nodes to create a flow.
  2. Connect nodes using edges to define the conversation flow.
  3. Single click on nodes to edit their text content or delete node.
  4. Click the Save button to save the flow. An error will be shown if there are any configuration issues.

Development

  1. Clone the repository.
  2. Install dependencies with npm install or yarn install.
  3. Run the development server with npm run dev or yarn run dev.
  4. Deployed link - https://chatbot-flow.netlify.app

chatbot_flow_builder's People

Contributors

iconicsudip avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.