How to transfer conversation from Bot to human agents? in ibm watson using node js

1.1k views Asked by At

I have created watson chat bot which answers users FAQ's using Node js as a middle ware. but how can i transfer the conversation from bot to any human agent.

1

There are 1 answers

1
Sayuri Mizuguchi On BEST ANSWER

In this case, you need to know: Watson Conversation Service is one endpoint API, so, you can call the service and creates one condition in your backend for identifying if the user wants to be attended for one's Human Agents or anything that you want to do with yours application.

For example, you can see the Project by IBM Developer's inside Watson Developer Cloud called conversation-simple using Node.js.

You can simply create one #intent condition in your chatbot likes:

if bot recognizes #wantsHumanAgent
response: Do you want to talk with one Professional?

And creates one @entity with the values: yes or no, after it, try to create one child node with the condition:

if bot recognizes @yesOrNo:yes
response: Please wait! I'll pass you on to an attendant.

Or you can add the link for the user's talks with the Attendant too, like:

if bot recognizes @yesOrNo:yes
response: The link to talk with one Attendent is <a  target="_blank" href="https://yourlink.com">Talk to one Professional!</a>.<br/><br/>

Obs.: You can add one custom code to creates your functions or do something in your application using this example as a base, and creates one custom code for what you want: Add in your chat one option to talk with Human Agents.

Note.: This is just some's suggestions to use based on good practices. You need to guide your user in your Virtual Assistant for one better Attendance.

  • See more examples to build with Watson Conversation Service.