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 Automate
Answered

PDF Merge Sequence

(0) ShareShare
ReportReport
Posted on by 231
 I have a folder which contains 3 files, which are required to merged. 
They are named as  "A", "B" and "C"
I want to merge them into a single PDF file with sequence as A-B-C. However, the merger of PDFs takes place arbitrarily by Power Automate and i get the merger as B-A-C.
Any solution to this problem, please let me know.
I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Could you try adding sufficient Waits between the files and check again.

  • SA_VOH Profile Picture
    231 on at

    Hi VJR,

    Didn't understood your solution. How can i introduce waits through PAD.

    Any screenshot or 1 line code will help.

  • VJR Profile Picture
    7,635 on at

    Check to see if the same issue explained in this video works out in your case.

    Merging PDFs with Power Automate Desktop - YouTube

     

  • SA_VOH Profile Picture
    231 on at

    Hi VJR,

    I tried the solution as provided in the Youtube video and marked my PDFs as 1,2,3 etc. Yes it merged very well in sequence but in descending order ie. 3,2,1. There lies the problem.

    Another issue is that whenever numbering extends beyond 10, as shown in the video and solution was not provided for the same.

  • Verified answer
    VJR Profile Picture
    7,635 on at

    When tried to add 1,2,3 it merged them as 3,2,1 for me too like you said. This could be a bug in PAD.

     

    But then if you use "reverse list" it merges them properly in 1,2,3.

    Here the catch is that it is a Text based sorting and not number based so this will cause issues for 1 and 10. How do your file names look like? 

    Also, you have three files in your original post. Would you be reaching till 10?

     

    On the other hand, do you know the order that it should merge? If so you can dynamically create your own text variable in the desired order and pass it to the PDF Files parameter separated by comma. You will have to generate the string in reverse order so that it prints in the correct order.

    Or create a List in the reverse order so that it prints in the right order.

     

     

    VJR_1-1654834354172.png

  • SA_VOH Profile Picture
    231 on at

    I accepted your solution, as by reversing the list it works.

    but following points are to be noted:-

    1. My files were not numbered 1,2,3 and so on. These have have general names with no sequencing. After watching Youtube video prescribed by you, i thought to label it and thus numbered them to get a proper merge sequence.

    2. I can select the files as instructed through image, the problem is that, even though i am selecting the proper order, the sequencing automatically gets distorted at File pick-upstage itself. Moreover if i have to manully pickup the files, i will better look at other options like using www.ilovepdf.com.

    Regards,

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 523

#2
Valantis Profile Picture

Valantis 318

#3
David_MA Profile Picture

David_MA 235 Super User 2026 Season 1

Last 30 days Overall leaderboard