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 / HTML table to comma se...
Power Automate
Unanswered

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:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 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,394 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,394 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard