✅ Resolved! Microsoft Word Templates - Cannot insert a newline? Here is a workaround!

Hello guys!

Today I got stuck while working on what seemed like a simple scenario.
In my scenario, I listed Monday.com tables with deadlines, then filtered only those that occur within the next month.
After that, I decided to save the results using a Text Aggregator and Set Variable.
There was just one step left: save the result to a .docx file and upload it to OneDrive.

The difficulty is that I never know how much results/newlines I will get. I might get 1 or 15000.

On the first run, I noticed that all the text appeared as a single line — with no line breaks at all.
Neither {{newline}} nor <br> nor \n worked.
I couldn’t believe such a simple task would take me hours… but then I started to search and read:

and read:

and read:

and read again:

and again:

It was a disaster. The simplest operation ruined the whole scenario (and my life for today)! “Thanks” Microsoft for such a bug (read - “feature”).

:white_check_mark: SOLUTION:
Hours of reading and experimenting turned me to this:

Lets take a deeper look in each module:

  1. Get multiple variables + Iterator
  2. Iterator + Array Aggregator + Create JSON
  3. Create JSON




  4. OneDrive Download File + Microsoft word templates (Fill a document with batch of data)
  5. Your Template Example.docx file should look EXACTLY like this:
  6. That`s it! Try it!

P.S.: much thanks to the following users who assisted much: Mark_Poulton, Donald_Mitchell

1 Like