Site icon @WonderLaura – Laura Rogers

Power Automate: Populating Word Templates in SharePoint

Create files in SharePoint from Word templates and SharePoint data

AUTOMATE word templates

One of the most common automation requests I receive is how to generate formatted documents using SharePoint data. Whether it’s contracts, reports, or internal memos, Power Automate makes it possible to dynamically populate a Word document with data from SharePoint and other sources. In this post, I’ll walk through how to set up Word templates, use the Power Automate Word Template action to fill them in, and even generate PDFs for distribution. I’ve also got an associated video or two at the end, showing my demos of the process.

Use Cases

Here are a few real-world scenarios where this Power Automate word template automation is useful:

What You’ll Need

Before getting started, make sure you have:

Setting Up the Power Automate Word Template

To begin, create a Word document using the desktop version of Microsoft Word (not the web version), and insert placeholders where the dynamic content will go.

Steps:

1. Open Word and create a blank document.

2. Go to Developer Tab (add it via Word settings if you don’t see it).

3. Insert Plain Text Content Controls where data should be inserted.

4. Name each field logically using the Properties button (e.g., ClientName, ReportDate). Here is an example of the status field and typing the name of it using the properties button.

5. Save and upload this template to a SharePoint document library (preferably a secure location where users can’t edit it).

Tip: Avoid using Rich Text Content Controls—Power Automate does not support them.

Building the Power Automate Word Template Flow

Once your template is ready, it’s time to create a Power Automate flow to populate it.

1. Trigger the Flow

Decide how your flow should start. Some common triggers include:

2. Populate the Word Template

You will see Advanced Parameters listed, representing each of the fields that you inserted into the document via the developer tab. The dynamic content that you select here will be inserted into the generated Word doc.

3. Generate the Document

4. Convert to PDF (Optional)

To prevent edits and make sharing easier:

Advanced Features

Repeating Tables 📊

For reports that require dynamic tables, such as expense reports or IT issues:

Image Insertion 🖼️

If you need to insert images (e.g., dynamic logos, signatures, or charts):

Signatures ✒️

Need to include a signature, without high-end 3rd party products?

Troubleshooting & Best Practices

Summary

Automating document generation with Power Automate and SharePoint saves time and ensures consistency across reports, contracts, and other business documents. By using Word templates, you can dynamically insert data, create repeating tables, and even embed images and signatures. If you need more advanced features, consider using Power Apps for input or triggering flows based on user interactions.

Want to learn more? Check out my Power Automate course, where I dive deeper into dynamic document generation and automation! 🚀

These are the free preview modules related to this concept. This is free through the end of March, 2025.

Here is my associated Power Hour video where I demonstrate these concepts and show how to populate a document with fields from a list, generate the document, and save it to SharePoint as a PDF.

As I mentioned in the video, check out the above link to my course, to watch the videos on repeating tables and the Power Apps signature part.

Also, here is another Power Hour, where I taught how to use this Word document template concept to send lovely graphical reports that contain pie charts or bar charts based on your SharePoint data, generated using an Excel script!

Exit mobile version