logo
search
PDF Conversion Issues

Create a PDF from Microsoft Forms and Email It via Power Automate

Muhammad TalhaMuhammad Talha Oct 23, 2026 870 views

Question details

The user needs to automatically convert Microsoft Forms response data into a PDF file and send it as an email attachment using Power Automate.

Product
Microsoft Forms, Power Automate
Device & OS
not provided
Scenario
Automating the document generation and email notification process for form submissions.
Observed behavior
The user wants to capture submitted form data, generate a formatted PDF document based on those responses, and attach it to an outbound email workflow.
Before you start

Ensure you have an active Microsoft 365 account with permissions to use Power Automate, Microsoft Forms, and OneDrive or SharePoint for file creation and storage.

Solution 1Recommended

Create a Power Automate Flow to Convert Forms to PDF

Use a step-by-step Power Automate workflow to capture the form response, format it as an HTML file, convert it to PDF, and send it via Outlook.

Power Automate cannot directly convert raw form fields into a PDF document. You must first map the form data into a temporary file format, such as an HTML file or a Word template, before using the OneDrive or SharePoint conversion actions to create the final PDF document.

1
Set Up the Form Trigger

In Power Automate, create an automated cloud flow. Search for Microsoft Forms and add the 'When a new response is submitted' trigger. Select your form from the Form Id dropdown menu.

2
Retrieve the Response Details

Add a new step and search for 'Get response details'. Select the same Form Id as the trigger, and map the Response Id field using the dynamic content provided by the trigger.

3
Create a Temporary HTML File

Add the OneDrive for Business 'Create file' action. Choose a folder path, name the file with an '.html' extension, and in the File Content field, write basic HTML to structure your document while inserting dynamic form response fields where needed.

4
Convert the File to PDF

Add the OneDrive for Business 'Convert file' action. Select the dynamic 'Id' from the previous 'Create file' step, and set the Target type to PDF.

5
Send the PDF via Email

Add the 'Send an email (V2)' action from the Office 365 Outlook connector. Enter the recipient details. Under advanced options or attachments, set the Attachment Name to your desired filename ending in '.pdf', and set the Attachment Content to the dynamic 'File content' from the 'Convert file' step.

Create a Power Automate Flow to Convert Forms to PDF
Community Support: If you require specific HTML formatting templates or encounter advanced layout issues, the Microsoft Power Platform Community forums provide excellent examples and troubleshooting resources.
Free Microsoft Office alternative

Edit and Manage Your Exported PDFs with WPS Office

While Power Automate handles the cloud automation of your Microsoft Forms, you may need a reliable local suite to design your initial document templates or review the generated PDF files. WPS Office is a free, lightweight suite that offers robust PDF editing and seamless compatibility with Microsoft Word formats.

  1. 1. Download and Install WPS Office: Visit the official WPS Office website to download the free installation package for your operating system.
  2. 2. Open Your Document Templates: Launch WPS Office and open any Word documents or HTML templates you plan to use in your Power Automate flows.
  3. 3. Review and Edit Generated PDFs: Use the dedicated PDF tab in WPS Office to open, review, or annotate the PDF attachments generated by your automated workflows.
Fully compatible with Microsoft Word (.docx) and PDF formats.Lightweight software that runs smoothly on Windows, Mac, and Linux.Built-in PDF toolkit to edit, annotate, and compress your generated form responses.Free to download with a familiar, easy-to-use interface.
QA img-9

Frequently Asked Questions

Can I convert Microsoft Forms directly to PDF without creating an HTML or Word file first?

No, Power Automate does not have a native 'Forms to PDF' action. You must first generate an intermediate file, such as an HTML document or a populated Word template, before converting it to PDF.

Why are my PDF attachments corrupted or unreadable when emailed?

This usually happens if you pass the file path or ID instead of the actual file binary into the email attachment field. Ensure you select the dynamic content named 'File Content' specifically from the 'Convert file' step.

Is a premium Power Automate license required to convert files to PDF?

No, the standard OneDrive for Business 'Convert file' action can convert HTML or plain text files to PDF without requiring a premium license. However, utilizing the 'Populate a Microsoft Word template' action does require a premium license.

How do I format the layout of the generated PDF?

You can format the layout by writing standard HTML code (such as tables, headers, and paragraph tags) directly within the 'Create file' step where you place the Microsoft Forms dynamic content.