web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow to join two image...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 353

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¡

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    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

  • Francisco77 Profile Picture
    353 on at

    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,396 Most Valuable Professional on at

    Are the images appearing when the html file is viewed?

     

  • Francisco77 Profile Picture
    353 on at

    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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 432

#2
11manish Profile Picture

11manish 313 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 154

Last 30 days Overall leaderboard