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 / HTML to Text Split Tab...
Power Automate
Unanswered

HTML to Text Split Table Data in Email Body But How to Sort into Array?

(0) ShareShare
ReportReport
Posted on by 4
This is my first flow and it's been a journey building it out but I'm stumped on how I can get my flow to read my HTML to Text output as split rows so it identifies one value that I need to set a condition on. 
 
My end goal is to build a flow where: When an automated email is received in my Outlook and includes a data table in email body along with an attachment, and identifies that cell X in data table is less than 100%, an email with the attachment and custom email body will be created and sent out to recipients.
 
I'm stuck on the part where my HTML to Text has split the data table out into individual rows now, but how to get the next action to label each row with a number so the flow recognizes which % number I'm trying to set a condition to? I believe it's called an array but I'm unsure. The below picture is what the HTML to Text output gave me but I am struggling on this piece of my flow. For more context, I really only need the flow to read rows 66 to 73, since row 69 is part of the "Rollup" section of my data table
 
When creating a split, it creates an array but mashes all the values under one field so I can't directly pull the line 80% is in
 
Categories:
I have the same question (0)
  • PowerSchmiede Profile Picture
    6 on at

    Hello,

    Could you please provide the HTML input data or an example?

    If you still have an array but no row label, that’s not necessary.

    If the output of the ‘Html to text’ action is static, you can reference any item in the array, as shown in the image below.

    For example, in the Compose action, using

    variables('varArray')?[4] -

    will return "80%" because "80%" is the 4th item in the array (arrays always start with the 0th item).

     
     
     
    Best regards.
  • VictorIvanidze Profile Picture
    13,081 on at
    use this flow as a base and modify it.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard