Giter Site home page Giter Site logo

wxsd-sales / chat-based-routing-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 6.0 0.0 1.96 MB

This demo shows how we can use Webex JS SDK and APIs to route users to a space with experts.

License: MIT License

JavaScript 89.03% Dockerfile 1.31% HTML 2.49% CSS 7.17%
bot

chat-based-routing-bot's Introduction

Chat Based Routing Bot

Welcome to our WXSD DEMO Repo!

Chat Based Routing bot helps in connecting the user to a group of experts instantly.

This demo shows how we can use Webex JS SDK and APIs to route users to a space with experts. This demo connects users with experts in various fields to help them resolve issues they may be facing. The app has a user-friendly interface, making it easy for users to find the right expert to solve their problems.

azure-group-sync-demo

Table of Contents

(click to expand)

Overview

Usage

  1. User sends a message to the bot [email protected]
  2. Fills in required details the bot asks for.
  3. Once the user submits the request, the bot creates a room and adds the default members required in that space along with the user who has requested assistance.
  4. Once you are done, any moderator of that space can delete the room by mentioning the bot and using the kill command ex:@Chat Based Rouring Bot kill

Setup

Prerequisites & Dependencies:

  • Valid bot access token. Please refer Webex Developer Site to see how to create a bot and access token.
  • Developed on Windows 11
  • MongoDb (i.e Atlas)
  • Node >18.15.0 (recommended)
  • Other OS and node versions may work but not tested

You will need to create a file called .env that includes the following lines:

PORT=
WEBEX_LOG_LEVEL=debug
WEBEX_ACCESS_TOKEN=
MONGO_URI=
MONGO_DB=cbroutingBot

ERROR_ROOM_ID=

Note:

  1. You will need to provide a port for this to run locally
  2. You will need to provide an access_token of a test bot for testing
  3. You will need to provide a roomId for error messages to be sent. This can be any Webex Space roomId that your bot is a member of.
  4. You can use the Mongo credentials shown above in the .example.env file

Installation Steps:

The typical npm install flow, after cloning this repo

npm install
npm start

Demo

Check out our live demo, available here!

*For more demos & PoCs like this, check out our Webex Labs site.

License

All contents are licensed under the MIT license. Please see license for details.

Disclaimer

Everything included is for demo and Proof of Concept purposes only. Use of the site is solely at your own risk. This site may contain links to third party content, which we do not warrant, endorse, or assume liability for. These demos are for Cisco Webex usecases, but are not Official Cisco Webex Branded demos.

Questions

Please contact the WXSD team at [email protected] for questions. Or, if you're a Cisco internal employee, reach out to us on the Webex App via our bot ([email protected]). In the "Engagement Type" field, choose the "API/SDK Proof of Concept Integration Development" option to make sure you reach our team.

chat-based-routing-bot's People

Contributors

rajitha123k avatar

Watchers

Ashesh Singh avatar  avatar Arash Koushkebaghi avatar  avatar Taylor Hanson avatar  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.