cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (10,923)