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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow to read the conte...
Power Automate
Unanswered

Flow to read the content of an email attachment

(0) ShareShare
ReportReport
Posted on by

Hello,
Need a Flow to read the row1, column1 and row1, column2 of an excel email attachment and use the content to rename the attachment and save it to a local folder.
Eg, email attachment comes with the name TEST, it needs to be renamed as YYYY_MM_TEST where YYYY is from row1, column1 and MM is from row1, column2. Excel attachment could have multiple sheets and the flow needs to read the first sheet to get the content.

Categories:
  • rsaikrishna Profile Picture
    3,703 on at

    @mkp 

     

    Does the excel file have header (column names)?

     

    To read the excel file by Power Automate, it should have following:

    a. The excel file extension must be .xlsx

    b. The file should be saved to One Drive or SharePoint

    c. The excel file should have a valid Excel Table.

     

    For your requirement, I recommend following steps:

    a. The flow can start with a trigger - when an email is received.

    b. Save the attachment (.xlsx) to One Drive or SharePoint.

    c.  Use Get Row action (if you know Key) or List rows present in a table (with top count 1)

    d. Get the values of first column with title, second column value. Create File name.

    e. Save the file to Local drive with file name created in step d.

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard