Scrape and clean the landing page
Now that you have the landing page URL from the form, you need to fetch and clean the page content before AI agents can analyze it.
This involves three steps: an HTTP Request to scrape the raw HTML, a Code node to extract just the main content (removing headers, navs, and footers), and a Markdown node to convert the cleaned HTML into readable text.
This exercise is part of the course
Building Marketing Workflows with n8n
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise