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

Community site session details

Session Id : gKQgjrjK5umnImR1G9Zzn1
Power Automate - Building Flows
Answered

Keeping the formatting of MS Forms response when writing an email

Like (0) ShareShare
ReportReport
Posted on 13 Jul 2022 07:37:43 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

I have the same question (0)
  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on 13 Jul 2022 at 10:05:54
    Re: Keeping the formatting of MS Forms response when writing an email

    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 13 Jul 2022 at 10:15:52
    Re: Keeping the formatting of MS Forms response when writing an email

    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 14 Jul 2022 at 06:04:37
    Re: Keeping the formatting of MS Forms response when writing an email

    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 14 Jul 2022 at 06:12:18
    Re: Keeping the formatting of MS Forms response when writing an email

    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 14 Jul 2022 at 06:42:39
    Re: Keeping the formatting of MS Forms response when writing an email

    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 14 Jul 2022 at 06:53:36
    Re: Keeping the formatting of MS Forms response when writing an email

    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 18 Jul 2022 at 13:25:59
    Re: Keeping the formatting of MS Forms response when writing an email

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard
Loading complete