RocketChat / Apps.Rasa

Integration between Rocket.Chat and the RASA Chatbot platform
17 stars 11 forks source link

transfer to department not working as intended #30

Closed bshowket closed 3 years ago

bshowket commented 3 years ago

Hi Folks,

One department setup for only rasa bot. 2 department setup with live agent(Status and Complains). In Admin>Apps>Rasa we use Complains as default channel.

image

But Transferring to department to "Status" going in default department complains.

image

Am i missing something? Thanks in advance.

guimvmatos commented 3 years ago

Hi @bshowket,

I don't know how to help, but maybe you can help me.

I'm trying to do a handover too, but I don't know to the get the sessionid. Can you help me with this?

murtaza98 commented 3 years ago

Hey @bshowket This seems to be a typo. You have an extra '(quote) within your request payload. It should be "targetDepartment": "Status", but your request contains "'targetDepartment": "Status" in the targetDepartment key

bshowket commented 3 years ago

Hey @bshowket This seems to be a typo. You have an extra '(quote) within your request payload. It should be "targetDepartment": "Status", but your request contains "'targetDepartment": "Status" in the targetDepartment key

Thanks, yes you got that right , that was causing because of the typo

bshowket commented 3 years ago

Hi @bshowket,

I don't know how to help, but maybe you can help me.

I'm trying to do a handover too, but I don't know to the get the sessionid. Can you help me with this?

i used as below: 'sessionId': tracker.sender_id