Retaining Multiline Appearance in Email sent with Make

398
1
07-14-2022 12:17 PM
cdevault_pickett
New Contributor III

I have a few automations in Make (formerly integromat) that sent emails when a survey is submitted. However if I have a multiline question the line breaks are removed from the email that is sent. Has anyone been able to find a solution to this?

0 Kudos
1 Reply
cdevault_pickett
New Contributor III

I found the solution on this Reddit Post

Essentially encode the field as a URL, replace the %0A line break character with the </br> tag, and decode the URL. See below.

{{decodeURL(replace(encodeURL(1.feature.attributes.COMMENT); "%0A"; "<br>"))}}

0 Kudos