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?
Tanja
(Tanja Bunk)
June 17, 2020, 12:39pm
2
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?
contato318
(Dirceu Silva)
June 17, 2020, 12:46pm
3
They are entities of rocketchat.
But I found out that I was using the wrong API (endpoint).
CORRECT: https://docs.rocket.chat/api/rest-api/methods/livechat/room#forward-livechat-room
Everything is alright.