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 :
Power Automate - Building Flows
Answered

Splitting multiple choice forms outputs into separate lines of an email

(0) ShareShare
ReportReport
Posted on by 21

Hello,

 

I have a flow I am building which sends out emails to different departments based on the answers from a MS Form. I have a condition and then using the switch function to send to the different departments. I have 1 multiple choice question and the answers need to go into the email but I would like each answer on a separate line. I have followed a few threads on how to do this but nothing has worked as I'd like so far.

 

My code in Initialise variable is:

join(json(outputs('Get_response_details')?['body/r4a8a14a4085b4e518a88d5cae4b96dd1']), decodeUriComponent('%0A'))
 
I've  attached some screenshots, any help will be appreciated as I am going round in circles!
 
Cheers,
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    on at
    Re: Splitting multiple choice forms outputs into separate lines of an email

    Hi , @PaulaMcC 

    Can you try to use this code :

    join(json(outputs('Get_response_details')?['body/r4a8a14a4085b4e518a88d5cae4b96dd1']), '<br>')
     
    This is the result in my side:
    vyueyunmsft_0-1712286654400.png

     

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

  • PaulaMcC Profile Picture
    21 on at
    Re: Splitting multiple choice forms outputs into separate lines of an email

    Thank you so much! Worked exactly as I wanted!

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