RocketChat / rocketchat-botpress-lab-bot

A bot that integrates RocketChat and Botpress
MIT License
16 stars 18 forks source link

How to setup without a default department? #4

Open moranno opened 1 year ago

moranno commented 1 year ago

Hi, thanks for the wonderful solution!

There's a default department GENERAL in the tutorial, if I don't need the GENERAL department (User don't need to select the department on the Pre-registration Form) How to setup? Thanks!

dudanogueira commented 1 year ago

Hi! You can disable the registration form in OMNICHANNEL > LIVECHAT APPEARANCE > REGISTRATION FORM or disable all departments to show on registration form.

If you want to predefine the user department, you can leverage the Omnichannel Widget API

For the bot to kick in, you need to bring the user to a department where the bot is the only participant or, have the option ADMIN > SETTINGS > OMNICHANNEL > ROUTE > Assign new conversations to bot agent turned on.

Let me know if this works, and sorry for the delay here :(

Missed this one :)

moranno commented 1 year ago

thanks for the detailed answer! could you have a look at this issue: https://github.com/RocketChat/Rocket.Chat/issues/27460 Thanks!