Hi, I wanted to see if there is a way to convert XML files in a folder to the Excel files using Power Automate desktop. I see there is a way to iterate over files in a folder and read XML. What I seem to be missing is a way to convert XML to Excel/ write XML data to Excel. Any ideas?
Thanks
Didi you try importing a xml to Excel?
1) Get the full path + name of XML file
2) Lauch Excel with a blank sheet
3) Navigate with UI elements to 'Developer' tab, then 'Import' under 'XML' group. In the select file window, use 'Populate text field in window' to fill the path&name of xml file captured in step 1 and click Import.
4) 'Save Excel' as xlsx file
Previously you have to show Developer tab in Excel (Show the Developer tab (microsoft.com))
You'll need to read the XML file, store its values into variables and then write those variables to an Excel file. Also, I'm assuming all your XML files have basically the same structure and you want the same output structure (same columns in Excel). Basically, you'll need to perform the following steps:
This is a very high level generalization to guide you to the desired outcome.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
23 | |
7 | |
5 | |
3 | |
2 |