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 / How to create file in ...
Power Automate
Answered

How to create file in another folder after approval from attached ms list files

(0) ShareShare
ReportReport
Posted on by 117

Hi all, 

 

I have an approval flow whereby:

1. user submit the information and files via MS list

2. after manager approves, i want the file to be copied into another folder

 

below is my flow, the first part is working well on adding the file as an attachment for approval

approval is also working as intended

but when it comes to the create files, the file name and content didnt turn out as expected (as an excel file)

 

appreciate if you have a solution on how can i get the create file to work properly

 

AndyYWS_0-1705545230791.png

AndyYWS_1-1705545322991.png

 

 

Categories:
  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @AndyYWS ,

    Please add a 'Get attachment content' control to your 'Apply to each 2' loop.

    I did a test for your reference

    In my scenario:

    vyetonggumsft_1-1705546852191.png

    Best Regards,

    Sunshine Gu

     

     

  • AndyYWS Profile Picture
    117 on at

    Hi @v-yetonggu-msft , thank you for the quick response

     

    Can i ask a further question, i added a manual name to the file as needed, how can i create the extension dynamically? e.g., xlsx, docx based on what was uploaded?

    AndyYWS_1-1705548380607.png

     

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @AndyYWS ,

    I tested it here.

    You can customize the name of the file. The premise is that you add the correct file suffix, such as docx, xlsx, pdf, and it will not cause the file content to be damaged.

    There is no problem.

    vyetonggumsft_0-1705548905733.png

    vyetonggumsft_2-1705549067210.png

    Best Regards,

    Sunshine Gu

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
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard