Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Enter key is not working in Split Body to text

(0) ShareShare
ReportReport
Posted on by
Hello - I've been using this flow for quite some time now but when I am creating a new flow for different process using the same activities it didn't work.
 
  • When a new email arrives in a shared mailbox
  • Html to text - the content is the "Body" of the email.
  • Initialize variable - EnterKey
  • Compose - SplitBodyToText
    • split(body('Html_to_text'),variables('EnterKey'))
The problem here it is not splitting. it looks like a paragraph. I see "\n\n" these characters.
  • narayan225 Profile Picture
    narayan225 2,390 on at
    Enter key is not working in Split Body to text
    When you initialise the EnterKey variable;
    • What is the name of the variable?
    • What is the type of the variable?
    • What is the value of the variable?
    It seems like you need the compose action to split the body into arrays divided by \n\n.
    If this the case, either the value of the variable should be \n\n or the split formula should be
    split(body('Html_to_text),'\n\n')
    Hope this helps.
    Cheers!

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,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard