web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Build a flow to open e...
Power Automate
Unanswered

Build a flow to open emails in a folder, read the Excel File from email and entry into CSV

(0) ShareShare
ReportReport
Posted on by
From the upstream Order Management System, we recieve orders details over emails. Each email is for one order line item and the details of the order are in the excel attachment of the email. I am trying to use power automate to open the emails (.msg files) from the folder location on my desktop, read the excel file attachment and then copy the fields to create a new line entry in the CSV file. The purpose of this automation is to execute the orders as a batch by feeding this CSV file to a batch processing program.
 
The program output which I am getting from PowerAutomate is not achieving the desired outcome. 
 
=====================
Retrieve the list of email files in the specified folder, loop through each email file, retrieve emails, save attachments, launch Excel and open the first attachment, copy cells, paste cells as transpose, save the Excel document as a CSV file, close the Excel instance
====================
 
Sample Excel Entry:
 
Parameter Name Parameter Value
Network Slice ID NS-0000012345
Order ID O-00001234
Early Termination Fee Not present
Pricing plan name Plan 1
Product Term Units monthly
Unique Product ID AB12
 
 
Sample CSV Entry:
 
Parameter Name,Network Slice ID,Order ID,Early Termination Fee,Pricing plan name,Product Term Units,Unique Product ID
Parameter Value,NS-0000012345,O-00001234,Not present,Plan 1,monthly,AB12
Parameter Value,NS-0000012346,O-00001235,Not present,Plan 2,monthly,AB12
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard