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 / Splitting multiple cho...
Power Automate
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,
PA_QCFlow.png
PA_QCFlow2.png
PA_QCFlow4.png
Categories:
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    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

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard