Web
Description
The Web node fetches the content of a webpage via a standard HTTP GET request. It is the primary tool for retrieving external data, scraping articles, or feeding live web content into your AI workflows.
It supports two modes of operation: fetching a fixed URL defined in its configuration, or fetching a dynamic URL provided by an upstream node. It also includes a built-in HTML stripper to clean up the raw source code and extract only the readable text.
Configuration Properties
🌐 URL Section
TextBox
The static URL of the webpage you want to fetch (e.g., https://example.com/article).
⚠️ Note: This field is ignored when the "Use input as Url" option is checked.
⚙️ Options Section
Strip Html
When checked, the node processes the fetched content to remove HTML tags, scripts, styles, and metadata, returning only the raw, readable text. This is highly recommended when sending web content to an Agent node, as raw HTML consumes a massive amount of context tokens and confuses the model.
When unchecked, the raw HTML source code is passed downstream exactly as received from the server.
Use input as Url
When checked, the node dynamically changes its behavior:
- The static URL field is ignored.
- An input anchor appears on the node.
- The text received on this anchor is treated as the URL to fetch.
This is essential for batch processing. For example, you can connect a Sequencer node (fed by a list of URLs from a file) to automatically scrape multiple pages in a loop.
Usage Example
"Scraping a single article for summarization":
- A Web node with:
- URL:
https://example.com/news/today - Strip Html: checked
- URL:
- An Agent node receives the clean text and summarizes it.
"Batch scraping from a list":
- A File Read node loads a text file containing one URL per line.
- A Sequencer node splits the file into individual URLs.
- A Web node with Use input as Url checked and Strip Html checked.
- An Agent node translates each page.
- A File Write node saves the translations.
⚠️ Pitfalls to Avoid
Dynamic URL validation: If Use input as Url is checked but the upstream node sends an empty string or an invalid URL (e.g., missing http://), the HTTP request will fail and the node will output an error message. Always ensure your URL list is clean.
HTML stripping is basic: The built-in HTML stripper removes tags, but it does not execute JavaScript. It will not work on Single Page Applications (SPAs) or websites that rely heavily on client-side rendering (like React or Angular apps) to load their content. It only works on standard server-rendered HTML.
Anti-bot protections: Many modern websites use Cloudflare, CAPTCHAs, or strict User-Agent checks. If the node returns a 403 Forbidden error or a CAPTCHA page, the website is blocking automated requests. There is no built-in workaround for this in the basic Web node.
Context window explosion: If you forget to check Strip Html and send a raw webpage to an Agent node, the HTML boilerplate (CSS, JS, meta tags) will consume a huge portion of the model's context window, leaving little room for the actual content and drastically slowing down inference.
Network timeouts: The node relies on the application's global HTTP client settings. If the target server is slow or unresponsive, the workflow might hang until the timeout is reached. Ensure your network connection is stable when running web-heavy workflows.