n8n
n8n is a workflow automation platform that lets you connect APIs, build agents, and automate tasks with a visual editor or code. The You.com n8n node brings six operations—web search, content extraction, answer synthesis, research, finance research, and background task management—directly into your n8n workflows, so you can ground AI agents in fresh web data or pipe results into any downstream step.
The @youdotcom-oss/n8n-nodes-youdotcom package provides a single node with six operations: Search, Get Contents, Answer, Research, Finance Research, and Get Research Task. It also works as an AI agent tool, so n8n’s built-in AI agents can call You.com search on demand.
Getting Started
Add the Node
In an n8n workflow, hit + to add a step and search for You.com. Drag the You.com node onto the canvas to start a workflow.
Set Up Credentials
- In n8n, go to Credentials > New Credential and select You.com API
- Paste your API key from you.com/platform
- Click Test to verify the key works
Operations
Search
Get Contents
Answer
Research
Finance Research
Get Research Task
Search the web with the You.com Web Search API. Sends a POST request with a JSON body and returns structured results with titles, URLs, descriptions, and query-relevant highlights (or snippets by default).
Required: query (the search query)
Optional parameters:
Domain filters: Include Domains cannot combine with Exclude Domains or Boost Domains—either pairing returns a 422 at execution time. Exclude Domains and Boost Domains may be combined freely.
Extraction collection: Set extraction_mode to highlights (query-relevant excerpts; snippets are omitted in this mode) or full_page (full page content). When full_page is selected, a sub-collection exposes extraction_formats (markdown or html) and extraction_source, which selects where page content comes from. blend (the server default) serves cached content when available and crawls the page live otherwise, cache returns cached content only (pages without cached content are omitted from the results), and fetch always crawls the page live. When Extraction Mode is Highlights, crawl_timeout is omitted from the request body.
Fetch and extract clean content from web pages using the You.com Contents API.
Required: urls (one or more URLs, with the + button for multi-input; comma-separated paste also accepted)
Optional parameters:
Returns cleaned page content in your chosen format. The metadata format (JSON-LD, OpenGraph, Twitter Cards) is deprecated and will be removed in a future major release—prefer markdown and/or html.
Get a synthesized answer with citations using the You.com Answer API. Sends a POST request and returns a natural-language answer grounded in real-time web results.
Required: query (max 400 characters; search operators are not supported)
Optional parameters:
Returns an answer string with inline citation references, a citations array, and the supporting results.
Run multi-step research using the You.com Research API. Sends a POST request and returns a cited, synthesized answer.
Required: input (the research question, max 40,000 characters)
Optional parameters:
Research effort: frontier requires background mode. If set without background, the node throws an error at execution time.
Source control collection: Includes include_domains, exclude_domains, boost_domains (with the same mutual exclusion rules as Search), plus freshness (day, week, month, year, or a custom date range via Expression) and country (dropdown of 36 country codes).
When background is true, the response includes a task_id and status instead of waiting for the full result. Use the Get Research Task operation to retrieve the result.
Run finance-focused research using the You.com Finance Research API. Retrieves data from a finance-optimized index covering earnings reports, SEC filings, analyst coverage, and market data.
Required: input (the finance research question, max 40,000 characters)
Optional parameters:
Returns an output object with content (Markdown string), content_type (always "text"), and sources (array of URLs with optional titles and snippets).
Poll the status of a background research task using the You.com Research API.
Required: taskId (the task ID returned by a background Research or Finance Research operation)
Returns the task object with status (queued, running, completed, failed, or cancelled), input, and result (populated when the task completes). When status is failed, the error field contains a diagnostic message.
Use as an AI Agent Tool
The You.com node has usableAsTool enabled, which means n8n’s built-in AI agents can call it directly. Add the You.com node as a tool in any AI Agent workflow, and the agent will be able to search the web or extract page content on its own.