Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

How to Merge Two HTML Files to One PDF

(0) ShareShare
ReportReport
Posted on 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?

  • 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
    AlexEncodian 4,329 on at
    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
    PabloRoldan 199 on at
    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
    bblake8480 642 on at
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard