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 / Help with splitting em...
Power Automate
Unanswered

Help with splitting email body

(0) ShareShare
ReportReport
Posted on by 33

Hi everyone, I need some help with a flow that I have, when a new email is received it splits the body of the email by a ":" and a new row is added into an excel document. The problem I am facing is that sometimes the field value I need to split takes up more than one line and customers may use delimiters which is stuffing up my flow. At the moment, it only brings in one line of data but if it takes up more than one line, it doesnt bring in the rest.

 

For example:

 

"Body Corporate records holder:" is the form field

"WALKER BODY CORPORATE MANAGEMENT, 123 ABC STREET SMITHVILLE QLD 4215 Ph: 5555 5555" Is the customers response.

 

The flow only split "WALKER BODY CORPORATE MANAGEMENT, 123 ABC" and did not split " STREET SMITHVILLE QLD 4215 Ph: 5555 5555" and because there was a ":" after "PH", it split "5555 5555" into the next column of the excel document which totally stuffs it up.

 

Any ideas on how to fix this would be fantastic.

 

Thank you.




Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @yvette78 ,

     

    Since ":" is your delimiter, I will replace all occurrences of ":" in your Text will say two "##".

    Just when you copy the values in Excel, you can convert the "##" back into ":"

     

  • yvette78 Profile Picture
    33 on at

    Hi @SudeepGhatakNZ  - Sorry, I am not sure what you mean.

     

    Here is a snippet of the flow and the expression used for each field.....

     

    yvette78_0-1666784056087.png

     

  • yvette78 Profile Picture
    33 on at

    Anyone 🙂 help! please!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard