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 / Completed Quiz in Form...
Power Automate
Unanswered

Completed Quiz in Forms into a word doc or pdf

(0) ShareShare
ReportReport
Posted on by

 I am a schoolteacher and have been using forms to make quizzes for my students.  

I have been unsuccessfully trying to make a flow to turn their completed forms into a pdf or word document that can then be emailed to them to use for revision for retakes, larger tests, or for final examinations.  

the document would basically be the ‘view responses’ page but without me having to go into each response individually, go to print page and then save it as a pdf.  I want this to happen automatically and I can collect the PDFs (or word docs) from one place.  Meaning they could be emailed to me.  Or even emailed directly to the student who completed the quiz.

 

even better, this feedback would be able to be placed into Microsoft OneNote but I think that may be a step too far.  If it can be emailed then at least I or the student can manually place the completed sheet into OneNote 

 

I am quite a basic user of IT so please excuse my ignorance!  

many thanks in advance 

Categories:
I have the same question (0)
  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @ReLee 

     

    A series of education specific templates are published here https://us.flow.microsoft.com/en-us/collections/education/

     

    Creating a PDF might potentially be a premium feature but with the basic functionality you should be able to get response details and email the original user who completed the form.

     

    You would need to start with 

    DamoBird365_0-1615447302665.png

     

    You could save to onenote using the various actions here BUT saving to specific onenotes won't be easy - assuming each child has their own?

    DamoBird365_1-1615447344021.png

     

    Email would just be a case of:

    DamoBird365_2-1615447597708.png

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


     

     

     

  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @ReLee,

     

    So you want to convert the MS Form response to PDF and email it to the student, please follow these steps to built your Flow:

    1. Create a trigger When a new response is submitted, and get response details;

    2. Create an HTML file in OneDrive, then copy the below HTML code and paste them into the File content parameter, then put the dynamic content of MS Form into the <td> tag;

    3. Convert the HTML to PDF;

    4. Send the PDF to Form responder.

    Method resource:

    Power Automate solution to Convert Microsoft Forms to Word – Cloud Infrastructure Blogs (wordpress.com)

    <!DOCTYPE html>
    <html>
    <head>
    <style>
    table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    }
    
    td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
    }
    </style>
    </head>
    <body>
    
    <h2>Response Details</h2>
    
    <table>
    <tr>
    <th>Email of responder</th>
    <th>Question1</th>
    <th>Question2</th>
    </tr>
    
    <tr>
    <td><!DOCTYPE html>
    <html>
    <head>
    <style>
    table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    }
    
    td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
    }
    </style>
    </head>
    <body>
    
    <h2>Response Details</h2>
    
    <table>
    <tr>
    <th>Email of responder</th>
    <th>Question1</th>
    <th>Question2</th>
    </tr>
    
    <tr>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    </table>
    
    </body>
    </html></td>
    <td></td>
    <td></td>
    </tr>
    </table>
    
    </body>
    </html>

    Screenshot 2021-03-11 152722.jpg

     

    Screenshot 2021-03-11 152746.jpg

     

    Screenshot 2021-03-11 152819.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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