Best Way to Collect Data and Populate a Word Template
Question details
The user wants to create an automated solution to gather data from users, perform calculations on that data, fill a structured Word document, and save the generated file to SharePoint.

- Product
- Power Automate / Microsoft Word
- Device & OS
- not provided
- Scenario
- Automating standard document creation by capturing user input through digital forms and mapping it into a predefined Word template.
- Observed behavior
- Needs the optimal workflow and tool combination (such as Forms, SharePoint, and Power Automate) to successfully pass calculated data into Word document fields.
Verify that your Microsoft 365 account has access to premium Power Automate connectors, as the 'Populate a Microsoft Word template' action requires a premium license. You must also prepare your Word document by inserting Plain Text Content Controls from the Developer tab.
Use Microsoft Forms and Power Automate Word Connector
This is the most straightforward method for collecting external or internal data and automatically mapping it to a Word document template.
Microsoft Forms provides an intuitive interface for data collection. By integrating it with Power Automate, you can trigger a flow every time a form is submitted, map the form responses to your Word template, and save the resulting file directly to SharePoint.
Open your template in Word. Enable the Developer tab, place your cursor where data should appear, and click 'Plain Text Content Control'. Repeat this for all required fields, then save the document to SharePoint or OneDrive.
Go to Microsoft Forms and create a new form. Add fields (text, date, numbers) that correspond to the Content Controls you added to your Word template.
In Power Automate, create an Automated Cloud Flow. Choose the trigger 'When a new response is submitted' and select your newly created Microsoft Form.
Add the 'Get response details' action. If you need calculations, add a 'Compose' action and use Power Automate expressions (e.g., multiply or add variables) to calculate the final values.
Add the 'Populate a Microsoft Word template' premium action. Select your saved Word template from SharePoint. The action will dynamically list your Content Controls; map these to the dynamic content from your Form and Compose actions.
Add a 'Create file' action for SharePoint. Define the destination folder, dynamically name the file (e.g., using the respondent's name), and set the file content to the output from the Populate Word action.

Use SharePoint Lists or Power Apps for Advanced Data
Ideal for complex workflows where data needs to be validated, edited by multiple people, or heavily calculated before generating the Word document.
Design and Edit Word Templates Easily with WPS Office
If you are looking for a cost-effective way to design, manage, and print structured Word document templates without paying for expensive premium licenses, WPS Office is an excellent alternative. It provides a robust, user-friendly Word processor that fully supports .docx files, content controls, and advanced formatting.

Frequently Asked Questions
Do I need a premium license to populate a Word template in Power Automate?
Yes, the 'Populate a Microsoft Word template' action utilizes the Word Online (Business) connector, which is designated as a premium connector in Power Automate. You will need an appropriate premium license to run this flow.
How do I prepare my Word document to act as a template?
You need to enable the Developer tab in Microsoft Word. From there, insert 'Plain Text Content Controls' into the document wherever you want dynamic data to be inserted by Power Automate. Avoid using Rich Text Content Controls as they are not fully supported by the automation connector.
Can I perform mathematical calculations on the collected data before filling the template?
Yes. Within Power Automate, you can use the 'Compose' action along with built-in expression functions (like add, sub, mul, div) to calculate values from your form data before mapping those results to the Word template.
How do I add repetitive data like a table to my Word template?
To populate tables dynamically, insert a 'Repeating Section Content Control' around a single row in your Word template, and place 'Plain Text Content Controls' inside the cells. In Power Automate, you can pass an array of data (like items from a SharePoint list) into this repeating section.




