cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
boydsi
Level: Powered On

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
Community Support Team
Community Support Team

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
boydsi
Level: Powered On

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

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 252 members 3,426 guests
Please welcome our newest community members: