How to create a UI Flow in Power Automate
Hello there, hope you are doing good. In this blog you will learn How to create a UI Flow in Power Automate!! You must have heard about Robotic Process Automation (RPA). Basically RPA is technology which helps us to automate our day to day business processes or activities with the help of computer software, or a “”Robot”.
With the help of UI Flows which is a part of Power Automate we can emulate and integrate the actions of a human interacting within digital systems to execute a business process. For more information on Power Automate refer link. Today we will see how we can get started with UI Flows. We will also look into the tools needed to develop this.
Install UI flows on your device
- Download the UI flows installer.
- Open the Setup.Microsoft.Flow.UIflow.exe file. This file is likely in your Downloads folder after you downloaded it in the previous step.
- Follow the instructions in the UI flows (preview) setup installer to complete the installation.
- Activate the UI flows extension. For Microsoft Edge (Chromium), navigate to edge://extensions or for Google Chrome, navigate to chrome://extensions
Install Selenium IDE
- Download and install the Selenium IDE for the next version of Microsoft Edge or Google Chrome.
- On Microsoft Edge (Chromium), select Allow extensions from other stores, and then select Add to Chrome.
Create UI Flows under Power Automate
Now we will create UI flows under power automate. Login into the power automate and navigate to My Flows. Under My Flows you will be able to see UI Flows (Preview) tab. Click on that and then on the new icon. You will see like below picture.
Today we will create Web app UI flow to send an email. Click on the Web app section and then click on next button. After clicking on next button, you will be redirected to below screen.
Now pass the value for Flow name and Base URL. In my case base url is https://outlook.office365.com. Because I am using my O365 email to send a mail. Click on launch recorder to record the steps.
Click the REC button of Selenium IDE window. As soon as you click on REC button it will open the outlook web page. It will start recording whatever steps we perform in that page. My Steps are below.
1. Click new message
2. Enter value in To field.
3. Add a subject and body
4. Click on send button
5. Close the web page
Once you are done with above steps, stop recording and save the file. File will be saved under UI Flows.
Run your UI Flow
You can test your UI Flow from selenium editor. But now we will call or run our UI from an automated flow. Before that we need to install and configure on premise gateway on our machine. Follow this documentation for the same. Go through this link to run or schedule your flow.
In a similar way we can Desktop app to automate our day to day tasks. like filling up a daily excel sheet and storing in a regular location.Hope you enjoyed this post. Please share and subscribe our site for more interesting topics. You can view our past blogs here.
If you are looking to learn Power Apps & Power Automate quickly then enroll for our Power Apps & Power Automation training here.
Rakesh is a Solution Architect having 11 years experience in banking domain designing enterprise level applications on Microsoft technologies. He has strong experience working on Azure, SharePoint, PowerApps & Flow.
Apart from technology, I like to play badminton.