Email Receipt Formatting

Options

I have been struggling with the formatting for my acknowledgement emails.

The flow is triggered by a Microsoft form submission. The information is added to an Excel spreadsheet. The flow runs through an approval process which may result in some manual updates of some fields in the spreadsheet.

There acknowledgement email pulls from “Get a Row” from the Excel spreadsheet, the form, and internal flow variables to populate the variables in the Acknowledgement email.

I broke up the email into different variables to make it easier to update letter template. However, when I edit a section, all of the line breaks disappear, and I have to re-add them.

This is the email, I put both the regular view and the code view.

85554a8691a35ef0ce36fce6670791ea-huge-im
38cda8747df451102138028ad0e29d29-huge-im

This is the information for the “body” variable

3bcc09d05f6dc8edf88230b8bbe7c7ad-huge-im
e2b80407bb2ecc72fdb317005681a62f-huge-im

This is the “Email content” I want one space between paragraphs but after I save it goes to this:

2b9e121fc00be88f672a1a56b288d016-huge-im

303f22c5037919d8b4571008a5f8f27b-huge-im

This is the resulting letter.

6f3158c22120c85bb475e274d0b3d0b1-huge-im

This version is closer to what I need but there are clearly still spacing issues.

cf92c55a8fab2926e3c55fb39383cb0a-huge-im

Comments

  • Alex Wong
    Alex Wong Community All-Star
    Ninth Anniversary 1,500 Likes 2500 Comments Name Dropper

    @Susan Fioribello
    easy answer i believe, don't use new editor. it is known to have issue with HTML and assumption on the HTML code.

  • @Susan Fioribello- Hi Susan, Alex is correct- you need to tell it in html code. Email wants a different format for spacing.

    I created a string variable and put the line returns in there. You don't have to do that but you do should put <br> in the body of the email. That is a line return html code. See my example below.

    255b1f253f1c4ea4fd093597f1fb9b13-huge-im

    Maybe try putting your Compose into a string variable and do your line returns in that? I am using Send an Email V2 and I'm not having any spacing issues within my email.

    53e219612ff9b6da663ac605e4fe98d4-huge-im


  • @Alex Wong:

    @Susan Fioribello
    easy answer i believe, don't use new editor. it is known to have issue with HTML and assumption on the HTML code.

    +1 on this. I just encountered this bug myself - the new editor was stripping out all of my <br> tags every time I saved the flow. Maddening.

Categories