-
Book Overview & Buying
-
Table Of Contents
Democratizing RPA with Power Automate Desktop
By :
Now that we have installed PAD successfully, it’s time to create our first simple flow:
Figure 2.6 – Creating our first flow
Figure 2.7 – Flow container screen with the + New flow option
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
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
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:
Figure 2.10 – Dragging an action onto the canvas
Figure 2.11 – The Display input dialog parameters
We need to provide the following information in this dialog:
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
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
Again, we need to enter some information here:
Figure 2.15 – Using a variable in the message
Figure 2.16 – Our first flow completed
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
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
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!