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 / Merge multiple files i...
Power Automate
Unanswered

Merge multiple files in multiple folders into one file using OneDrive Create a File Action

(0) ShareShare
ReportReport
Posted on by 134

Hello,

 

I'd like to know if there is a way for Power Automate to take multiple files, stored within multiple folders, of a document library, and combine all of those files into one file. Then to take that file and convert it to a PDF? I've done some research and can see how to take one file and use OneDrive's "Create file" action and then convert the file to PDF using OneDrive's "Convert file (Preview)" action. In my case I need to take about 25 separate PowerPoint files and then create one PDF of the slides. I do not have access to premium connectors or have access to Third Party Muhimbi PDF connector. Any help would be greatly appreciated. Thanks.

Categories:
I have the same question (0)
  • Gdarmon Outlook Profile Picture
    372 on at

    Here are the steps you can follow:

    Use the “List files in folder” action to list all the files in the folders you want to merge.
    Use the “Apply to each” action to loop through each file.
    Use the “Get file content” action to get the content of each file.
    Use the “Append to array variable” action to append the content of each file to an array variable.
    Use the “Create file” action to create a new file with the content of the array variable.
    Use the “Convert file (Preview)” action to convert the file to a PDF.

     

    Gill

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard