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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add attachment to docu...
Power Automate
Answered

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?

2.png
3.png
1.png
Categories:
I have the same question (0)
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 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,396 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard