[Livechat] Chat transfer between chatbot and a live agent, vice versa or from one agent to another

Hi there @monami
Yes we have that working on catbot, at Rocket.Chat’s website, which is chatbot made in hubot.

What we actually do there is to use the hubot’s adapter method ‘callMethod’ to call a livechat:transfer method within rocketchat.

You can check this project out https://github.com/RocketChat/hubot-natural, or if you’re just interested in the method, you can take a look at this code here https://github.com/RocketChat/hubot-natural/blob/f93b7b39739f4c3c6dd965ca499f3decb23a824a/scripts/events/respond.coffee#L31

hope you can enjoy it =)

2 Likes