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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / PDF and Save Microsoft...
Power Automate
Unanswered

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

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

Categories:
I have the same question (0)
  • Verified answer
    eliotcole Profile Picture
    4,363 Moderator on at

    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.

  • VeeLearnMSFT Profile Picture
    508 on at

    Thank you so much. I will try that 🙂

  • automate1231 Profile Picture
    5 on at

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard