Save Web Data to Excel with Power Automate Desktop

Master advanced Power Automate Desktop with 6 use cases to save web data to Excel efficiently. ๐Ÿš€

Save Web Data to Excel with Power Automate Desktop
Anders Jensen
78.8K views โ€ข Sep 21, 2022
Save Web Data to Excel with Power Automate Desktop

About this video

Learn advanced Power Automate Desktop with this step-by-step use case. The tutorial shows how to save web data to Excel in six use cases. The advanced topics are selector work, error handling, logging, web requests (REST API calls), and all the best practices.

๐Ÿ“‚ Course Material: https://andersjensen.org/microsoft-power-automate-desktop/use-cases/save-web-data-to-excel

VIDEOS FOR YOU:
๐Ÿ”น Microsoft Power Automate Desktop For Beginners: https://youtu.be/HUq6ZQhOpbk
๐Ÿ”น Web Scraping in Power Automate Desktop: https://youtu.be/WXK0u2yXLrU

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Discord: https://discord.gg/pJEXZNTCzs
- Join my network with 4000+ RPA Developers, where we solve RPA problems, network, and help each other upgrade our careers. It's free!

FOLLOW ME:
๐Ÿ’ผ LinkedIn: https://www.linkedin.com/in/andersjensenorg
๐Ÿ“ธ Instagram: https://www.instagram.com/andersjensenorg
๐Ÿ‘จ Facebook: https://www.facebook.com/andersjensenorg
๐Ÿฆ Twitter: https://twitter.com/andersjensenorg
๐Ÿ’Œ Email Newsletter: https://andersjensen.org/email-newsletter

MY MONITOR (Amazon affiliate):
๐Ÿ–ฅ๏ธ Samsung 49-inch CRG9 Curved Monitor = https://geni.us/MDpejc
- If you are buying this, I can recommend the Mi Monitor Light Bar = https://geni.us/3Wwad

0:00 Intro
Solve a complete Microsoft Power Automate Desktop project with me today. The video teaches you advanced PAD step-by-step. You'll learn to save data from a web browser to Excel in the six use cases. We'll handle errors, write log messages, make HTTP Requests, parse JSONs, and much more. Download the course data to get the course Excel book: https://andersjensen.org/microsoft-power-automate-desktop/use-cases/save-web-data-to-excel We create a variable with the project path in, as this is best practice.

2:55 Web Scraping to Excel - Structured Data
The Launch Excel action opens an Excel instance. Use a variable for the document path, as this is best practice. We untick the Make instance visible, as this is not necessary. The Close Excel action closes the Excel instance again. The Set active Excel worksheet makes sure we read the correct Excel sheet. Remember to specify that the first line in the sheet contains column names. Use subflows to organize your project. To open a new browser, use the Launch new Chrome action, and as with Excel, we'll close the instance with a Close web browser action. The first thing we automate in the browser is a click on an element with the Click link on web page action. Here we perform a check if a button is clicked or not. You'll have to learn to edit selectors to perform advanced web automation. Now we are ready to read the Excel, do the web search, and write the results back to Excel. To loop through the Excel data, we use a For each. The Extract data from web page action is used to extract structured data from a web page.

49:22 Web Scraping to a DataTable
We choose to extract the web data to a DataTable since we can easily manipulate the data afterward and pick the elements we want to use. We can create a DataTable with headers and rows with a simple Set variable. Then, with another Set variable, we add data to the DataTable. We use the current date and time to name our resulting Excel book, so we log and don't overwrite existing data.

1:04:45 Error-handling and Logging
Some of the search data can't be searched, and we want to handle that business exception accordingly = write a log.

1:16:02 Web Scrape Unstructured Data
Let's learn how we can web scrape unstructured data in Microsoft Power Automate Desktop by creating a robust selector.

1:39:41 Scrape a Hidden Web Element
One of the data elements we want to web scrape with Power Automate Desktop is an element that is only visible if we click a button.

1:52:46 REST API Call and JSON Parsing
The most reliable solution to get web data is a Web Request (also known as HTTP Request or REST API Call). We use a dynamic URL to send requests, and our results come back in a JSON format, which we can quickly parse with Power Automate Desktop.

#powerautomate #office365 #rpa

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

78.8K

Likes

985

Duration

02:09:56

Published

Sep 21, 2022

User Reviews

4.5
(15)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.