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 / Formatting data from F...
Power Automate
Unanswered

Formatting data from Forms into Emails

(0) ShareShare
ReportReport
Posted on by 31

I have a flow that takes data from a form, and emails it.  The data being input from the form includes the email address to send the data.

 

The responses from the form come out in a string (really it looks like an array formed into a string as it's a list of checkboxes that were marked)

Here are the checkboxes that were selected on the form, that come into my flow.

"[\"Lab1\\n\",\"Lab3\\n\",\"Lab2\"]"
 
I need to format this before it goes into an email, something that looks like a normal list:
 
Lab1
Lab2
Lab3
 
So far I've tried several variations of Data Compose, and createArray(), but nothing has worked.
 
So, my question is, how can I take in the selected checkboxes from my form, and get it into a format that isn't terrible in an email?
Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    on at

    Hi @slimmons 

    I set up a simple Flow, you can refer to as below:

    vLilyWmsft_0-1629701352542.png

    vLilyWmsft_1-1629701387023.png

    When a new response is submitted

    vLilyWmsft_3-1629701513189.png

    The outputs like this:

    vLilyWmsft_4-1629701658272.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • slimmons Profile Picture
    31 on at

    Thanks, that looks great, but I don't understand what is supposed to go into the "Join with" area in the Join.  I see you wrote "Keys", but I'm not sure what the keys would be in this example.

  • slimmons Profile Picture
    31 on at

    And when I add a key such as \n, or even a space, the email still comes through with the return character, such as Lab1 \nLab2 \nLab3. When I just add a simple return character (by pressing enter), I sends the email with Lab1 Lab2 Lab3, just spaces and no return.

  • slimmons Profile Picture
    31 on at

    It looks like the only way I was able to get these to print on new lines is to do an Apply Each, that takes in a jsonified version of the Labs, and then put a Compose in a loop.

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard