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

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Populate a Word Template using data from an Excel Table

(0) ShareShare
ReportReport
Posted on by 4
You would think this is about as simple as it gets. I am able to drop the excel and word documents into M365 CoPilot and it generates a new word document with the desired outcome. when using the same files in Power Automate, I either get an error concerning hexadecimal value 0x03, is an invalid character or error that the Word document does not contain content controls. the Word document does contain content controls and the excel file is as basic as it gets. 
 
I've tried Power Apps and Prompts to no avail as well. 
 
I imagine the issue is basic but through all the forums, training modules, and CoPilot assistance I'm not finding a solution. 
I have the same question (0)
  • Tomac Profile Picture
    3,181 Moderator on at
    Populate a Word Template using data from an Excel Table
    Power Automate does not support Rich Text or Image content controls. Basically only Plain Text content controls.
     
    Are you using the correct content controls in your template?
     
    Please copy/paste screenshots of the errors you're getting into a comment here so we can better see what's happening. It will also help to see screenshots of the relevant actions in edit mode. Feel free to blank out any company information.
  • RS-20111456-0 Profile Picture
    4 on at
    Populate a Word Template using data from an Excel Table
    thank you for the response.
     
    i've tried several flow options and here are two examples of the errors. 
     
    i am using Plain Text for the controls. 
  • Suggested answer
    Tomac Profile Picture
    3,181 Moderator on at
    Populate a Word Template using data from an Excel Table
    Thanks for those.
     
    For the invalid character error, it looks like you're using a character that's outside of Word's default unicode support. From the official documentation:
    This specific character appears to be an "end of text" control character. You can remove it from the string by using this expression:
    replace(<your source string dynamic content>, decodeUriComponent('%03'), '')
     
    As for the second error about no content controls, this looks like it's targeting a different Word file from the first. Without seeing that specific document I'll be unable to help further on that one.
     
     
  • RS-20111456-0 Profile Picture
    4 on at
    Populate a Word Template using data from an Excel Table
    thank you for the input. i'll try that update.
     
    here is the Word doc I'm using for testing the flow.
  • Suggested answer
    Tomac Profile Picture
    3,181 Moderator on at
    Populate a Word Template using data from an Excel Table
     
    The doc looks good. I'd suggest uploading it to a different folder and changing the Populate action to target the newly uploaded document. If that doesn't work, remove the Populate action and add it in fresh.

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 545 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 408 Moderator

#3
chiaraalina Profile Picture

chiaraalina 262

Last 30 days Overall leaderboard