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 / Multiline Automatic Re...
Power Automate
Unanswered

Multiline Automatic Reply message to html retaining line breaks

(0) ShareShare
ReportReport
Posted on by 19

I have a flow that currelty (and successully) is able to look at my calendar to determine if I have an all day our of office event, it then checks to see if I already have an OOO message and if not adds one for me, after scanning my calendar to find the enxt workday i'm back in the office.

 

I am looking to take it a step further and have it read my exsisting OOO message and lift specific details to include in the next one it places. I have insteredted two keywords to seperate the text I need to lift. The issue I have is that my OOO is spanned across multiple lines so that if I use the HTML to text connector its strung together, I can't use indexof functions on the HTML version as the keywords run inline with the html formatting strings so the indexof function can't locate the keyword.

 

I am currently looking into an idea of using html to text and then splitting the output into an array based on a fullstop, but wondering if anyone has a better solution.

 

Thank you in advance.

Categories:
  • v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @ScottCooper ,

     

    Could you please share a screenshot of the configuration of your flow?

    Could you please explain more details about the "lift specific details to include in the next one it places" that you mentioned?

     

    Best regards,

    Alice       

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • ScottCooper Profile Picture
    19 on at

    Thank you for your reply - please find below the screenshots for my flow, apoliogies its quite big so there's a few different shots.

     

    What i meant was, was that I might already have a message in my OOO

     

    "Thank you for your email I am out of the office right now, please contact the following for your query.

    for Customer Services contact cs@example.com

    for HR services contact hr@example.com

    Thank You"

     

    I am working towards capturing the relevant infomation, in this example the delegate email addresses for the contact types. I embed a couple of keywords (white in color so they cannot be seen by the human eye) so that flow can determine what text to extract, and I am able to extract the text that I require. However if I do it from HTML the keywords aren't distinguishable as they will be concatanated with the HTML code, if i strip out the HTM using html to text connector then the line breaks are removed. I have a workaround by also applying another character (again white) to the end of the lines I wish to keep so that i can split these into an array, but it seems quite messy right now.

     

    1122334455OverviewOverview

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
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard