UiPath Chatbot

What is Chatbot:

A BOT which can chat with end user/human is called as Chatbot, i.e interaction between computer and humans.

Why are chatbots important?

A chatbot is often described as one of the most advanced and interacting software between humans and machines. However, from a technological point of view, a chatbot only represents the natural evolution of a Question Answering system leveraging Natural Language Processing (NLP). Formulating responses to questions of users in natural language is one of the most typical Examples of Natural Language Processing applied in various enterprises’ end-user applications.

Behind the scene how chatbot works?

A Chatbot is an artificial intelligence (AI) software that can simulate a conversation (or a chat) with an end user in natural language through messaging applications like  – websites, mobile apps or through the telephone.

There are 2 important steps which will get carried out at the core of chatbot

They are:

1.            User Request

2.            Response from chatbot

Here we go

Analyze request

As you can see in above picture, a Chatbot returns a response based on input from a user. This process may look simple; in practice, things are quite complex.

How to create UiPath Chatbot?

Following are the Steps to create the UiPath Chatbot.

It requires multiple components tide together to work in coordinated ways. 

Pre-requisites

Google Console — https://console.cloud.google.com/

uipath chatbot — https://chatbot.uipath.com/

Dialogflow —https://dialogflow.cloud.google.com/

Uipath Orchestrator — https://cloud.uipath.com/

Create the connection in chatbot.uipath.com as below:

all connections
Build your chatbot

Now Connect to the“Orchestrator Service”from Orchestrator. Click on the “Connect” button of “Orchestrator Service” .You will get the below screen.

Connect via api

Enter all thefields in the above form from Orchestrator –https://cloud.uipath.com/as shown in the below screen

API access

Copy all the above field sand fill it in to the following screen

Connect to your orchestrator service

Click on connect and now the connection is established with the orchestrator. Creating the Dialogflow agent

Create new agent

It will open the below form enter the “Agent name” , select the Default time zone, Language – English

Soaischat_bot

Creating the intents – intents are nothing but the conversations between user and the chatbot

Add the training phrases in to the intents

Default intent

And the response which you want to give to the end user from the bot as below

Default welcome intent

Google Console

Google Console is used to get the – “Service Account” and the Primary key for connecting the –Dialogflow agent present in the Chatbot.uipath.com

Now we are done with the “Dialogflow”.

Next step Google console

Open the google console  –https://console.cloud.google.com/

Service account
Google cloud platform

NOTE: The service account is automatically generated from the Google Dialogflow , which is connected to the Google Console internally. Now getting the “Primary Key”

Create key
Create private key

Get the Jason file and enter the –Primary key. You can find the Primary key as below

Dialog flow agent

Enter these all details in the below – “Dialogflow agent” in the Chatbot.uipath.com

Click Dialogflow agent

Click dailogflow agent

Filling the details in the below form

Connect to your dialogflow agent

So now we are done with connecting to the dialogflow in the Chatbot.uipath.com

Once you are connected to the “Orchestrator Service”, in chatbot.uipath.com, click on the “Map” and you can see the list of process which are present in the Orchestrator you have connected.

Select the “chatbot_process” from the list of robots. Finally click on “Map”.

Chatbot_process

Now we can see the mapped robot

Map intents to processes

Now click on the “Launch

Click on “Test” as shown below:

Launch your chatbot

Once the “Test” is clicked the webpage is opened

So now user can chat with the chat bot

And our “chatbot_process” Robot has simple “Hi” message which is shown finally.

Chatbot_seem

So this is how a sample chatbot is designed and its working is being explained in this article.

NOTE: This article is created thinking you have the knowledge of “Uipath Studio” and “Orchestrator”. This knowledge is should and must.

Some more knowledge on the Chatbots in general

Types of chatbots:

  • Service Bots:  These bots help automate simple tasks, service requests or FAQs. They can be customer-facing or work behind the scenes, making service experiences more convenient and available 24/7, across multiple channels.
  • Journey Bots: These bots are more involved as they manage multi-step and sometimes complex customer journeys such as making an insurance claim, onboarding a new customer, or resolving a complaint. They guide customers through specific workflows, fulfilling particular tasks in order to achieve desired outcomes.
  • Automation Bots: These bots automate recurring tasks such as billing, renewals and appointment settings. They are responsible for proactively automating routine tasks to improve overall process efficiency, freeing humans to focus on more complex tasks.
  • Campaign Bots: These bots are typically deployed for outbound tasks, executing marketing campaigns such as proactive loyalty outreach, promotions, retention, win-back, collections, and upsell or cross-sell opportunities.
  • Employee Bots: Don’t forget employee engagement when it comes to bots. Workplace bots can handle internal employee-related tasks, improving the efficiency of field service workflows, HR-related tasks, and/or IT help desk operations.

Leave a Reply

Your email address will not be published. Required fields are marked *