The easiest way to do this in Power Automate Desktop would be to create an Excel template file that your flow would fill in with values automatically using the Excel actions, and then use VBscript/PowerShell or a macro to convert the Excel file into a PDF file. This is quite simple to implement.
This would work if you do not need a very dynamic number of pages. If you know that you will always need either 1 or 2 pages, you can build 2 templates and use the one you need, depending on how many items you need to fit into the file. If you need it more dynamically, then I would suggest having one template for a single-page PDF file, but then making several PDF files per case and merging them when done.
Alternatively, you could also build an HTML file and then use scripting in combination with a browser to "print" it to PDF. That is more complex to implement, though.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.