web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to include Line Br...
Power Automate
Answered

How to include Line Breaker from Long Text box and remove [" "] format from Multiple Choice answer (MS FORM) when sending HTML Email using MS FLOW

(2) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a couple questions related to sending HTML Email from MS Form values using MS Flow:

 

1. How to include Line Breaker from MS Form Long Text box when sending HTML Email using MS Flow

Currently, it's converting the multi line values as a single line in the email. How do I keep the original format to include linebreaker in the email?

 

2. How to remove [" "] format from MS Form Multiple Choice answer when sending HTML Email using MS Flow

Multivalues are represented in array format, how do I remove this is MS Flow process?

Categories:
I have the same question (0)
  • Verified answer
    RezaDorrani Profile Picture
    12,145 on at

    Hi @Anonymous 

     

     

    for multi choice field use expression

     

    replace(replace(replace(dynamiccontentmultichoicefield,'["',''),'"]',''),'","',',')

     

    for long text line break 

     

    First create a compose action (rename it to NewLine)

    and add following expression

    decodeUriComponent('%0A')
    Capture.PNG

    Then in email use expression

     

    replace(dynamiccontentlongfield,outputs('NewLine'),'</br>')

     

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RezaDorrani, unfortunately this doesn't work. I'm getting literally string output. Could you please advise me?

    multichoicemultichoicelongtextlongtext

  • RezaDorrani Profile Picture
    12,145 on at

    Hi @Anonymous 

     

    You need to use the expression syntax

     

    Capture.PNG

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you so much! This is really helpful. Is there some kind of documentation to go through for more advanced flows like this?

  • Tazfiend1 Profile Picture
    5 on at

    Thank you for that! What a relief.

  • AlexPMayer42 Profile Picture
    4 on at

    Reza,

     

    This fails if the Multiline Text field is NULL. This expression will first check that it is not NULL prior to trying to make the string change:

     

    if(equals(coalesce([FIELDNAME],'NULL'),'NULL'),'',replace([FIELDNAME],outputs('NewLine'),'</br>'))

     

    -Alex Mayer

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard