Rocketchat Transfer

Hello!

  • I have a bot in RASA
  • I have a rocketchat
  • The two are already integrated and working
  • I need the bot to transfer a call to a human.

For this, I’m trying to use the rocketchat download api: https://docs.rocket.chat/api/rest-api/methods/livechat/room#transfer-livechat-room

However, to use the API, I need the following information: The room _id and the visitor token.

I don’t know how to get such information from the event.

Can you help me?

Hi @contato318, welcome on our forum!

I am not familiar with rocketchat, but I will try to help you. Are room_id and the visitor token entities in Rasa? Can you briefly explain what those are?

They are entities of rocketchat.

But I found out that I was using the wrong API (endpoint). :slight_smile:

CORRECT: https://docs.rocket.chat/api/rest-api/methods/livechat/room#forward-livechat-room

Everything is alright.