Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Problem while creating Word Documents with Flow - New lines does not appear in Word Client but in Word Online

Hi together,


I am trying to insert a listing in one string variable and put it into a Word Template.

I do it once with a hit on "Enter" inside "Append to string variable", and I do it a second time with a solution I found in the forum with a json, as you can see in "Append to string variable 3".




After populating a Word template and creating a file I can see in the Flow that it worked properly. 

Also it worked perfectly if I check this on Word in the Online view.




level_word_online.PNGWord Online


However it does not work when i am opening the document with my Word Client on my Notebook.

I also installed the latest updates... But it doesnt take any of the two "New Line" attempts.


Can someone support me please?

level_word_client.PNGWord Client

Level: Powered On

Re: Problem while creating Word Documents with Flow - New lines does not appear in Word Client but in Word Online

I am also running into this issue. Like OP, line breaks display correctly in Word Online, but not in desktop application. Are there any fixes out there?


For what it's worth, I noticed in the dynamicFileSchema parameter that the function is replacing plain text line breaks with \n. So, it appears like \n is supposed to work, but it seems Word Online knows what to do with it, but not the Word desktop application (just converts to space).


How text appears in input parameter:





How it appears in file schema parameter:


Helpful resources


Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!


Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,692)