Professional Documents
Culture Documents
BOT Developement
BOT Developement
1
Business process analysis can be used to
achieve the following:
• To document implicit knowledge, capture and record manual and
sometimes non-documented processes, i.e. process manuals for
both private and public sectors
• To analyse individual actions, documents and data involved in
international trade, which jointly or individually involve
commercial, transport, regulatory and financial procedures
2
• Process Analysis
• Feasibility study:
• Planning:
• Requirement gathering and analysis:
• Architecture and design
• Development:
• Testing:
• Deployment:
• Training and workshop
• Documentation
Activities
• When creating bots, you will spend much time in the Design part of
the UiPath Studio and work quite a bit with the Activities . Some of
these will involve simple drag and drops with a little configuration.
But others will be more involved and intricate.
• So to get a sense of the types of things you can do with Activities,
which are as follows:
• Workflow:
• UI Automation:
• User Events:
3
• Programming
• Orchestrator
• App Integration:
• Computer Vision:
• System:
4
Log Message
• As a bot gets more advanced, you want to take steps to document the
workflow. One approach with UiPath Studio is to use the Log Message
activity (it’s at Programming ➤ Debut ➤ Log Message).
• Drag and drop this onto a flowchart or sequence and then enter a
comment. You will also indicate the type or log level: Fatal, Error,
Warn, Info, and Trace.
• When you run the bot, the Log Messages will appear on the Output
screen at the bottom instead of on Main screen and will be included
in the UiPath Orchestrator.
Variables
• To use RPA, you need to have a good understanding of variables.
• They are containers – which you give a name – that hold data, such
as text and numbers.
• To create a variable in UiPath Studio, you will click the Variables tab,
which is at the bottom of the Main screen.
• Select “Create variable” and then enter a name. There should not be
any spaces and it’s recommended to use Pascal case.
5
Variable
• Boolean: This has only two values – that is, true and false. This is
usually for loops and if/then/else statements.
• Int32: This variable can only hold integers, which means there are no
decimal points.
• String: This is text data, such as contact information, articles, etc.
• Object: This is a custom-built data type, which may include a blend of
other variable types. For example, you could create an object that
holds contact information.
• Array of [T]: An array is a string of values. You can use loops to manipulate
this type of data.
• Browse for Types: This will open a new menu that provides a large
assortment of other unique variable types.
• This allows you to access the .Net framework, which makes it possible to
access deeper into your computer’s system. Just some of the types include
decimal, date, and password.
•.
6
Loops & Conditionals
• Loops are a core part of computer programming languages. It is a way
to repeat a set of instructions – say, to search for something and add
numbers – until a condition is met.
• The types of loops in UiPath include
• For Each
• Do While
• Switch
7
Do While Loop and While Loop
• A Do While Loop will continue until a condition is triggered. Unlike a
For Each loop, you do not know how many times it will cycle through
or if it will even need to do so.
• Here’s an example. Drag and drop a Sequence on the Main screen and
put the Do While Loop activity inside it (at Workflow ➤ Control ➤ Do
While).
• To use Acme System 1, press Register and enter your e-mail and password.
Next, we will create a bot to login. To do this, you must have the Microsoft
Edge extension installed, which you can access from the Tools menu item
on the start screen of the UiPath Studio.
• You will then press Launch and Turn On after it is downloaded. Go to create
a bot by dragging and dropping a Sequence on the Main screen (Workflow
➤ Control ➤ Sequence).
• Then go to the Record at the top and select “Web.” As the name implies,
this will record your actions on a web site, which will be Acme System 1.
8
• Another common function of RPA is Screen Scraping. UiPath Studio
actually makes it fairly easy to do this. You will select “Screen
Scraping” at the top of the screen and then go to a web page that has
information.
• For example, it may be a table of data and UiPath will automatically
detect this.
• It will then ask if you want to scrape all of it. It will also see if the data
spans multiple pages and UiPath will handle this, such as put it in a
Data Table.
• This makes it easy to manipulate within the bot with Excel or another
application.
9
• Robots: This is where you can register your bots.
• Processes: On the left side, there is a + button, which allows for the
creation of new processes. This essentially brings in the bots that
were created in the UiPath Studio.
• Jobs: This shows the bots that are in operation or have been in
operation.
• Schedules: You can set the times for deploying the bots.
• Assets: You can create variables for the Orchestrator (text, Boolean,
integer, and credential, which is for the logins).
• Queues: This is an advanced system to help manage bots.
10
• Be the Bot! Actually, designing an effective bot takes a change in
mindset. It’s not about completely replicating the actions of a human.
One reason is that the process may be fairly inefficient. What’s more,
a bot will run 24/7 (a human, of course, can put in about eight hours
or so). The key is that you should think like…a bot!
• Readability: Take the time to make sure your workflows and code are
easy to understand. One part of this is to set up a standard naming
convention for the activities and variables.
11
Evaluation of Bots
1.Self-service rate: percentage of user sessions that did not end with
a contact action after using the bot.
2.Performance rate: number of correct answers divided by the number
of active sessions (a correct answer is an answer suggested by the
bot and clicked by the user in case of multiple choices – or opened
instantly in case of strong semantic matching).
3.Usage rate per login: volume of active user sessions on the chatbot.
To balance out with the average number of sessions on your
website.
4.Bounce rate: volume of sessions where the chatbot was opened but
not used
5.Satisfaction rate: average grade given when evaluating the chatbot’s
answers (to balance out with the evaluation rate).
7. Average chat time: allows you to evaluate your users’ interest for your
chatbot.
8. Average number of interactions: used to evaluate the Customer Effort
Score on the chatbot and must be correlated to the satisfaction rate. If the
latter is very low, the bot may be engaging the users in too many branches
and steps to meet their needs. In this case, a resolution can be to correct
the decision trees or knowledge base architecture.
9. Goal completion rate: in case your bot contains targeted actions like
CTAs, a form or some cross-selling, that is the rate of users who have
reached that specific action through the chatbot.
10. Non-response rate: the amount of times the chatbot has failed to push
some content following a user question (due to lack of content or
misunderstanding).
12