Chatbot through Rocket Chat

HI

I am developing omnichannels + ai chatbot with human interaction if needed - as everyone else nowdays possibly :slight_smile:

So I know about webhooks and i managed to make an echo bot for testing.

My problem is
I send messages from channels to ai module somehow, get answer send back - its easy.

How should I organize channels - for humans monitoring and interactions
create bots for incoming messages? like
user_bot
ai_bot

so humans see whats dialogs we have already?

This way on new conversation we create a channel,
add human agent
add ai_bot
add user_bot

userbot: hello
ai_bot: hello

if human agent sends something to channel - we send his message to real user

should I use webhooks - same server? or develop an app, did not research about it honestly?

regards