Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Get email address from an excel file stored in SharePoint Online

(0) ShareShare
ReportReport
Posted on by 23

I'm trying to build a flow that will look at each row in an Excel file that is stored in a SharePoint Site library.  I found one connector but the only option is to get the file contents from my OneDrive account.  Has anyone created a flow that will do that?

  • boydsi Profile Picture
    23 on at
    Re: Get email address from an excel file stored in SharePoint Online

    Yes, the file is in SharePoint.  Here's the entire picture.  I run an audit report once a quarter in the Security and Compliance center to look for social security numbers.  The report is downloaded and cleaned up and then uploaded into SharePoint.  I want the workflow to look at the rows in the excel file and group them by the person who created the document, create a file that's in a user friendly format and send 1 email (grab the first one in the group) with the attached file to the person who created the documents so they can either delete the file or remove the personal identifiable information.    

     

  • v-xida-msft Profile Picture
    on at
    Re: Get email address from an excel file stored in SharePoint Online

    Hi @boydsi,

     

    Do you want to look at each row of an Excel file that is stored within your SharePoint library?

     

    If you want to look at each row of an Excel file that is stored within your SharePoint library, I think the "List rows present in a table" action and the "Get a row" action of the Excel Online (Business) connector could achieve your needs.

     

    I have made a test on my side and please take a try with the following workaround:

    • Add a proper trigger, here I use Flow Button trigger.
    • Add a "List rows present in a table" action of Excel Online (Business) connector, Location set to your SharePoint Site, Document Library set to your SharePoint library within the SharePoint Site that you specified above, File set to your Excel file, Table set to the Table name within your Excel file.
    • Add a "Apply to each" action, input parameter set to output of the "List rows present in a table" action.
    • Within "Apply to each" action, add a "Get a row" action. Location set to the SharePoint Site that you specified above, Document Library set to your SharePoint library within the SharePoint Site that you specified above, File set to your Excel file that you specified above, Table set to the Table name within your Excel file. Key Column field set to a column within your Excel table and the Key Value field set to corresponding Dynamic content of the "List rows present in a table" action.

    Note: I assume that the data of your Excel file (stored within your SharePoint) has been formatted as a table.

     

    Image reference:10.JPG

    The flow works successfully as below:11.JPG

     

    12.JPG

     

     

    More details about the Excel Online (Business) connector, please check the following article:

    Excel Online (Business) connector

     

     

    Best regards,

    Kris

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow