cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate II
Advocate II

Get email address from an excel file stored in SharePoint Online

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?

2 REPLIES 2
Highlighted
Community Support
Community Support

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

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Advocate II
Advocate II

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.    

 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (7,773)