Skip to content
Docs

Web Search

Web Search runs a web search and emits ranked results. Each result carries the page title, URL, a snippet, and usually a few scored passages, short extracts that often contain the exact fact you are after (a field name, an endpoint, a code sample), so a downstream node or agent can skip fetching the page at all. You find it on the node picker’s API & integrations shelf.

Searches run on an independent European index, so queries stay in EU jurisdiction. The node has one input handle and one output handle. To read one of the result pages, wire a Web Fetch node after it.

By default searches use the platform’s key. To use your own, set the Credential field to a Secret holding your search API key, or a saved Connection; when neither your key nor a platform key is configured, the node fails with a clear error.

The Web Search node's settings form, with the fields described below
The Web Search node's settings form, with the fields described below
FieldTypeDefaultDescription
Query (query)string ✦ (optional) — What to search the web for, in plain words (e.g. “Pipedrive webhooks v2 payload”). Leave empty only when an agent supplies it per call.
Max results (maxResults)integer ✦ (optional) — How many results to return (1–10); leave empty for the platform default.
Allowed domains (allowedDomains)list (optional) — Only return results from these domains (e.g. hubspot.com); leave empty for the whole web.
Market (market)string ✦ (optional) — The language/region market the index ranks for; leave empty for the platform default (en-gb).
Credential (credential)string ✦ (optional) — Your own search API key — a Secret holding it, or a saved Connection. Leave empty to use the platform-configured key.
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.

{
"query": "pipedrive webhooks v2 payload",
"results": [
{
"title": "Guide for Webhooks v2",
"url": "https://pipedrive.readme.io/docs/guide",
"snippet": "Create a webhook...",
"passages": [
{ "text": "POST /v1/webhooks with event_action...", "score": 0.946 }
]
}
]
}

passages is present when the index returned extracts for that page. Results are capped at 10. With Allowed domains set, results from other domains are filtered out, server-side for lists of up to 10 domains and after the fact for longer lists. Leave it empty and the workspace’s outbound access list narrows the search instead, where one is set.

Connect the node to an Agent’s Tools handle to expose it as the web_search tool; the agent-side story is covered in Web access. Leave Query empty so the agent chooses it per call, or set it to pin a fixed search. Searching is a plain read: the query goes only to the configured search index, so the tool is not approval-gated.

A run report for Carrier research agent: the Agent step's first turn calls web_search and gets results back, the second answers with the source, and the call to the search index is listed under External calls
A run report for Carrier research agent: the Agent step's first turn calls web_search and gets results back, the second answers with the source, and the call to the search index is listed under External calls

The Smoke / Web research — search then fetch template in the gallery searches for a topic from the start data and reads the top result. The search query comes straight from upstream:

{!! $start->topic !!}

The raw tags {!! !!} send the topic as it was written. {{ }} would HTML-escape it, so Q&A would be searched for as Q&A.

The Web Fetch node after it reads {!! $prev->results[0]->url !!}, raw for the same reason: an escaped & breaks a URL’s query string. To keep results on a vendor’s own documentation, set Allowed domains to mollie.com and only results from mollie.com and its subdomains come back.

  • At most 10 results per search.
  • Market accepts only the twelve values the index supports (listed in the field’s description); there is no Dutch market.
  • The node searches; it does not read pages. Fetching a result is Web Fetch’s job.
  • Web Fetch: read one of the result pages.
  • Web access: give an agent the web as a tool set.
  • Secrets: store your own search API key.