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 Platform Community / Forums / Power Automate / Splitting multiple cho...
Power Automate
Unanswered

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,
Categories:
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

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard