Book Image

Robotic Process Automation Projects

By : Nandan Mullakara, Arun Kumar Asokan
Book Image

Robotic Process Automation Projects

By: Nandan Mullakara, Arun Kumar Asokan

Overview of this book

Robotic Process automation helps businesses to automate monotonous tasks that can be performed by machines. This project-based guide will help you progress through easy to more advanced RPA projects. You’ll learn the principles of RPA and how to architect solutions to meet the demands of business automation, along with exploring the most popular RPA tools - UiPath and Automation Anywhere. In the first part, you’ll learn how to use UiPath by building a simple helpdesk ticket system. You’ll then automate CRM systems by integrating Excel data with UiPath. After this, the book will guide you through building an AI-based social media moderator using Google Cloud Vision API. In the second part, you’ll learn about Automation Anywhere's latest Cloud RPA platform (A2019) by creating projects such as an automated ERP administration system, an AI bot for order and invoice processing, and an automated emergency notification system for employees. Later, you’ll get hands-on with advanced RPA tasks such as invoking APIs, before covering complex concepts such as Artificial Intelligence (AI) and machine learning in automation to take your understanding of RPA to the next level. By the end of the book, you’ll have a solid foundation in RPA with experience in building real-world projects.
Table of Contents (14 chapters)

Returning a response flag to the Parent bot

We will return a Good or Bad flag to the Parent bot based on the output we get back from Twilio. Follow these steps to do so:

  1. First, let's read the Connection property from the output dictionary variable. This contains the Twilio REST response. We will use the String Assign action to assign the value of $output{Connection}$ to a new String variable called OutputResponse:

  1. Now, we'll use an If condition to check this OutputResponse and set the return flag for the Parent bot. We will check $OutputResponse$ for the target value of keep-alive. Within the If condition, since the response is good, we'll use String Assign to assign a value of Good to the Response output variable, as shown in the following screenshot:

  1. If the response isn't good, then we'll need to send a bad response within the If Else action. Let's add another String Assign so that...