Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ZveTiS8te/qRNdd22LrYso
Power Automate - General Discussion
Unanswered

Automation in populating word template with the extracted information from a document

Like (0) ShareShare
ReportReport
Posted on 6 Jul 2023 23:08:41 by

Hi all,

I've been looking at Power Automate if it is capable of such:

  • Extracting information from a document
  • use that extracted information to populate word template (ex. week status report template, project management plan template)
  • and ability to keep the word template updated if there are changes or updates

This is the simplest way i can put it. I will greatly appreciate yall help.

Mahalo!

  • SudeepGhatakNZ Profile Picture
    14,318 Most Valuable Professional on 07 Jul 2023 at 01:37:26
    Re: Automation in populating word template with the extracted information from a document

    @JO443  ,It is hard to advise without looking at your source and output documents.

    But the general idea is that once you get the JSON data, like below

    [
     "How to extract ",
     "text ",
     "from a Microsoft Word docx file",
     ".",
     "This document explains how to extract text from a Microsoft Word document using standard Power Automate actions. The result isn’t perfect, but it should be good enough for basic usage."
    ]

    you could then use the Populate Word Template action to populate the relevant fields by parsing the array variable after some string manipulation.

    How To Populate a Word Document Template with Power Automate (citizendevelopmentacademy.com)

     

    The option suggested by @Mira_Ghaly  is also a good one. It is useful if you have documents that are of similar format (such as invoices) that could be used to train a recognition model, which can extract relevant content by comparing your document against the model. You need a separate AI builder license for it though.

     

  • Community Power Platform Member Profile Picture
    on 07 Jul 2023 at 01:00:51
    Re: Automation in populating word template with the extracted information from a document

    Sorry, if im misunderstanding something.

    So after the information is extracted from a document using power automate, how can i use the extracted information (which i assume will be in JSON format) to populate a word template? 

    Thanks

  • Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on 06 Jul 2023 at 23:44:30
    Re: Automation in populating word template with the extracted information from a document

    @JO443 

    Power automate can do this with the help of AI Builder custom models and using the Predict Action in Power automate you can achieve what you want.

     

    Some Links that would help you:

    https://learn.microsoft.com/en-us/power-automate/use-ai-builder

     

  • SudeepGhatakNZ Profile Picture
    14,318 Most Valuable Professional on 06 Jul 2023 at 23:30:28
    Re: Automation in populating word template with the extracted information from a document

    @JO443 ,

     

    Depends on the format of your documents.

    If these are word documents you could follow the steps here to extract content.

    Extract text from Word docx files with Power Automate (tachytelic.net)

    If you are looking for a simpler way (use encodian actions). Encodian supports PDFs as well.

    Extract data from documents with Microsoft Flow - Power Platform Community

     

    Populating the word document with content can be achieved using 

    Quickparts (free option)

    Power Automate & Quick Parts - @WonderLaura

    or using premium connectors like (Populate Word Template or Encodian actions)

     

    Quickparts rely on SharePoint fields so if the underlying data changes, the documents update automatically.

    The other way is re-generate the documents based on a trigger. Hope that helps!

     

    How To Populate a Word Document Template with Power Automate (citizendevelopmentacademy.com)

    Populate a Word or PDF Document using Power Automate V2 (encodian.com)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
rpersad Profile Picture

rpersad 16

#2
David_MA Profile Picture

David_MA 10 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

Overall leaderboard
Loading started