Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Flow to join two images in a PDF from M. Forms

(0) ShareShare
ReportReport
Posted on by 335

Hi Community,

 

Does anyone have an example flow to merge two images uploaded in a Microsoft Forms question into a single PDF?.

 

Thank you very much¡

  • Francisco77 Profile Picture
    335 on at
    Re: Flow to join two images in a PDF from M. Forms

    No, they are not displayed either. When I convert the file to JPG they are displayed, but only one file is displayed, it does not allow me to put them together.

     

    Thanks

  • SudeepGhatakNZ Profile Picture
    14,376 Most Valuable Professional on at
    Re: Flow to join two images in a PDF from M. Forms

    Are the images appearing when the html file is viewed?

     

  • Francisco77 Profile Picture
    335 on at
    Re: Flow to join two images in a PDF from M. Forms

    Hi,

     

    I try first to create an html file, but when converting it to pdf the images are not passed correct.

     

    Francisco77_0-1689821377617.png

    My flow.

     

    Francisco77_1-1689821424160.png

     

     

    Regards,

  • SudeepGhatakNZ Profile Picture
    14,376 Most Valuable Professional on at
    Re: Flow to join two images in a PDF from M. Forms

    Hey  ,You can create an HTML file first using the images being uploaded.

     

    <style>
    table { width: 600px; background-color: #FFFFFF; color: #000000; border-color: #CCCCCC; border-collapse: collapse; }
    th, td { width: 300px; }
    </style>
    <table border="1" cellspacing="0" cellpadding="0">
    <tbody>
    <tr>
    <td>Employee's Name:</td>
    <td>@{outputs('Get_response_details')?['body/r4439fa8a972149d7a914e9d70017ce16']}</td>
    </tr>
    <tr>
    <td>Department/Craft Group</td>
    <td>@{outputs('Get_response_details')?['body/r73892b4ca8e94071bdd8613fda02c8be']}</td>
    </tr>
    <tr>
    <td>Image</td>
    <td><img src="data&colon;image/png;base64,@{outputs('Get_response_details')?['body/r73892b4ca8e94071bdd8613fda02c8be']}" alt="SomeImage" /></td>
    </tr>
    </tbody>
    </table>

     

    You can then convert the HTML file to PDF using the Onedrive - Convert to PDF action

     

    @Francisco77

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >