Giter Site home page Giter Site logo

livechat-bpc's Introduction

Botpress Connector

This app will allow you to connect your botpress bot with your Rocket.Chat server.

Installation

Clone this repository and using the rc-apps cli deploy it:

rc-apps deploy --url https://YOURDOMAIN -u USER -p PWD

Or Use download the latest release and install it manually on your Rocket.Chat server

Configuration

First go ahead and create a Bot User. Login as administrator, then goto Setting > Users. There create a new Bot User. This new user should have these 2 roles.

  • bot
  • livechat-agent

Then configure the app to automatically assign a livechat-visitor to this bot. To do so, goto Setting > Omnichannel > Routing. There enable Assign new conversations to bot agent Setting.

The app needs some configurations to work, so to setup the app Go to Setting > Apps > Botpress Connector. There, fill all the necessary fields in SETTINGS and click SAVE. Note all fields are required.

Some of the fields in SETTING include

  • Rocket.Chat bot username (required) - This should contain the same bot username which we created above in Step 1
  • Botpress bot id (required) - This should contain the botpress id from your botpress server
  • Botpress server URL. Eg:- http://localhost:5005
  • Service Unavailable Message (optional) - The Bot will send this message to Visitor if service is unavailable like suppose if no agents are online.
  • Close Chat Message (optional) - This message will be sent automatically when a chat is closed
  • Handover Message (optional) - The Bot will send this message to Visitor upon handover
  • Default Handover Department Name (required) - Enter the target department name where you want to transfer the visitor upon handover. Note that you can override setting using * * Handover action.
  • Hide Quick Replies (required) - If enabled, then all quick-replies will hide when a visitor clicks on any one of them

Contributing

Pull requests are welcome, please make this code better! You can reach me on Open

License

MIT

livechat-bpc's People

Contributors

hlatki01 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.