Introduction
This article demonstrates how to create a table inside a word file using power automate, SharePoint List, and SharePoint Document Library and save created word files inside SharePoint Document Library. Sometimes we have a requirement to print SharePoint List data or any other data inside the table in a word file. We can archive this requirement using power automate, Word templates, and SharePoint lists also we need a document library for store word templates.
Prerequisite
- Power Automate
- SharePoint List
- SharePoint Document Library
I divide this article into two-part,
- Create Word Template
- Create Power Automate Flow
Create Word Template
Steps to Create Word Template,
Step 1
Open Word then add a two-row table and add a column according to your requirement, I have selected a two-row and three-column table.

Step 2
Add a heading to your table in the first row

Step 3
Got to DEVELOPER tab in the word.

If you don't see the Developer tab then visit this link to display the DEVELOPER tab.
Step 4
Add Plain Text Content Control from the DEVELOPER tab for each column.


Step 5
Change Property of the Control from Control Property Button, first Select Your Control and click on the Property button inside the DEVELOPER tab.

Step 6
Once you click on the Properties button below popup will be open, in this window add Title and Tag then click on the ok button. Repeat these steps for all control.

Step 7
Select the entire row which contains Plain Text content Control and click on the Repeating Section Content Control from the DEVELOPER tab.

Step 8
Once you click, Repeating Section Content Control will be added.

Step 9
Select Repeating Section Content and set the property of the control, same as step 5.

Step 10
Save the Document and upload it to the SharePoint Document Library, which I have created already so I upload the template inside that.


















Justin BouchardPosted Nov 14, 2023, 3:00 PM
I'm using this to bring Excel data to a word document. Everything works as it should except its only showing the first column. The other 8 columns don't show anything. Why would this happen? They all still have the repcontrol enabled
Onesimus AwoniyiPosted May 23, 2023, 11:48 AM
Thank you for sharing this knowledge. I have a similar situation but this time my values in the SharePoint List are multiples, separated by a delimiter; e.g In the List we have John as Student Name, 98; 99 as Math and 95; 90 as science. How do I replace the delimiter with a Line Break in the automation?
Harsh PatelPosted Jul 25, 2022, 7:22 AM
Thanks for sharing harshad!