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 / Body of email to excel...
Power Automate
Answered

Body of email to excel split at line breaks

(0) ShareShare
ReportReport
Posted on by 2

I've only just started with power automate, so may be missing something really obvious.

I've got a flow working - and email with a specific string in a subject line arrives, it adds a new row to an Excel table and populates the first column with the body of the email.

I want to split the email body into different columns each time there is a line break

I've tried this: split(outputs,char(10)) - but that doesn't work.
What am I doing wrong please?

Categories:
I have the same question (0)
  • Verified answer
    Paulie78 Profile Picture
    8,422 Moderator on at

    Couple of things wrong:

    First of all, you have not specified an output in outputs. So it needs to be something like outputs('emailBody').

    Secondly, there is no char function. But you can use the expression 

    decodeUriComponent('%0A')

     instead. So your whole expression would be something like:

    split(outputs('emailBody'), decodeUriComponent('%0A'))
  • Bart_Smith Profile Picture
    2 on at

    Thank you, I'll give that a go.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard