How to connect rasa with live agent - Rasa Open Source - Rasa Community Forum

👋 Introducing the Rasa Playground

How to connect rasa with live agent

post by Beherasaptami on Feb 20, 2020

Hello there , I want my bot to connect with live agent any idea like how can i do that using rasa .

Thanks saptami

post by Juste on Feb 24, 2020

Hi @Beherasaptami. This would usually be handled using a custom action. Depending on what the platform you would be using for a live agent to talk to your users you can have an api call which sends the message to the live agent.

In addition to that, you may also want to use events "ConversationPaused" and “Conversations Resumed" to stop the bot once live agent takes over.

post by Beherasaptami on Feb 24, 2020

hey @Juste , how can we connect from live agent from api (what are the available api through which we can connect can you list some example ) and how can we send msgs to live agent Thanks Saptami

post by Juste on Feb 24, 2020

@Beherasaptami Which platform your live agent is using at the moment?

post by Beherasaptami on Feb 24, 2020

@Juste Currently we are using 3rd party software for connecting to live agents( drift.com) but we don’t want to use that anymore instead of that we want to build something which will connect to live agent without using 3 rd party software , let me know if is there any way to do that …

thanks saptami

post by nitz on Mar 6, 2020

hey @Juste i’m had made a bot based on consumer quires . Now i want to add a feature as such if the bot is not able to answer the questions it should transfer the call to the human . But i am not able to find this feature in rasa docs Can you please help me with it .

post by Juste on Mar 9, 2020

Hi @nitz. Basically you need a framework which supports real time communication (example of that could be Salesforce Live Agent). If you have that, the approach would be similar to:

post by vaidehi on Jun 8, 2020

Hi @Juste , I have done conversation paused .But I am not very clear how do I add a custom action which displays human agents answer .Can I get any same code or working example I have tried rasa-handoff/actions.py at master · moaazsidat/rasa-handoff · GitHub this didnt seem to work.

From my understanding :

#ask_human

*action_pause_conversation

*action_invite_agent

*action_resume_conversation

is the story .In action live agent invite how do handoff conversation between human and user.

post by Arshad00a on Dec 16, 2020

hey unable to connect to human handoff . I have tried rasa-handoff/actions.py at master · moaazsidat/rasa-handoff · GitHub this didnt seem to work… Any help is appreciated

post by Gourav on May 11, 2021

Can any one please help me in this and can share some working codes. Actions and stories part.

post by vaidehi on May 11, 2021

You can experiment https://github.com/RasaHQ/financial-demo

or https://github.com/RasaHQ/helpdesk-assistant

The hand off is available in these starter packs and works well also the handoff happens from fin bot to help or help to fin bot for human hand off the conf has to changed to any other service or API where humans can converse .

post by sekhar8 on May 17, 2023

@Arshad00a please help me on this if you figure it out how to hand off the rasa chatbot to a human I have been stuck here for a long time

please help me out with this problem

thanks in advance

post by Prakashram27 on Aug 28, 2023

@Juste Hi Everyone, I have a confusion with rasa chatbot connector while working with Human handoff, Please let me know if any source code available. Which will help to understand better and my frontend for Agent is Airy website.