February 24, 2026

How to Add AI Web Search to n8n

Tyler Eastman

Lead Android Developer

What You'll Learn

By the end of this tutorial, you'll be able to:

  • Install the You.com community node in n8n
  • Set up your API credentials securely
  • Build a workflow that searches the web automatically
  • Customize your searches with filters and options

Time needed: About 15 minutes

Prerequisites: An n8n instance (cloud or self-hosted)—see Part 1 if you need to set this up.

What Is You.com?

You.com is an AI-powered search and intelligence platform that provides real-time web data through a developer-friendly API. You.com APIs give you clean, structured JSON responses built for automation.

The You.com n8n node (@youdotcom-oss/n8n-nodes-youdotcom) currently exposes two operations:

  • Search: Web and news results with filters for freshness, country, language, and full-page content extraction (Livecrawl)
  • Get Contents: Extract clean Markdown, HTML, or metadata from any URL

Get your API key at you.com/platform.

Step 1: Get Your You.com API Key

Before we start in n8n, you need an API key from You.com.

How to Get Your Key:

  1. Go to you.com/platform
  2. Create an account (or sign in)
  3. Click "Create API Key"
  4. Enter a new key name
  5. Copy the key—you'll need it in the next step

Keep your API key secret. It's like a password. Don't share it publicly or commit it to code repositories.

Step 2: Install the You.com Node in n8n

  1. Open your n8n dashboard
  2. Click the gear icon (Settings) in the bottom left
  3. Select "Community Nodes"
  4. Click "Install"
  5. Type: @youdotcom-oss/n8n-nodes-youdotcom
  6. Check the box acknowledging the risks
  7. Click "Install"
  8. Wait for installation (usually 30 seconds)

If you're running n8n yourself, you can also install via command line:

Shell
npm install @youdotcom-oss/n8n-nodes-youdotcom

Then restart your n8n instance.

Step 3: Create Your First Search Workflow

Let's build a simple workflow that searches for a topic.

Create a New Workflow:

  1. In n8n, click "Workflows""New Workflow"
  2. Give it a name like "My First Search"

Add a Manual Trigger:

  1. Click the "+" button on the canvas
  2. Search for "Manual Trigger"
  3. Add it to the canvas

This lets you run the workflow with a button click, which is useful for testing.

Add the You.com Node:

  1. Click the "+" button again
  2. Search for "You.com"
  3. Add the "You.com" node by clicking on the “Search the web and news” action in Node Details

Add Your API Credentials:

When you click on the You.com node, you'll see a "Credential to connect with" dropdown at the top.

  1. Click the dropdown and select "Create New Credential"
  2. Paste your API key into the field
  3. Click "Save"

n8n will automatically test the connection. If you see a green checkmark, you're good to go.

Step 4: Configure and Test Your Search

Now let's configure the search and run it.

Configure the Search:

  1. In the You.com node settings, find "Operation" — it should be "Search" (the default)
  2. In the "Query" field, type something like latest artificial intelligence news

Test It:

  1. Click the "Execute step" button to test the node
  2. Watch as n8n executes the search and displays the results

Step 5: Understanding the Results

The You.com node returns structured JSON data with:

Web Results (results.web)

JSON
{   "url": "",   "title": "AI Breakthrough in 2024",  "description": "Scientists announce...",   "snippets": ["Key quote from the article..."],   "page_age": "2024-01-15T12:00:00Z" }

News Results (results.news)

JSON
{   "url": "",   "title": "Tech Giants Announce AI Partnership",   "description": "Major announcement...",   "page_age": "2024-01-15T12:00:00Z" }

Metadata

JSON
{   "search_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",   "query": "latest artificial intelligence news",   "latency": 0.42 }

Step 6: Customize Your Search

Click "Add Option" in the You.com node to access additional filters:

Popular Options:

