Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Populating word template with Power Automate and the fields are not filled in

(0) ShareShare
ReportReport
Posted on by 71

Hello, 

 

I have a very simple flow to populate a word template built at Opportunity level. I tried with uploading the template both in SharePoint and OneDrive - and the result is the same. 

I am running a cloud flow which gets the records linked to Opportunity, gets the template from SharePoint/OneDrive, then uses the 'Populate Word Template' step, and then creates the file at SharePoint, such that I can access it from my Opportunity record itself. The flow runs fine, creates the document correctly, but when I open the file from Dynamics, the values of the fields do not show up, I only see the schema names. If I look at the file from SP, I can see the content but once I download it, it is back to schema fields. 

 

Am I missing something? The word template literally has only 8-9 plain text fields, no repeating rows, no tables etc. Is there a step that needs to be done before? I have looked through the queries posted here quite a bit, however, I don't think anyone has had this issue, so I am sure I may have overlooked something. 

 

Here is my flow configuration. 

 

AneeqaPervaiz_0-1630645684783.png

 

Any help would be appreciated. 


Thanks.

  • Sameer1216 Profile Picture
    8 on at
    Re: Populating word template with Power Automate and the fields are not filled in

    @AneeqaPervaiz , have you found any workaround the problem you have mentioned? I'm facing same issue.

    Any help would be appreciated.

  • v-jefferni Profile Picture
    on at
    Re: Populating word template with Power Automate and the fields are not filled in

    Hi @AneeqaPervaiz ,

     

    The most incomprehensible point is that the template has been filled and the new document file has been generated successfully but download from the library it will have blank content. I really could not think the reason out of this.

     

    Please test with below:

    1\ Copy the template document to another folder eg a test folder in the shared documents library;

    2\ Modify the flow, locate to the new template, and change the destination of new created docs to a fixed folder in the shared documents library.

    3\ Check the result

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

     

  • Aneeqa Pervaiz Profile Picture
    71 on at
    Re: Populating word template with Power Automate and the fields are not filled in

    Hello, 

     

    Here you go! 

    AneeqaPervaiz_0-1630656590088.png

    Does anything seem amiss here? There are values from Opportunity, Contact, User, and Account entity. 

  • v-jefferni Profile Picture
    on at
    Re: Populating word template with Power Automate and the fields are not filled in

    Hi @AneeqaPervaiz ,

     

    Could you please expand the Populate work template action and let me see the details?

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

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!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow