Notifications
Announcements
I have an excel with few columns and last column is the URL of the SharePoint document, i am able to populate data from Excel to list but also need to add the document as an attachment to the list item which I have in the form of URL.
Hey @Kuldeep0595
Please clarify, " but also need to add the document as an attachment to the list item which I have in the form of URL."
You can use the HTTP action to "Get" the file content and then "Add Attachment" .
For details see - https://parserr.com/support/integrations/ms/download-a-file-from-a-link/
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.
Hi @CFernandes
Thanks for the reply!!
I have added the snapshot of the excel and flow. The second column in excel is document url that i need to add as an attachment.
could you please check.
Excel Snapshot - in this excel there is a column Doc URL which i want add as an attachment to new list itemStep1
Step2
Step3
Step4
Hey @kuldeeps0595
You can use the Solution below. However, we need to pass the LibraryNAme\filename.xlsx to the "Get file Content" action-
Thanks @CFernandes !!
I already tried this, and attachment is getting saved but not able to open the file. error attached
@kuldeeps0595 Can you please share the screenshot of your Power Automate - Also try to HardCode and see if it works - Note -need to pass the "/LibraryNAme/filename.xlsx" in the "FilePath" in your Excel you have Server Relative URL.
Hi @CFernandes,
Get content using path resolved the issue, Thanks for your help.
Thanks!! 🙂
@Kuldeep0595 -Perfect - I had requested you to use "Get File Content as Path action" - https://powerusers.microsoft.com/t5/Building-Flows/Adding-an-attachment-to-new-list-item-using-SharePoint-document/m-p/1960465/highlight/true#M216040
Please mark this as resolved - Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 522 Super User 2025 Season 2
Tomac 364 Moderator
abm abm 243 Most Valuable Professional