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 / Add attachment to docu...
Power Automate
Unanswered

Add attachment to document library from SharePoint list

(0) ShareShare
ReportReport
Posted on by 3

I'm running into some issues here and I feel like there's something small I'm missing. I'm making an automated flow that is triggered by an item being created in a SharePoint list, then adds the attachment from that item into a document library. My current steps are:

1. When an item is created

2. Get item

3. Get attachments 

4. Apply to each

 A) Get attachment content
 B) Create file

 

It runs successfully, but the file that gets added to my document library isn't what I add to my list. If I add a PDF to my list, I get a generic file type in the library that can't be opened in any program. Any ideas?

Categories:
I have the same question (0)
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @beard96 

    Here is a sample for your reference

    Create a file in SharePoint for attachments created or modified in a list | Microsoft Power Automate

  • fabtodton40 Profile Picture
    on at

    The URL is broken. Other URL? I have the same question!

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @fabtodton40 

    Try this

    SudeepGhatakNZ_0-1720045513172.png

    SudeepGhatakNZ_1-1720045555473.png

     

     

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