Line breaks and paragraphs in Microsoft Word Template

Hello there, I want to add text paragraphs with line breaks in the microsoft word template module.

In the help doc for word templates it says: “The Microsoft Word Templates app accepts only single-line plain text for replacement values. When adding line breaks, they will be viewed as spaces and won’t affect the formatting of the text.” (https://www.make.com/en/help/app/microsoft-word-templates)

Is there any workaround or way to still get in text paragraphs with line breaks? I desperately need this function. Thank you!

Hiya @Malte; given the documentation says simple text only, and line breaks are converted, there’s no getting what you want cleanly.

One idea is to pass newline characters like /n as {NEWLINE} and then run a script on the template to replace {NEWLINE} with the desired line break.

However, that involves further scripting within the Microsoft ecosystem, similar to Google AppScript.

Hello @Malte and welcome to the Make Community!

Is there any possible way to add more tags and separate them by spaces in the template?

Hi Donald, sadly there is no other option as we get the full text with paragraphs from a software with no option of splitting the text