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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Keeping the formatting...
Power Automate
Answered

Keeping the formatting of MS Forms response when writing an email

(0) ShareShare
ReportReport
Posted on by 32

Hi guys,

 

thanks in advance for everyone trying to help!

I have several MS Forms...well forms and automatically write mails via outlook with the responses. Now the problem is that although my colleagues's responses in the form are formatted, the mail looks different. For example input in forms:

 

Hey all,

this is a test and stuff.

 

Result in the mail will be:

 

Hey all, this is a test and stuff.

 

Is there a way to fix that? So that the format entered in forms will still be the same in the mail afterwards?

 

Many thanks and regards,

Jan

Categories:
I have the same question (0)
  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello,

    in the email body you can for sure use the "<br>" html code as line break.

    Anyhow, could you please add a "Compose" action to get the response, run the flow and see what's the output?

     

    BR,

    Marco

  • Nemrock Profile Picture
    32 on at

    Hey Marco,

     

    Haven't worked with the compose action yet. Shall I use it instead of the default "get response details" action of MS Forms?

     

    Best regards,

    Jan 

  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @Nemrock,

    I think what @MarconettiMarco describes is that you should use the <br> to break each line from your form response.

    Here is a simple demo:

    MicrosoftTeams-image (1).png

  • Nemrock Profile Picture
    32 on at

    Hi @v-qiaqi-msft ,

    thanks for your reply. My Problem is that this can't be done because the problem lies within one single response.

    So my flow looks like this:

     

    Nemrock_0-1657778926723.png


    (Don't know how to set the language to englisch, sorry!) so as you can see I already split up the responses but one of them, especially the "Was ist zu tun" (what needs to be done) is sometimes more text than a single line.

    My colleagues enter the info in forms well formatted with sections and stuff but this format doesn't transfer over to the mail.

     

    Regards,

    Jan

  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @Nemrock,

    I am confused that why you could do this modification as I mentioned?😂

     

    No matter how many lines the string you have, the "<br>" will always break the line once the string ends.

    You could add "<br>" to the end of the each string and selected response field from the dynamic content:

    vqiaqimsft_0-1657780888424.png

     

  • Nemrock Profile Picture
    32 on at

    Hey @v-qiaqi-msft ,

    I'm sorry if there's a misunderstanding here. It's not about the formating of the email itself. The email as a whole looks perfectly fine.

    Maybe an example of such an email will help:

    This is was has been entered in the form:

    Nemrock_0-1657781346593.png

    And this is the resulting mail:

     

    Nemrock_2-1657781456051.png

    As you can see the info entered in forms has 3 lines in total but in the mail it's only one line making it hard to read properly.

     

    I can't imagine that putting a <br> behind the whole response would help solve my problem because it's not an issue with the format of the mail itself but the format of the response. Or would it indeed help? But how would Outlook know just by entering <br> there when to break the lines within the response from forms.

     

    Regards,

    Jan



  • Verified answer
    Nemrock Profile Picture
    32 on at

    So hello everyone,

     

    I managed to solve my issue by following the steps provided in this video:

     

    https://www.youtube.com/watch?v=81RKtE9xS9k

     

    Thanks everyone for helping out!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard