Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 5QAd522xAM8hPXnux0PbQB
Power Automate - Building Flows
Answered

PDF and Save Microsoft Form Questions and Answers Response to SharePoint Site

Like (0) ShareShare
ReportReport
Posted on 11 Jun 2022 10:30:51 by 508

Hi All, I would like to PDF each form that is submitted to SharePoint can someone please assist with how do I go about accompolishing this?

 

Thank you.

  • automate1231 Profile Picture
    5 on 17 Nov 2023 at 14:41:29
    Re: PDF and Save Microsoft Form Questions and Answers Response to SharePoint Site

    For longer forms, this works beautifully. Be careful with your code, newbies! I missed a few </tr>s and it messed up my PDF.

  • VeeLearnMSFT Profile Picture
    508 on 11 Jun 2022 at 16:26:10
    Re: PDF and Save Microsoft Form Questions and Answers Response to SharePoint Site

    Thank you so much. I will try that 🙂

  • Verified answer
    eliotcole Profile Picture
    4,218 Super User 2025 Season 1 on 11 Jun 2022 at 15:49:03
    Re: PDF and Save Microsoft Form Questions and Answers Response to SharePoint Site

    Hi, @VeeLearnMSFT ... not going to go super deep on this, as you'll get it as soon as you try some test events:

    When a new response is submitted - This triggers on a new submission

    1. Get response details - This gets the details of the form
    2. Compose - Build an HTML page of what you want
    3. Create file - Make a literal HTML file from the above
    4. Convert file - Convert this into a PDF
    5. Create file 2 - Make a literal PDF file from the above
    6. Delete file - Delete the HTML file that was made
    7. Further logic

    The above would fit in to whatever flow that you already have to point your Microsoft Form's entries into the SharePoint list.

     

    Here's a VERY rough example of the last parts of that in action:

    make a PDF.jpg

     

    The result:

    result.jpg

    The Compose action should be reasonably customisable if you can work out what HTML is allowed in the conversion process. 🙂

     

    However, you could replace the first 3 stages with a new SharePoint item trigger, and make an HTML table action the next one, put that in a page, and do the file stages.

     

    At the end you choose what to do with the PDF, where to send it, save it, whatever, then you can delete that, too.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 39

#2
Churchy Profile Picture

Churchy 20

#3
Chriddle Profile Picture

Chriddle 19 Super User 2025 Season 1

Overall leaderboard
Loading started