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 table to comma se...
Power Automate
Answered

HTML table to comma separated values

(0) ShareShare
ReportReport
Posted on by 35

I receive data like this:

<tr><td colspan="2"><strong></strong></td></tr><tr><td colspan="2"><table><tr><th>_empty_</th><th>unique:2[]</th><th>unique:3[]</th></tr><tr><td>Male</td><td>50-59</td><td>Yes</td></tr><tr><td>Male</td><td>12-17</td><td>No</td></tr><tr><td>Female</td><td>50-59</td><td>Yes</td></tr></td></tr>

 

I'd like it to look something like this:

 

Male,70-79,Yes,Male80-89,Yes,Female,60-69,No

 

Is this possible?

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    You can get it done in two ways:

    1) Out of the box (with no premium connectors)

    Power Automate: Get HTML tag value - Manuel T. Gomes (manueltgomes.com)

    2) You could convert the HTML into JSON using this connector and then use Parse JSON to extract the values

    SudeepGhatakNZ_0-1691022366440.png

     

  • 3von Profile Picture
    35 on at

    I can't find 'Get HTML tag value' and I have no idea how to use Parse JSON 😞

  • 3von Profile Picture
    35 on at

    So I've learned that HTML to JSON doesn't work in my case because I get an error saying that there are no tables found.

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @3von ,

    Please refer the attached flow.

    SudeepGhatakNZ_0-1691099885387.png

     

     

     

  • 3von Profile Picture
    35 on at

     Thanks for the help.  Do I need the desktop version of Power Automate to use the attachment?

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    No. Just go to my flows and import it.

    SudeepGhatakNZ_0-1691103660970.png

     

  • 3von Profile Picture
    35 on at

    I get this error.

     

    3von_0-1691158986257.png

     

  • 3von Profile Picture
    35 on at

    Oh I got it now.  I had to use the legacy option.  Thanks.

  • 3von Profile Picture
    35 on at

    I duplicated what you created and this is the error i get:

     

    3von_1-1691161418495.png

     

    3von_2-1691161462119.png

     

  • 3von Profile Picture
    35 on at

    Ok so I fixed the above error.  Now I get this error when I run the flow:

     

    3von_3-1691162117377.png

     

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 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard