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 / Populate Word Template...
Power Automate
Suggested Answer

Populate Word Template with Rich Text in Coplito Studio - Agent Flows

(1) ShareShare
ReportReport
Posted on by 2

I have an agent created in Copilot Studio that operates based on topics. At a certain point, it uses the Create Generative Answers action to generate content, and then calls an agent flow to populate a Word template using the Populate a Microsoft Word Template action.

The flow works well overall, but I’ve encountered a limitation: the Word control fields in the template do not support rich text formatting when populated. Even if the generated content includes formatting (e.g., bold, bullet points, line breaks), only plain text is inserted into the Word document, which compromises the final layout and readability.

Is there any workaround or alternative approach to preserve rich text formatting when populating Word templates from Copilot Studio flows?

Categories:
I have the same question (0)
  • tom_riha Profile Picture
    10,187 Most Valuable Professional on at
     
    I did something similar using Power Automate flows and I had to take care of the formatting using multiple dynamic controls in the document - if the control has a specific styling the text will inherit it. But as you said, it's not possible to transfer Rich text into Word.
     
    If the result should be a PDF file you could create it using HTML - create a .html file on OneDrive and then use the OneDrive 'Convert file' action to turn it into a pdf.
     

    ----------------------------------------------------------------------------------
    Did the answer solve your problem? Please click "Does this answer your question" to help others find the solution too!
     
    You can find more of my solutions on my blog https://tomriha.com
  • VC-07102230-0 Profile Picture
    3 on at
    Hi! Thanks for the question and answer. I have the same issue and now I know what to do. 
     
    If Mr. @tom_riha, could elaborate more on the entire flow will be awesome!
  • Suggested answer
    CU06032017-0 Profile Picture
    3 on at
    @tom_riha could you share with me a model about "using multiple dynamic controls in the document "? 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard