Skip to main content

Notifications

Power Automate - General Discussion
Answered

Splitting Approval Answers into different rows

(0) ShareShare
ReportReport
Posted on by 28

Hi everyone, I have a flow, where I get an approval answer as a text message. This text message I want to use in an email, but it's writing everything in the same row and I can't split it. Here's the example below.

jkbblzs_1-1716878282617.png

 

jkbblzs_0-1716878270932.png

As you can see I want to split the answer from the approval in different rows to send it out as an email, but the result looks something like this:

 

jkbblzs_2-1716878377384.png

The split looks like this: 

split(outputs('Starten_und_auf_Genehmigung_des_Texts_warten')?['body/acceptedText'],',')
 
But it would be better to split it only by a new row.
  • Verified answer
    Re: Splitting Approval Answers into different rows

    Hi @jkbblzs ,

    Please check this test:

    vyetonggumsft_0-1716879930709.png

    vyetonggumsft_1-1716880061744.png

    replace(replace(replace(outputs('Start_and_wait_for_an_approval_of_text')?['body/acceptedText'],',','<br>'),'&lt;','<'),'&gt;','>')

    My Outlook Inbox:

    vyetonggumsft_2-1716880102733.png

    Best Regards,

    Sunshine Gu

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard