1. Home
  2. Guides
  3. Power Automate
  4. How to turn Microsoft Forms responses into PDFs and email them automatically
Power Automate

How to turn Microsoft Forms responses into PDFs and email them automatically

Build a Power Automate flow that turns each Microsoft Forms response into a formatted PDF, saves it in OneDrive and emails it as an attachment. It works with standard connectors only.

  • By Nur Islam
  • 15:46 video
  • 10 steps
  • 2.9K views
Jump to a step (10)
Who this is for

Forms stores answers in a list or an Excel sheet, but managers, clients and auditors often want a document they can file or forward. People end up copying answers into Word and exporting PDFs by hand for every job application, intake form or inspection report.

Power Automate has no simple free action that turns form answers into a professional PDF, so this flow takes a few steps. A Compose action places the answers into an HTML template, OneDrive saves it as a real HTML file, the OneDrive Convert file action turns it into a PDF, and Outlook sends the PDF as an attachment.

I use a five-question job application form as the example, and ChatGPT writes the HTML template so you do not have to write HTML by hand.

What you need

  • Microsoft 365 Business Basic or Standard (no SharePoint, no premium connectors)
  • A Microsoft Form (the demo has Name, Email, Position Applied For, Years of Experience and Why Us)
  • OneDrive for Business with two folders, one for HTML files and one for PDF files
  • ChatGPT or another AI tool to generate the HTML template
  • An Outlook mailbox to send the PDF

Step by step

0 of 10 done
  1. 01

    Create the automated cloud flow

    In Power Automate select Create > Automated cloud flow. Name it (the demo uses Job Application PDF), search for Forms, choose When a new response is submitted and select Create. Pick your form in Form Id.

  2. 02

    Get the response details

    The trigger only gives you the response ID, not the answers. Add the Microsoft Forms action Get response details, select the same form and set Response Id to the Response Id from the trigger. Now every answer is available as dynamic content.

  3. 03

    Generate a PDF-friendly HTML template with AI

    Ask ChatGPT (or any AI tool) for a PDF-friendly HTML template for Power Automate, not a normal web page. The prompt asks for simple inline CSS, standard fonts like Aptos, and a table-based layout instead of flexbox or grid, because OneDrive's converter handles simple document-style HTML best. Include a placeholder for each form field.

    Before using it, paste the code into a text file, save it as pdf.html and open it in a browser to preview the layout.

  4. 04

    Add the HTML to a Compose action

    Add a Compose action, rename it Convert to HTML and paste the code into Inputs. Find each placeholder (name, email, position applied for, years of experience, why us), delete it, type /, choose Insert dynamic content and pick the matching answer from Get response details.

  5. 05

    Save the HTML as a file in OneDrive

    Add Create file from OneDrive for Business and rename it Create HTML file. Set Folder Path to your HTML files folder (the demo uses Job Application PDF/HTML Files).

    For File Name type Job Application-, add Position Applied For, a dash, the Submission time (under See more in Get response details) and end with .html. Set File Content to the outputs of Convert to HTML.

    The Convert file action needs a real file. It cannot read from Compose directly.

  6. 06

    Add a short Delay

    Add a Delay action with Count 10 and Unit Second. If you convert a file right after creating it, the flow can fail because OneDrive is not ready yet. The delay makes the flow reliable.

  7. 07

    Convert the HTML file to PDF

    Add the OneDrive for Business action Convert file and rename it Convert to PDF. Set File to the Id from Create HTML file. Target type is already PDF. The PDF now exists in the flow but is not saved yet.

  8. 08

    Save the PDF in OneDrive

    Add another Create file, rename it Save PDF file and choose your PDF files folder. Use the same naming pattern: Job Application-, the position, the applicant name and the submission time, separated by dashes, ending in .pdf. Set File Content to the File Content from Convert to PDF.

  9. 09

    Email the PDF as an attachment

    Add Send an email (V2) from Office 365 Outlook. Enter your address in To, a subject like New Job Application Received - <Position> - <Name>, and a short body saying the application summary PDF is attached.

    Under Advanced parameters add Attachments. For Name use the file name from Convert to PDF and type .pdf after it, because that file name has no extension. For Content pick the File Content from Convert to PDF.

    To send a copy to the applicant too, add a second email action using the Email answer from the form.

  10. 10

    Test the flow and tidy the template

    Save, select Test > Manually, and submit a test response. Check that every action succeeds, open the PDF in OneDrive and check the email attachment.

    If the PDF shows stray text that the AI added to the template (in the demo, extra lines at the top and bottom), delete it from the Compose action. Optionally add a OneDrive Delete file action to remove the temporary HTML file.

Tips and common problems

  • Convert file cannot read HTML from a Compose action. Save the HTML to OneDrive with Create file first, then convert that file.
  • Add a 10 second Delay between Create file and Convert file. Converting immediately can fail because OneDrive has not finished saving the file.
  • The file name from Convert file has no extension. Type .pdf after it in the attachment name or the recipient gets a file that will not open as a PDF.
  • Ask the AI for inline CSS, standard fonts and table-based layout. Flexbox and grid do not convert well to PDF.
  • Preview the AI's HTML in a browser before pasting it into Power Automate, and remove any extra text the AI invented.
Still stuck? Ask AI to help you fix itChatGPTClaudeGeminiCopilotPerplexityGrok

Questions

How do I convert Microsoft Forms responses to PDF without SharePoint?

Put the answers into an HTML template in a Compose action, save it to OneDrive for Business with Create file, then use the OneDrive Convert file action with target type PDF. Everything stays in OneDrive.

Can I convert HTML to PDF in Power Automate without a premium connector?

Yes. The OneDrive for Business Convert file action is a standard action and converts an HTML file stored in OneDrive to PDF.

Why does Convert file fail right after Create file?

OneDrive may not have finished saving the new file. A Delay of about 10 seconds between the two actions fixes it.

Can I send the PDF to the person who filled in the form?

Yes. Add another Send an email (V2) action and put the Email answer from Get response details in the To field, with the same PDF attachment.

Video chapters
Ask a question in the comments Last checked 26 Sep 2026. Screens change: if a step looks different, tell me in the comments.