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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Links in Excel [to doc...
Power Automate
Unanswered

Links in Excel [to documents within folders] to be extracted into a MS List

(2) ShareShare
ReportReport
Posted on by 9
Dear Team,
 
I have a rather large excel spreadsheet and on each row there is a cell with a link to a supporting document. These documents are located within a few select folders. This is not efficient as the links have to be manually created and the sheet cannot be moved etc. This is in a SharePoint environment and the folders with the documents are in the file structure, also within SharePoint. 
 
I would like to import the sheet into a MS list.
The link in each row should be used by PowerAutomate to pull the linked document and add as an attachment into the new MS List.
 
Does anyone know if this can be done and point me in the right direction?
Maybe I create the MS List first then run PA over the excelo sheet identifying the links to add the docs? Not sure....
Thanks in advance.
 
GC
 
 
Categories:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,329 Super User 2025 Season 2 on at
     
    So you have an excel file, with a lot of rows and one column with a hyperlink to a supporting document.
     
    Just for clarification as the term is overused (in general not by you) what is an MS List to you?
    A SharePoint List, A pure MS List, what?
     
    The answer however is yes. Now I am going to assume you mean a SharePoint list.
     
    1. You would Schedule to flow to run ever so often
    2. You would have a row in the Excel that represents your unique id for that row
    3. You would use List Rows Present in a Table, to loop through all the rows
    4. You would check first to see if that row already exists, just in case of updates
    4a. If it does NOT exist, in the No Side you would:
    ----Grab the Data and put it into the list
    ----Grab the Link to the file
    -------Grab the File Content using the Link from the previous step
    -------You would use the Add Attachment Action OR you may need to use the HTTP SharePoint Action if its a large attachment.
    ---------Personally I would have a row in the Excel that is simply an "Imported Status" where after you did the previous steps of creating the row
                  and adding the attachments, you would update the Row to let everyone know it was completed.
                  This would allow you to write the SharePoint List Row ID value into the Excel so now you have them linked both by the Excel unique row id AND the
                   new ID from creating the record.
     
    That is how I would do it. I believe this should answer your question and if so, if you could Mark as Such and Maybe a Like.
     
    If you have specific questions as you build it, I'd suggest adding a new question, link to this question and feel free to "At" me or whomever so we can review and help you get it correct :-)
     
    Cheers!
  • CU09050642-0 Profile Picture
    9 on at
    Thanks for the prompt reply, I will give it a go and reach out as suggested.
     
    I was referring to a SharePoint List. I plan to run this PA once and then start using the List from that point on. In fact,  I will create a Form and PA the submissions in, ongoing.  I can do that. 
     
    Cheers.  

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard