web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow - populate word t...
Power Automate
Unanswered

Flow - populate word template not working - Error executing the api '/api/templates/schema'

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have created a word template (as .docx) with a single plain text control. 

 

I have saved this in OneDrive. But when I try to use the word connector to update the text control, the following error occurs in the flow step: 

 

2019-12-09 10_27_40-FSD - Template.docx - Word.png2019-12-09 10_27_26-Edit your flow _ Microsoft Power Automate.png

Categories:
  • Krishna92 Profile Picture
    Microsoft Employee on at

    @james-matson 

     

    I think you have not selected the right template when creating the word document.

    Please check the thread below for reference regarding the same issue and let me know if that helps.

     

    https://powerusers.microsoft.com/t5/Connecting-To-Data/FLOW-Populate-Word-Template-Error-executing-the-api-api/td-p/308385

     

    If this information helps you, please hit the like button and mark the solution as resolved, so that it will help other users in future.

  • JamesM Profile Picture
    273 on at

    I am using the Developer tab to create the property - is that not correct? See below. It's plain text.

     

    2019-12-09 13_40_55-FSD - Template.docx - Word.png

  • Krishna92 Profile Picture
    Microsoft Employee on at

    @JamesM 

     

    That's the right way to achieve the scenario not sure where it is failing.

    Could you please try removing the Word action card and re-add it again to check if that helps.

     

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @james-matson ,

     

    Did you encounter this error while configuring Populate a Microsoft Word template action?

    When configuring the required parameters of this action, please configure it through the drop-down option or File browse. It is not recommended to manually enter the parameter values.

    Also, please refer to this similar thread and see if it helps:

    https://powerusers.microsoft.com/t5/Building-Flows/Error-Populating-a-word-template/m-p/416304#M47927

     

    Best Regards,

  • JamesM Profile Picture
    273 on at

    Hi all, removing and re-adding the action solved this issue. The flow ran successfully, but when I check the template, the plain text control value remains unchanged. No errors were encountered. Perhaps I'm not understanding how to do this properly? The flow even correctly makes a new copy of the document in OneDrive for Business, but the copied file also remains unchanged (text value is still the template default). 

     

    2019-12-10 09_16_01-Run History _ Microsoft Power Automate.png

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @JamesM ,

     

    Here is no need to configure the Get file content action, you just need to configure Create file action using the Microsoft Word Document output by Populate a Microsoft Word template.

     

    Best Regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard