botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

How to redirect chat to human assistant if Bot is not able to answer it?

Open singhsurya opened this issue 9 years ago • 7 comments

We are developing a chatbot for support to customers. We have a requirement that if our Bot score negative in user's sentiments then Bot should transfer the control to human assistant. We went through this question but still not clear about the approach.

We are thinking about given below approach - Our Bot will store address of human assistant through some way and ping human by starting a new conversation using the address stored whenever required. And then will act as a mediator between human assistant and customer chat.

Please let us know if anyone has implemented such approach or achieved this objective through some other approach. If you have done similar thing then please provide code snippet, that would be a great help. Thanks

singhsurya avatar Jan 06 '17 09:01 singhsurya

May be like as : "Bot send message between 2 people ?" . If it is in this case, we have so many bots have done for it

astrung avatar Jan 06 '17 10:01 astrung

Precisely! :)

Could you please provide some sample around it?

singhsurya avatar Jan 06 '17 11:01 singhsurya

I found this repo while researching the same issue: https://github.com/jamesemann/botframework-claiming-conversations. Might be a good starting point.

philippnagel avatar Jan 23 '17 12:01 philippnagel

Any samples in C#? Thanks!

piffarettig avatar Jan 25 '17 19:01 piffarettig

Adding Lars who's done some of this on the Node side... We recently added a new bot.loadSession() method which helps simplify this greatly as it gives you a way to have two sessions, one for each party.

Stevenic avatar Mar 09 '17 23:03 Stevenic

@singhsurya You could have your bot send an email using the Email Connector service, or alternately you could trigger a SMS notification via Twilo service.

nwhitmont avatar Apr 10 '17 23:04 nwhitmont

Note: Please only submit Bot Builder SDK bugs here. If you have general questions or implementation issues, please submit a question on Stack Overflow at http://stackoverflow.com/questions/tagged/botframework.

nwhitmont avatar Apr 10 '17 23:04 nwhitmont