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 / Get attachment content...
Power Automate
Answered

Get attachment content output files to be saved in document library without file extension

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, appreciate any help...

My flow is working fine but the saved file in the document library without extension, i need it to be saved like it is attached "doc or pdf"

my flow created to get the attachment from SharePoint list and the below screenshot for the loop "Apply to each"

social status flow2.png

social status flow.png

Categories:
  • rebeccas Profile Picture
    2,591 on at

    If you know what it will be you can just add a .pdf at the end of the file name. If you do not (it may vary) then above your 'Get attachment content' add in a 'Get attachment' and that will allow you to select the file name from there.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @rebeccas  Thanks for your idea, i'm already using the get attachment, i added full screenshot for the flow

    can you please tell me where is the missing point!!

  • Verified answer
    rebeccas Profile Picture
    2,591 on at

    Okay...you should be able to click in the file name one called DisplayName (which would be the file name). It will be available in the Dynamic Content and you are selecting it from you Get attachments. See below:

     

    image.png

     

    Let me know if you still have trouble with it.

     

    That is what you would select if you want to just keep the File Name that was already used. If you do not and want to change the name to something different let me know and I have one I do that for also. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard