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 / Web Extraction action ...
Power Automate
Answered

Web Extraction action gives text and the background HTML

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a Web Extraction that pulls data from a job posting site. It works for most of the text I need extracted, but on 10%-15% of the rows, it extracts some of the text and the rest it extracts in its source/HTML format, rendering it useless. I need it to only extract the text, not half text then the rest as HTML.

 

Here is an example of what the problem looks like:

Web Extract Image 3.png

 

this is the web extraction selector:

Web Extract Image 4.png

 

my CSS selectors are 

html > body > div:eq(0) > div > div > div:eq(1) > div > div:eq(2) > div

div:eq(0) > div > label

div:eq(0) > div > div

 

I think it must be something with the selector, because the problem shows up in the selector tool:

Web Extract Image 2.png

 

I need help extracting only the text, not half the text, then some HTML code. 

 

thanks! 

I have the same question (0)
  • NikosMoutzou Profile Picture
    Microsoft Employee on at

    Hello @Anonymous !

     

    This is strange behavior, probably it is related to the HTML code of the page.

     

    Could you please try to extract the specific area with a separate action? Either with 'Extract data from web page' or the 'Get details of element on web page'.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I've been using 'Extract data from web page' and have tried capturing it different ways, like extracting it as a table or list, Extracting a specific section and broadening out to extract a larger chunk of the web content.  However, I still get the same html problem, no matter how I slice it. 

     

    I tried 'Get details of element on web page' and got the same results: text with the html showing in the middle

    Web Extract Image 5.PNG

     

    Agreed that it's strange behavior. Any help is appreciated.

     

    Thanks!

  • Verified answer
    tkuehara Profile Picture
    667 on at

    Hi @Anonymous 

     

    As a workaround, you could replace the tags for nothing:

    tkuehara_0-1629144063540.png

    This is %NewVar% value: with tags

    tkuehara_1-1629144274212.png

    And this is the %Replaced% value: without tags

    tkuehara_2-1629144360547.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Awesome! I had to rework a few things, but this workaround got me where I need to be. thanks. 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard