Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Democratizing RPA with Power Automate Desktop
Democratizing RPA with Power Automate Desktop

Democratizing RPA with Power Automate Desktop: Boost your productivity by implementing best practices for automating repetitive desktop processes

Arrow left icon
Profile Icon Peter Krause
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (20 Ratings)
Paperback Apr 2023 308 pages 1st Edition
eBook
zł59.99 zł112.99
Paperback
zł141.99
Subscription
Free Trial
Arrow left icon
Profile Icon Peter Krause
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (20 Ratings)
Paperback Apr 2023 308 pages 1st Edition
eBook
zł59.99 zł112.99
Paperback
zł141.99
Subscription
Free Trial
eBook
zł59.99 zł112.99
Paperback
zł141.99
Subscription
Free Trial

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Democratizing RPA with Power Automate Desktop

Using Power Automate Desktop and Creating Our First Flow

In the previous chapter, we saw how Power Automate Desktop (PAD) was born and how powerful the tool can be for automating repetitive tasks. In this chapter, we will take a detailed look into the following:

  • What is necessary for installing PAD on a local machine
  • How the application is built up
  • How to create our first flow by using the built-in recorder

To use PAD effectively, a basic understanding of the application is essential, as we will spend most of our time on the very areas presented here. Also, knowledge of the PAD recorder will be extremely helpful throughout this book because it can also save us a lot of time when creating flows. Now, let’s look at how we can get PAD running on our computers.

Understanding the prerequisites for installing PAD

Let’s begin by taking a look at what you need to get Power Automate up and running on a local machine. Two things are required to install Power Automate:

  • A Windows operating system (Windows 10 or Windows 11 Home edition or above) and some hardware requirements/recommendations
  • A Microsoft work or school account to sign in to Power Automate

Since there are specific things to consider, let’s take a closer look at each of these topics now.

The Windows operating system

The minimum hardware to run PAD is a 1.00 GHz processor, 1 GB of free storage, and 2 GB of RAM. As always, the more powerful a machine is, the better the applications will run, and this also counts for PAD. If you are running a local application that should be part of automation and that also consumes significant PC resources, these resources should be counted on top.

The Windows Home editions (Windows 10 and Windows 11) have a few restrictions (https://learn.microsoft.com/en-us/power-automate/desktop-flows/setup) when working with PAD:

  • The first one is that it is not possible to create PAD flows with the Selenium integrated development environment (IDE). If you want to use this IDE to create PAD flows, a Windows Professional or Enterprise edition will be necessary.
  • Selenium is an open source test automation framework for the web. We discussed in the previous chapter that PAD and Robotic Process Automation (RPA) have their origins in testing frameworks for user interfaces, of which Selenium is an example. Selenium also has an IDE (https://www.selenium.dev/selenium-ide/), which you can use to create Power Automate Desktop flows – but only if the underlying operating system is Windows Professional or Enterprise. The second restriction is that a UI flow cannot be triggered from the Microsoft cloud when running on a machine with Windows Home. A PAD flow could potentially be triggered from a cloud flow (Power Automate Flow), and this makes it possible to integrate a local application into a larger context by launching a local workflow triggered by events in the cloud ecosystem.

Integration with the Microsoft Cloud

If you intend to integrate a PAD flow with the Microsoft Cloud, a Windows Professional version or higher is required.

Microsoft account

To be able to access the files for installing PAD, a Microsoft account (formally known as Windows Live ID) is required. There are different types of accounts and all of them are suitable for using PAD:

  • (Personal) Microsoft account: This is probably the most commonly used type of account in the private area. It is free and provides access to Microsoft’s consumer services such as Outlook.com, OneDrive, and Office applications. To sign up, an existing email address can be used or a new one can be created. This account can also be used to sign in to a Windows machine.
  • Work or school account: This type of account is created by an organization that uses Azure Active Directory (AAD) as the authentication and authorization platform. Typically, additional services or subscriptions are purchased that offer additional functionality to users.
  • Organization premium account: This is a special form of work or school account. In this case, the organization is not only managing users via AAD but has also moved certain or all parts of IT to the cloud, such as Exchange, Teams, and Business applications.

With all three types, the full potential of PAD can be unleashed. The organization’s premium account has the following capabilities on top:

  • Connecting and integrating with cloud flows (see the previous comments on the operating system)
  • Collaboration and advanced functionality (such as central Dataverse storage, sharing of flows, as well as centralized management and reporting)
  • Additional premium functionality such as access to AI Builder and unattended execution of flows

For the vast majority of use cases, a personal Microsoft account is sufficient. Nevertheless, in the following chapters of this book, we will see scenarios where a premium account is necessary to access specific services.

Additional notes on accounts

To install PAD, a user with administrator privileges on the device is required. A Windows local or domain account with these privileges should be used. To access PAD installation files, however, one of the Microsoft accounts mentioned previously is necessary. The Windows local account can be associated with the Microsoft account in the corresponding Windows account settings.

Now that we know the prerequisites, let’s take a look at how to install the software.

Installing PAD

The installation files for PAD are not on the local Windows medium – you must download these from the Microsoft download center. Therefore, an active internet connection and a modern browser are required – Microsoft Edge version 80 or higher or Google Chrome. For this book, I am using a machine with Windows 11 Home edition and a freshly created personal Microsoft account. To install PAD, do the following:

  1. Open your browser and navigate to https://www.office.com. If you are not already logged in, do so with your Microsoft account.
  2. On the right-hand side, you should see a list of familiar icons such as those for Word, Excel, and more. Click on the last one, called Apps. Clicking this icon will make additional apps appear:
Figure 2.1 – Microsoft Office home page with additional apps

Figure 2.1 – Microsoft Office home page with additional apps

  1. Click on Power Automate. If you don’t see this icon, scroll down a bit. Next, you may see a little welcome screen that wants you to choose the right region or country. Please select the appropriate entry and press Get started.
  2. You will be redirected to the start screen of Power Automate, which is where the installation files are concealed. Click on My flows in the left navigation bar:
Figure 2.2 – Accessing My flows in Power Automate

Figure 2.2 – Accessing My flows in Power Automate

  1. On the next screen, there is an Install button at the top right that reveals the installation files for PAD and the on-premises data gateway. Click on the first entry to start installing PAD:
Figure 2.3 – Installation files for

Figure 2.3 – Installation files for

Another way of installing PAD is via the Microsoft Store:

  1. Open the Microsoft Store app and type Power Automate in the Search bar.
  2. You will be presented with Power Automate as the first entry of the search result. Click the Install button to get the tool (I have already installed it, which is why I can open it):
Figure 2.4 – Installing Power Automate from the Microsoft Store

Figure 2.4 – Installing Power Automate from the Microsoft Store

  1. Whether it’s through the downloaded file or the store, run through the installation process; this is straightforward. You will get a message stating that the installation was successful.
  2. After that, click the Windows Start button and type Power Automate. The installation procedure does not create any shortcuts, so it is a good idea to pin this program to the Start menu or the taskbar:
Figure 2.5 – Pinning and launching Power Automate locally

Figure 2.5 – Pinning and launching Power Automate locally

  1. Click on the Power Automate icon to start the program.

Important note

Please note that the program is called Power Automate and not Power Automate Desktop. Don’t be confused – we are in the right place. The program might find an updated version of the software and apply this automatically.

When the program finally starts, you will also need to log in with your Microsoft account. After this, you should choose a region again and go through the tour of Power Automate, which is also a confirmation that PAD has been successfully installed.

Creating our first flow

Now that we have installed PAD successfully, it’s time to create our first simple flow:

  1. At this point, the program has started and provides us with a welcome screen. Please note the different tabs, which allow you to switch to your flows or even look at the sample programs from Microsoft, which are worth a look. Starting on the flow container screen, choose + New flow either from the top-left menu bar or in the middle of the screen:
Figure 2.6 – Creating our first flow

Figure 2.6 – Creating our first flow

  1. In the next dialog, you will be asked to name the flow. Although this is optional, it is good practice to name your flow accordingly. Let’s choose Welcome Flow this time. You can go ahead and click the Create button to start the designer:
Figure 2.7 – Flow container screen with the + New flow option

Figure 2.7 – Flow container screen with the + New flow option

  1. This launches the design interface for PAD flows, and this will probably be the place where we will spend most of our time in this book. In the next section, we will learn what all the individual areas mean and what functions they have. But for now, let’s create our first flow.

In our first flow, the idea here is that we want the flow to ask us for our name and then take this to display a nice welcome message. To achieve this, we are going to make use of the Message boxes actions. Take a look at the list of entries on the left-hand side and hover over the entry called Message boxes; you should see the following:

Figure 2.8 – Exploring the Actions pane

Figure 2.8 – Exploring the Actions pane

  1. Once you get more familiar with the different actions, you can also use the Search bar on the top left-hand side to reveal a specific set of actions. Try and click in the search box and enter display as some text. The left list of actions adapts as per the results of the search term:
Figure 2.9 – Using the search bar

Figure 2.9 – Using the search bar

We are now interested in the Display input dialog action, which is the second entry in the list. Remember, you can also use the full list of actions on the left-hand side and expand the Message boxes action group:

  1. To place the action onto the design canvas, just click and hold the Display input dialog entry and drag and drop it into the middle of the window, right under the Main tab:
Figure 2.10 – Dragging an action onto the canvas

Figure 2.10 – Dragging an action onto the canvas

  1. Immediately after you release the mouse button, a dialog will appear. Here, we need to enter the required data:
Figure 2.11 – The Display input dialog parameters

Figure 2.11 – The Display input dialog parameters

We need to provide the following information in this dialog:

  1. Enter a name for the title of the input dialog. This title appears in the header of the message box.
  2. Enter a message for the dialog. In this case, we want to know the name of the person.
  3. You don’t need to enter anything here. However, the value of the name that is entered by the user must be stored somewhere so that it can be displayed later. This action produces a variable as internal memory for where the input of the user is stored.
  4. Click on the Save button to save and close this dialog.
  1. The design canvas should now contain the first action and look like this:
Figure 2.12 – The first action in the canvas

Figure 2.12 – The first action in the canvas

Now that we have a way to query the name, we want to display that name to the user again. For this, we are going to use the Display message action. Click and drag this action and place it under the existing action:

Figure 2.13 – Dragging the Display message action onto the canvas

Figure 2.13 – Dragging the Display message action onto the canvas

It’s important to note that there is a line indicating where the action will be placed. Later, when we have larger flows with more actions, this will allow us to place an action in the middle of a flow and modify the sequence very easily. Like in our first action, immediately after releasing the mouse, a dialog will appear where we can specify the parameters of this action:

Figure 2.14 – Parameters for the Display message action

Figure 2.14 – Parameters for the Display message action

Again, we need to enter some information here:

  1. This will be the text a user will see in the title of the message box.
  2. The message text we want to display.
  3. To the right of the text field for the message box, there is a little X symbol in brackets. This is a button that can be used to insert dynamic content from variables in the flow. In the previous action, we stored the name of the user in a variable called UserInput. When clicking on the X button, another dialog will appear at the top that shows us the variables that are available in this flow. Here, we can select UserInput and click the Select button. The variable will be inserted into the text box for the message. It should look like this now:
Figure 2.15 – Using a variable in the message

Figure 2.15 – Using a variable in the message

  1. Click the Save button to save and close the dialog.
  2. Our first UI flow now looks like this:
Figure 2.16 – Our first flow completed

Figure 2.16 – Our first flow completed

  1. To test this flow, we need to run it. This can be done by pressing the Play button at the top of the action canvas or by going to the Debug menu and selecting Start. The shortcut for running a flow is F5.

As expected, an input dialog appears, asking us for our name, which we can now enter into the text box:

Figure 2.17 – Running our first flow – part 1

Figure 2.17 – Running our first flow – part 1

Also, notice that in the background, the UI of the program has changed a little bit. The entry with the blue background indicates the current step of the flow. Enter a name and click the OK button. The flow will continue with the next step and display a message box with the name you have entered:

Figure 2.18 – Running our first flow – part 2

Figure 2.18 – Running our first flow – part 2

Again, the blue background in the application indicates the current step. Click OK to close the message box and end the flow. Congratulations – you’ve created and executed your first UI flow!

Artifacts of the user interface explained

Now that we have explored the basic possibilities of PAD, let’s take a detailed look at the application and its possibilities. PAD consists of two windows:

  • The container window or Power Automate console
  • The Desktop flow designer window

The Power Automate container window

The first window we will see when we start the program is the container window, also known as the Power Automate console. The following screenshot shows this window:

Figure 2.19 – PAD container window

Figure 2.19 – PAD container window

It contains the following elements:

  1. List of UI flows: If you hover over an item in the list, you will be presented with different additional options, such as the play button or the edit button. While the edit button just opens the designer window (see the following figure), the start button runs the flow immediately without opening the designer window first.

You will also get some desktop notifications on the flow’s status (has been started, was successful, and so on):

Figure 2.20 – Windows notification on the flow

Figure 2.20 – Windows notification on the flow

The three dots to the right of the edit button will reveal a context menu where you can also run or edit the flow but also rename, delete, or copy the flow:

Figure 2.21 – Flow list context menu

Figure 2.21 – Flow list context menu

The Details option gives shows the properties of the flow, including its name and description, owner, the date for creation, and the last modification.

  1. The console area switch: You can also switch from the My flows tab to the Examples tab. Here, different examples provided by Microsoft are presented, including automation for Excel, desktop, the web, and more. Although the examples do not cover the scope of the program, it may be worthwhile to have a look there to possibly try out one of them.
  2. Create a new flow: This button launches a dialog where you can enter the name for a new UI flow. Although this is optional, it is reasonable to provide a meaningful name for the flow. There is a Create button to confirm the name and launch the designer window with a blank canvas.
  3. PAD settings: This button launches the Settings dialog. Here, we can modify the launch behavior of PAD and also use a hotkey to stop a running flow. In addition, the monitoring and notification settings can be changed (Windows notification, flow monitoring window, or no notification).
  4. Login information: Clicking on the name in the title bar provides information about the current user and their login information. Here, it is also possible to sign out and log on with another user.

The designer window

Let’s take a closer look at the designer window now:

Figure 2.22 – The designer window of PAD

Figure 2.22 – The designer window of PAD

Here, we have the following elements:

  1. The Actions pane: The left-hand side of the window belongs to the Actions pane. Actions represent functionality that a flow is capable of, such as “Open Excel” or “Get files in a folder.” These actions are grouped into different categories such as System or Folder You can see all the actions that belong to a category by expanding the corresponding item. Just click on the arrow icon on the left of the category. Throughout this book, we will look at each of these actions. At the top of the list, there is also a Search box. If you enter a search term here, the list of actions gets filtered by this search term. We used this in our first flow.
  2. The flow designer area: In the middle of the window, there is a canvas that contains all the actions this flow is made of. Actions can be placed there by dragging them from the Actions pane. When a flow is started, the actions will run in the sequence in which they are listed here. This action list can be rearranged by just clicking and dragging an existing entry and putting it somewhere else. There will be a horizontal line displayed showing where an action can be placed. We saw this in our previous example. You can also double-click on an action to bring up the settings dialog for that action and modify the entries. In this area, there is also an option to look at the subflows. A subflow is just another UI flow that encapsulates a specific set of actions. By using subflows, it is possible to structure a large flow into different pieces. A subflow always belongs to a regular flow and is not shared between other flows.
  3. The flow control bar: The little bar at the top of the action list allows you to save, start, stop, and record a flow. There is also an option to start the flow and go action by action, which is also called debugging. We will take a closer look at this, as well as the recorder, in the next section.
  4. The Variables viewer pane: On the right-hand side, there’s an area that displays the variables of the flow. Variables are an important aspect of a flow for storing information during runtime. Variables will be covered in Chapter 5.
  5. The input elements switch: Please also notice the two additional little icons below the variables icon, {x}. These can be used to switch to the area containing UI elements and images, which will also be covered later. You can hide this area by clicking on the icon.
  6. Action and execution summary: At the bottom, there is a little bar that summarizes the current flow. It is also possible to set a specific delay for the flow to run – in this example, 100 milliseconds.

This is the applications menu bar. In addition to the typical functionality for saving and editing, the debug functionality is also available here once again, in which breakpoints can also be set. This allows a flow to be executed up to a certain point so that we can check the settings and variables in the event of an error:

Figure 2.23 – The Debug menu

Figure 2.23 – The Debug menu

This designer window will also show up in another area at the bottom of the screen when a flow runs into an error. There will be detailed information about where the flow stopped and why. Now that we have a few more details, we’ll use the recorder to create another flow in the next section.

Making use of the recorder

As you saw in the previous chapter, the PAD designer window allows us not only to drag and drop actions onto the design canvas but also allows us to record a UI flow. This concept is comparable to a screen recorder that records every step, every mouse click, and keyboard stroke to play back this sequence the same way later.

We want to use this functionality once to create an overview of all book titles of the PacktPub publisher so that we can use this information elsewhere – for example, in a database. Unfortunately, we don’t have direct access to PacktPub’s underlying source, but we can get the book titles via their website at https://subscription.packtpub.com/search. However, we don’t want to highlight every single title on the website and then copy and paste them into another tool. That would take a very long time and also be quite boring. PAD can do this job for us.

In the following example, we will use a concept known as web scraping – that is, structurally extracting information from web pages. Note this also works with numerous other websites, so this technique can be used universally. However, the prerequisite for using this method is that we must install and activate a small extension for the browser we’re using so that PAD can access the elements of a web page. So, let’s get started:

  1. Create a new flow and give it a meaningful name, such as Web Scraping PacktPub.
  2. Locate the Browser automation actions group in the actions pane and expand it. You will see a Launch new... action for each of the browsers from Google, Firefox, and Microsoft Edge. I have Microsoft Edge installed on my machine, so I will click and drag this action onto the canvas:
Figure 2.24 – Dragging the browser action onto the canvas

Figure 2.24 – Dragging the browser action onto the canvas

  1. At this point, you might be requested to install the browser extension for PAD:
Figure 2.25 – Browser extension installation dialog

Figure 2.25 – Browser extension installation dialog

  1. This will only happen once. Get the extension and make sure that it is activated.

In the dialog for this action, enter the data accordingly and make sure that you use https://subscription.packtpub.com/search as the initial URL. Click on the Save button:

Figure 2.26 – Settings for the browser launch action

Figure 2.26 – Settings for the browser launch action

You should now have one action in the canvas that opens the website mentioned previously in a new browser instance. Test this flow now by pressing the Run button above the design canvas and leave the browser window open for now.

As mentioned previously, we can always add more functionalities to the flow. For this, we will use the recorder. With the browser window open, switch back to the design canvas/workspace window and click the Recorder button:

Figure 2.27 – The recorder button

Figure 2.27 – The recorder button

At this point, the PAD designer will disappear, and a smaller recorder window will appear instead. It should look like this:

Figure 2.28 – The recorder window

Figure 2.28 – The recorder window

Now, the funny part begins. Start the recording by either clicking the button in the middle of the screen or at the top. The recorder window will change and display an empty area under Recorded actions. Use your mouse and hover over different elements on the website, such as the book picture. You will see that PAD tries to identify the different elements on the website and frames them accordingly. In the following screenshot, I hovered over the book image:

Figure 2.29 – Detecting web elements

Figure 2.29 – Detecting web elements

For the recorder to recognize the web page elements correctly, it sometimes takes a bit of dexterity. It also helps to move the mouse out of the desired area and back in again to get the right mark. Once the correct element has been highlighted, click the right mouse button to be able to select the information we want to extract from this element. A context menu for this element will appear so that we can select different entries:

Figure 2.30 – Context menu for web elements

Figure 2.30 – Context menu for web elements

Let’s take a look at this in more detail:

  • Extract element value: This allows us to extract information from this element. A web element can always have different properties, such as Text or Title.
  • Wait until web page: This allows us to wait for specific events on the page, such as when an element contains a text or gets visible.
  • Take screenshot of this UI element: This takes a screenshot and stores it in PAD flow.

In our case, we may want to extract the information of the image source, so we will choose Extract element value | Src. The recorder window should look like this now:

Figure 2.31 – A recorded action in the recorder

Figure 2.31 – A recorded action in the recorder

Important note – remove additional actions

You might have other actions that have been recorded by the recorder, depending on where you clicked and what keys you might have pressed. For our example, there must be only one action in the recorder. Use the Delete button (trashcan symbol) to remove any additional actions.

Now, repeat the same process for the title of the book. Use your mouse to hover over the elements and the title and click the right mouse button:

Figure 2.32 – Extracting data from a web element

Figure 2.32 – Extracting data from a web element

This time, we want to extract the title of the element. With that, we have captured two elements on the web page, which are represented in the recorder window like this:

Figure 2.33 – Extracted data in the recorder

Figure 2.33 – Extracted data in the recorder

There is an important difference here: PAD already recognized that we captured two pieces of information from one record on the web page. Our next step will be to go to the next element, and this is where some magic starts. If you repeat the first step and mark the next book image and extract the Src information again, PAD will recognize this pattern and assume that you want to do the same as with the first element. We can see this on the web page because PAD has marked the corresponding elements with a green dotted line:

Figure 2.34 – Pattern recognition of the recorder

Figure 2.34 – Pattern recognition of the recorder

Pattern recognition

Please notice that it sometimes takes capturing more than two structures before the recorder recognizes the pattern. So, please proceed to the next element if PAD does not recognize the pattern immediately. Recognition also depends on the underlying structure of the HTML. After the third or fourth element at the latest, the pattern will be recognized.

This means that PAD will capture all the elements on this page now. But what about the next page of books? Let’s scroll down so that we can see the pagination control on that website:

Figure 2.35 – Incorporating navigation

Figure 2.35 – Incorporating navigation

We can now use the single arrow button to load the next page. Right-click on the element shown in the following screenshot and choose Set this element as pager:

Figure 2.36 – Using a pager in a recording

Figure 2.36 – Using a pager in a recording

The element now gets a little blue dotted border, indicating the pager functionality. Looking at the recorder window, just one element should be seen here:

Figure 2.37 – Recorded web scraping actions

Figure 2.37 – Recorded web scraping actions

If other elements have been captured by mistake, just delete them. You can now stop the recording by clicking the Done button. Now, the recorded actions get transferred to the main PAD design window:

Figure 2.38 – Transferring recorded actions to the designer

Figure 2.38 – Transferring recorded actions to the designer

There are also comments in the list of actions describing the start and end of the generated actions by the recorder. Let’s investigate the Extract data from web page action a bit more by double-clicking it:

Figure 2.39 – Revealing the web data extraction

Figure 2.39 – Revealing the web data extraction

The interesting parts here are Extract data from and Store data mode. After the browser has been loaded by our first action in the flow, this action extracts all the data from the web page unless we don’t tell it otherwise. While on some occasions this might be useful, for our test, we only want to extract the first 10 pages. Click on the dropdown for the All available entry and change this to Only the first. Now, another text box will appear, where we can enter the number of web pages to process.

The last setting for this example is Store data mode. So far, the data that is captured is stored in a variable (DataFromWebPage, in my example). But of course, there are other ways to work with this data now. For example, you could take this variable and use it as input for another action after the web data has been extracted, or you could choose to store this in Excel. Therefore, click the dropdown for Store data mode and change the value from Variable to Excel spreadsheet:

Figure 2.40 – Modifying the web data extraction parameters

Figure 2.40 – Modifying the web data extraction parameters

Now, the web data extraction will only run for the first 10 pages, take the data, launch Excel with a new spreadsheet, and paste the captured data in there. Save the dialog now and let the show begin. On my machine, it took 45 seconds to extract 120 records and paste them into Excel.

Summary

Installing PAD is straightforward, just like installing any other Microsoft tool. Once you have signed up for a Microsoft account, you can log in to the program and start creating your UI flows right away.

It is recommended to try things out and use the tool even to automate simple tasks. This will make you more familiar with the program, as I explained in this chapter. The recorder can save you a lot of work and it can be used for new or existing flows. Especially if web scraping is a task, this tool can be very handy.

In the next chapter, we will continue our journey and look at the editing and debugging capabilities of PAD.

Further reading

To learn more about the topics that were covered in this chapter, take a look at the following resources:

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn how Office programs can assist with automating recurring tasks
  • Maintain superior work quality by including daily desktop and web applications in your flows
  • Enrich your flows with additional AI-based information and integrate them with cloud systems

Description

Whether you want to organize simple files or perform more complex consolidations between different Office programs and remote-control applications that don't allow outside access, Power Automate Desktop helps meet these challenges. This book shows you how to leverage this workflow automation platform by explaining the underlying RPA concepts in a step-by-step way. You’ll start with simple flows that can be easily recorded and further processed using the built-in recorder. Later, you’ll learn how to use the more advanced actions to automate folder and file management and enable Office programs to interact with each other. You’ll also get to grips with integrating desktop flows into other cloud environments and further enhance their value using AI. As you progress, you’ll understand how flows can run unattended and how they are managed in the Power Platform, as well as key concepts such as creating, modifying, debugging, and error-handling UI flows. Finally, the book will guide you to use Process Automation Designer (PAD) in conjunction with your frequently used desktop systems to automate routine tasks. By the end of this book, you’ll have become a Power Automate Desktop expert, automating both professional and personal tasks.

Who is this book for?

Whether you’re a home user looking to automate simple tasks on your workstation or a business user or citizen developer seeking to automate more complex rule-based processes, this book will help you overcome the challenge. No knowledge of a programming language is required, but in the more advanced chapters, a general understanding of information technology, including basic programming language structures, protocols, and cloud concepts, will be helpful.

What you will learn

  • Master RPA with Power Automate Desktop to commence your debut flow
  • Grasp all essential product concepts such as UI flow creation and modification, debugging, and error handling
  • Use PAD to automate tasks in conjunction with the frequently used systems on your desktop
  • Attain proficiency in configuring flows that run unattended to achieve seamless automation
  • Discover how to use AI to enrich your flows with insights from different AI models
  • Explore how to integrate a flow in a broader cloud context

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 28, 2023
Length: 308 pages
Edition : 1st
Language : English
ISBN-13 : 9781803245942
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Apr 28, 2023
Length: 308 pages
Edition : 1st
Language : English
ISBN-13 : 9781803245942
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just zł20 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just zł20 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 464.97
Workflow Automation with Microsoft Power Automate, Second edition
zł201.99
Democratizing RPA with Power Automate Desktop
zł141.99
Customizing Microsoft Teams
zł120.99
Total 464.97 Stars icon
Banner background image

Table of Contents

14 Chapters
Chapter 1: Getting Started with Power Automate Desktop Chevron down icon Chevron up icon
Chapter 2: Using Power Automate Desktop and Creating Our First Flow Chevron down icon Chevron up icon
Chapter 3: Editing and Debugging UI Flows Chevron down icon Chevron up icon
Chapter 4: Basic Structure Elements and Flow Control Chevron down icon Chevron up icon
Chapter 5: Variables, UI Elements, and Images Chevron down icon Chevron up icon
Chapter 6: Actions for UI Automation Chevron down icon Chevron up icon
Chapter 7: Automate Your Desktop and Workstation Chevron down icon Chevron up icon
Chapter 8: Automating Standard Business Applications Chevron down icon Chevron up icon
Chapter 9: Leveraging Cloud Services and Power Platform Chevron down icon Chevron up icon
Chapter 10: Leveraging Artificial Intelligence Chevron down icon Chevron up icon
Chapter 11: Working with APIs and Services Chevron down icon Chevron up icon
Chapter 12: PAD Enterprise Best Practices Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(20 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Morph360Tech May 08, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great overview and introduction of RPA and power platform and where it fits in addition the how it all started section.Great section on API and services you explain XML even my daughter got it, really enjoyed reading this book this weekend.Even how I could create a Zip file using compression natively within PAD itself great stuff.Love being able to generate random password using the built in functions and leading into the best practices where so many people fail to plan these out you explain it so well.Overall I think anyone undertaking and process automation would do well to buy a copy of this.
Amazon Verified review Amazon
Matthias B. May 12, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
In den letzten 2 Wochen habe ich das Buch "Democratizing RPA with Power Automate Desktop" von Peter Krause gelesen. Das Buch ist für jeden, der sich mit RPA (Robotic Process Automation) beschäftigen möchte, ein super Einstieg. Es beinhaltet ausführliche Beispiele für private und berufliche Anwendungsszenarien und verleitet dazu, sich "eigene" Anwendungsbeispiele auszudenken, die es zu automatisieren gilt.Ich kann das Buch für jeden, der sich für dieses Thema interessiert, absolut empfehlen! 😉
Amazon Verified review Amazon
Matthew Hopkinson Jun 23, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Learning Power Automate Desktop, RPA in general or studying for the PL-500?If so this book is a must.It’s easy to read takes you step by step through each topic with loads of great diagrams.I’ll be referring back to this again and again.Thanks Peter.
Amazon Verified review Amazon
Amazon Customer Jun 28, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Simply stated, this is a great book for learning PAD. It's much better than the Microsoft training in my opinion. The MSFT online training is too basic and doesn't give you the skill you need to use PAD for real life use cases. This book does that. The author does an excellent job of organizing content, providing useful examples, and explaining things that you would never figure out on your own, like how PAD can recognize patterns when you use the recorder. Well done.
Amazon Verified review Amazon
Joshua Brown Jul 06, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This was the first book I have come across that fully covers RPA with Power Automate Desktop. This book will provide readers with a solid foundation for developing the skills necessary to build RPA solutions. If you're looking for a deeper dive on the technology than the MS Learning Paths, then be sure to pick this up!Reasons to consider picking this up:- easy to navigate and understand- comprehensive coverage of the technology- quickly get up to speed automating workflows with PAD
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.