Option What It Does Example
Count Number of results (1-100) 20
Freshness How recent "Past Week"
Country Geographic focus "United States"
Language Results language "English"
Safe Search Content filter "Moderate"

Livecrawl

Livecrawl fetches the full content of each search result page. This is useful when pairing search results with AI for summarization or analysis.

  1. Set Livecrawl to "All Results"
  2. Set Livecrawl Format to "Markdown"
  3. Each result will now include the complete page content

Example: Daily AI News Digest

Let's build something practical. Below is a workflow that runs every morning and collects fresh AI news.

The Workflow:

Configuration:

Schedule Trigger:

  • Trigger at: 8:00 AM
  • Days: Monday through Friday

**You.com Node:**

  • Query: artificial intelligence news breakthroughs
  • Count: 10
  • Freshness: Past Day

Send Email Node:

  • To: your email
  • Subject: "Your Daily AI News Digest"
  • Body: Use expressions to format the results

Troubleshooting

"Invalid API Key" Error

  • Double check your API key is copied correctly
  • Make sure there are no extra spaces
  • Verify your You.com account is active

"Node Not Found"

  • Ensure the community node is installed
  • Try restarting n8n after installation
  • Check Settings → Community Nodes

No Results Returned

  • Try a broader search query
  • Remove restrictive filters temporarily
  • Check if your API quota is exhausted

What's Next?

Now that you can search the web from n8n, there's a lot you can build. In Part 3, we will explore creative use cases and show you how to combine web search with AI tools.

Ideas to try:

  • Connect results to Google Sheets for archiving
  • Send interesting results to Slack or Discord
  • Use an AI node to summarize the search results
  • Monitor specific topics for your business

Featured resources.

All resources.

Browse our complete collection of tools, guides, and expert insights — helping your team turn AI into ROI.

Cover of the You.com whitepaper titled "How We Evaluate AI Search for the Agentic Era," with the text "Exclusive Ungated Sneak Peek" on a blue background.
Comparisons, Evals & Alternatives

How to Evaluate AI Search in the Agentic Era: A Sneak Peek 

Zairah Mustahsan, Staff Data Scientist

January 8, 2026

Blog

API Management & Evolution

You.com Hackathon Track

Mariane Bekker, Head of Developer Relations

January 5, 2026

Guides

Chart showing variance components and ICC convergence for GPT-5 on FRAMES benchmarks, analyzing trials per question and number of questions for reliability.
Comparisons, Evals & Alternatives

Randomness in AI Benchmarks: What Makes an Eval Trustworthy?

Zairah Mustahsan, Staff Data Scientist

December 19, 2025

Blog

Blue book cover titled "How We Evaluate AI Search for the Agentic Era" by You.com, featuring abstract geometric shapes and a gradient blue background.
Comparisons, Evals & Alternatives

How to Evaluate AI Search for the Agentic Era

Zairah Mustahsan, Staff Data Scientist

December 18, 2025

Guides

Screenshot of the You.com API Playground interface showing a "Search" query input field, code examples, response area, and sidebar navigation on a gradient background.
Product Updates

December 2025 API Roundup: Evals, Vertical Index, New Developer Tooling and More

Chak Pothina, Product Marketing Manager, APIs

December 16, 2025

Blog

A person holding a stack of books, reaching for another, against a futuristic blue geometric background.
AI Agents & Custom Indexes

Introduction to AI Research Agents

You.com Team, AI Experts

December 12, 2025

Blog

Illustration of justice scales on a blue background, overlaid with circuitry patterns, symbolizing the intersection of law and technology.
AI Agents & Custom Indexes

What Are Legal AI Agents?

You.com Team, AI Experts

December 9, 2025

Blog

Man in glasses using a laptop, illuminated by the screen's light, with a futuristic, tech-inspired background of circuits and abstract shapes in blue tones.
AI Agents & Custom Indexes

Context Engineering for Agentic AI

Chak Pothina, Product Marketing Manager, APIs

December 8, 2025

Blog