Skip to main content

Notifications

Community site session details

Community site session details

Session Id : HR8de8QIwvywVlyUqLrCsg
Power Automate - General Discussion
Unanswered

How to Merge Two HTML Files to One PDF

Like (0) ShareShare
ReportReport
Posted on 26 Mar 2024 14:46:39 by

I have a Power App that grabs a peninput (signature) and creates an HTML file which then converts to PDF. I also have an existing PDF that I essentially want to add this signature to the end of. 

 

So I thought I'd convert the PDF to HTML and somehow concatenate them into one PDF file but it's not quite working for me.

 

Is there perhaps an easier way to append a PDF to the end of an existing PDF, or to append HTML to the end of an existing HTML file and then convert to PDF?

  • PatrickMcLeanGL Profile Picture
    on 28 Mar 2024 at 13:32:17
    Re: How to Merge Two HTML Files to One PDF

    Ya I ended up using Encodian, but was hoping there was some other way as I don't want to pay $50/mo just to merge pdfs (I will be merging more than 50/mo that the free plan offers).

  • AlexEncodian Profile Picture
    4,392 Super User 2025 Season 1 on 28 Mar 2024 at 12:39:50
    Re: How to Merge Two HTML Files to One PDF

    @PatrickMcLeanGL 

     

    Encodian has several actions that could help if you want the two files on separate pages:

    Insert HTML to PDF

    Merge documents to PDF – Encodian Customer Help

    Merge document array to PDF – Encodian Customer Help

     

    If you want to add the signature onto an existing page in the PDF, you could use:

    Add Image Watermark to PDF (Advanced) (choose exact location and add signature watermark)

    Replace Text with Image (create text signature placeholder)

    Add HTML Header or Footer to PDF (add signature into footer)

    Sign PDF (add digital certification to PDF and include a picture signature)

  • PabloRoldan Profile Picture
    199 on 26 Mar 2024 at 16:08:34
    Re: How to Merge Two HTML Files to One PDF

    Hi @PatrickMcLeanGL , Indeed in PAF you will need either 3rd party connector(license/key) or custom API that you need to develop and host it somewhere and call it from Power Automate.

     

    If the template(PDF) is not complex and you think that you can replicate it word .docx file you can create for a template then convert it as PDF...

    PabloRoldan_0-1711469211298.png

     

    PabloRoldan_1-1711469240708.png

    PabloRoldan_2-1711469306435.png

     

     

    regards,

  • bblake8480 Profile Picture
    642 Most Valuable Professional on 26 Mar 2024 at 15:01:52
    Re: How to Merge Two HTML Files to One PDF

    This can be done easily with Power Automate Desktop. It has a built in action to combine two PDF files into a single file. However, I don't think this can be done in Power Automate cloud without using a 3rd party connector that will probably require a separate subscription.

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,440 Most Valuable Professional

Leaderboard
Loading started