cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Generate Word/Excel Document From Sharepoint List Multiple Rows that contain rich text

I want to be able to start a flow that will "Get Items" ( multiple ) from sharepoint List and add them to a table in a word document along with saving the document a Document Library on sharepoint. Columns of the sharepoint list contain rich text format ( bullets, underline, bold, etc ) and the format needs to be transferred as well. I have reviewed several solutions using Document Library with Content Type, along with flow and the "Create File' and 'Update File Properties' however all the solutions I have seen deal only with a single list item. I need to generate word document with multiple list items and retain all formating. Appreciate any Ideas, links etc on how this can be achieved. FYI, I also attempted Excel Create Table in flow and added rows based on the sharepoint list. This worked nicely except Excel will not recognize the rich text format.

7 REPLIES 7
Super User II
Super User II

Check out this blog post, Generate Word Document From A SharePoint List Item Using Microsoft Flow for detailed steps on what you are seeking.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

This is one of the references I have already pursued. It does not solve my problem. It is a great example of creating a Word Document from a single Sharepoint List item. My requirement is different in that i need to generate a word document that contains multiple Sharepoint List items ( maybe as an embeded table within the word document). As well I need the rich text formating to carry over into the Word Document. 

Solution Sage
Solution Sage

Hi @reynoldsdl ,

First, I suggest you create a table in the excel.

Then you can add each item into the table with 'Apply to each' action.

I have made a test on my side, please take a try with the following workaround:

Capture.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The issue with this approach is tha the rich text going into excel colum is not formatted as rich text and show the htlm tags. Is there a way to retain the rich text format?

@reynoldsdl I am trying to do this same thing now with multiple items from a sharepoint list, were you able to make this work somehow?

New Member

This video might be able to help - https://www.youtube.com/watch?v=vSrVR416Rjs

but you will need to build on it at the end with designing your template.

New Member

Have you seen this video - https://www.youtube.com/watch?v=vSrVR416Rjs

It might help but you will need to build your own design template at the end.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (3,984)