Skip to content
Docs

Web Fetch

Web Fetch downloads one public web page and emits its readable text. It is built for reading, not scraping: it asks the server for a markdown version of the page first, prefers the page’s main content over its navigation chrome, and can return the passages about your topic instead of the top of the page. You find it on the node picker’s API & integrations shelf.

To find a page first, use Web Search; for plain API calls, use REST Request. The node has one input handle and one output handle, and it needs no credential.

The Web Fetch node's settings form, with the fields described below
The Web Fetch node's settings form, with the fields described below
FieldTypeDefaultDescription
URL (url)string ✦ (optional) — The full http(s) URL of the page to fetch. Leave empty only when an agent supplies it per call.
Find (find)string ✦ (optional) — Optional: the words you are looking for on the page — you get the passages that mention them, in page order, instead of the top of the page.
Max chars (maxChars)integer ✦ (optional) — Cap on returned characters (default 6000, max 50000).
Allowed domains (allowedDomains)list (optional) — Only allow fetching from these domains (e.g. hubspot.com); leave empty to allow any public host.
Timeout (seconds) (timeoutSeconds)integer ✦ (optional) — Maximum seconds to wait for the page before timing out; leave empty for the default (10).
Fresh (fresh)boolean ✦ (optional) — Always fetch the live page instead of a recently cached copy.
On error (onError)string ✦ (optional) — What to do when the page cannot be read: fail the flow, or continue.
Approval (requiresApproval)one of inherit, always, never (optional) — Whether a human must approve this before it runs. “Follow the agent’s approval mode” is almost always right: the agent’s mode already decides, based on what this node actually does. Override it only to pin this one node — always ask (even on Autopilot), or never ask.

Fields marked ✦ accept expressions.

Try this node — run it once against your own workspace, with your credentials, without building a flow first.

{
"url": "https://docs.example.com/api",
"status": 200,
"contentType": "text/html; charset=utf-8",
"format": "html",
"title": "API Reference",
"retrievedAt": "2026-08-21T09:30:00Z",
"cached": false,
"fullLength": 41230,
"find": { "terms": ["idempotency", "key"], "matched": true, "sections": 2 },
"text": "...",
"length": 1843,
"truncated": false
}
  • format says how the text was read: markdown when the server answered the markdown request, html for stripped HTML, text for plain text. A URL pointing at a document rather than a page is read as well, and reports its own format (pdf, docx, csv).
  • fullLength always reports the whole page’s text length, so a truncated result shows how much was missed; setting find is usually the better fix than raising maxChars.
  • find appears only when you set the field. When nothing matched, find.matched is false and text holds the start of the page; try different words before assuming the page is wrong.
  • cached and retrievedAt show whether you got a recent cached copy and how old it is; turn on Fresh to force a live read.
  • A warning key appears when the page was larger than the fetch limit and only its beginning was read.

With On error set to Continue with an error envelope, an unreadable page completes with the same error envelope as REST Request instead of failing the run, which is what a flow walking a list of URLs usually wants. That includes a domain that does not exist. An address the firewall blocks always fails the run.

Connect the node to an Agent’s Tools handle to expose it as the web_fetch tool; the agent-side story is covered in Web access. Leave URL, Find, Max chars, or Fresh empty and each becomes an argument the agent supplies per call; a value you set pins that field, and the agent is never offered it. The guardrails stay yours either way: Allowed domains, Timeout (seconds), and On error are never handed to the agent. Approval follows who picks the address: with a pinned URL the tool is a plain read, while a call whose URL the agent chooses can be approval-gated by the agent’s approval mode. See Approvals.

The Smoke / Web research — search then fetch template in the gallery wires a Web Search into a Web Fetch. The fetch reads the top result directly:

{!! $prev->results[0]->url !!}

Set Find to the words you are after, for example idempotency key header, and the output carries the few paragraphs about that topic rather than the first thousands of characters of the page.

  • Only public http(s) pages: the SSRF firewall, the optional Allowed domains guardrail, and the workspace’s outbound access policy all apply.
  • Very large pages are read only up to the fetch limit, flagged by warning.