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 / Extracting Email Body ...
Power Automate
Unanswered

Extracting Email Body with Spacing

(0) ShareShare
ReportReport
Posted on by 2

Hello! Am attempting to roll out a tracker within my team using a template in Outlook, however the templates default to double line spacing which is causing my flow to have an Error and not run.

 

I am using a variation of the flow from the below thread, with the only reald difference being me adding "trim()" to each line to get rid of any extra spaces.

 

https://powerusers.microsoft.com/t5/Building-Flows/Extract-text-from-body-of-an-email-and-create-new-rows-in-excel/td-p/104708

 

Whenever I test this with just typing out the 3 fields I am using, it runs perfectly, so I'm not sure why the double spacing introduced when trying to use an email template would be causing the issue.

 

Thanks for any help!

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @WilliamCrown1 

     

    Did you meant that spacing is introduced as an element while spiltting ?

    Also share a screenshot of template email looks like with content ?

     

  • WilliamCrown1 Profile Picture
    2 on at

    When creating a template for ease of use, the template automatically introduces double line spacing like below, which causes the flow to fail.

    WilliamCrown1_0-1684328362636.png

     

    However, if the 3 options are manually typed out below, without the automatic spacing, it runs correctly:

    WilliamCrown1_1-1684328484438.png

    It will even run correctly if an extra line is added in between manually. It seems that the formatting of double line spacing causes the issue.



  • VictorIvanidze Profile Picture
    13,083 on at

    How exactly you are create these templates?

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @WilliamCrown1 

     

    could you share how you are extracting field in power automate flow, also share me error which u are facing in cloud flow ?

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard