This week, we're diving into our first demo on creating UI flows using Power Automate Desktop. If you’re new to UI Flows or Power Automate Desktop flows, I recommend checking out my previous blogs.
Today's Demo: Automating Excel and Email Tasks
In this demo, we’ll create a UI flow that will perform the following tasks.
- Create an Excel file
- Add a few email addresses to the Excel file
- Send emails to the addresses listed in the Excel file
Getting Started
To get started, make sure you have Power Automate Desktop installed on your machine. You can download it from this link.
Steps to Create Your UI Flow
- Create a New Flow: Click on New Flow from the top right corner of the Power Automate Desktop screen.
- Launch Excel: Search for the Launch Excel action from the Actions panel. Drag this action to the main section and double-click on it to open the action configuration section.
- Create a New List: Drag the Create New List action to the main section. Then, drag the Add Item to List action, double-click it, and add the email addresses you want.
- Write to Excel Worksheet: Drag the Write to Excel Worksheet action to the main section and double-click on it to configure the properties.
- Save the Excel File: Drag the Save Excel action to save the Excel file to a specific location.
- Launch Outlook: Drag the Launch Outlook action to start Outlook.
- Iterate Through Excel Worksheet: Use the Loop action to iterate through the Excel worksheet.
- Send Email Messages: Use the Send Email Message action through Outlook to send emails to the addresses listed in the Excel file.
- Close Excel: Finally, use the Close Excel action to close the Excel application.
Final Touches
Your completed UI flow should look something like this.
To run the flow, simply click the Play button on the top ribbon of the screen.
Now, sit back and watch the magic happen as your flow automates the tasks seamlessly.
For more updates, connect with me on LinkedIn.