@Anonymous
Hello Andrew, I will explain by splitting your task into two parts.
1) Get content of all PDFs attempting to merge
2) Merge PDFs
1) Get content of all PDFs attempting to merge
a) Using the "List folder" action of the SharePoint connector, get an array of content inside the library.
This requires setting the site address and the file path to the SharePoint Library.
b) Using the "Filter array" action of the Data Operation connector, filter down the array of content to PDF files' paths only. This requires setting the input to the "body" of the array of content and setting the filter condition to the extension to equal "pdf".
c) Using the "Get file metadata using path” action of the SharePoint connector, get the metadata of all PDF files attempting to merge. This requires setting the site address and the file path to each PDF file.
2) Merge PDFs
@CFernandes has made an excellent explanation for merging PDFs here: Merge SharePoint documents using Microsoft Flow or... - Power Platform Community
Please accept this as a solution if solved. Provide copies of any error messages and/or unclear points if not.
All the best