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.

Two men speaking onstage in separate panels, each gesturing during a presentation, framed by geometric shapes and gradient color blocks.
Company

AI in 2026: Inside the Future-Shaping Predictions from You.com Co-Founders

You.com Team, AI Experts

January 27, 2026

Blog

Black you.com cover reading “What Is AI Grounding and How Does It Work?” above a blue geometric pattern on a gradient purple background.
AI 101

What Is AI Grounding and How Does it Work?

Brooke Grief, Head of Content

January 26, 2026

Guides

Book cover titled “AI Predictions for 2026” with gradient background, text blocks showing names, and two men pictured speaking onstage in small photo panels.
Company

2026 AI Predictions: Insights from You.com Co-Founders

Richard Socher, You.com Co-Founder & CEO

January 23, 2026

Guides

Light blue graphic with the text ‘What Is MCP?’ on the left and simple outlined geometric shapes, including nested diamonds and a partial circle, on the right.
API Management & Evolution

What Is Model Context Protocol (MCP)?

Edward Irby, Senior Software Engineer

January 22, 2026

Blog

Graphic with the text ‘What are Vertical Indexes?’ beside simple burgundy line art showing stacked diamond shapes and geometric elements on a light background.
AI Agents & Custom Indexes

What the Heck Are Vertical Search Indexes?

Oleg Trygub, Senior AI Engineer

January 20, 2026

Blog

A flowchart showing a looped process: Goal → Context → Plan, curving into Action → Evaluate, with arrows indicating continuous iteration.
AI Agents & Custom Indexes

The Agent Loop: How AI Agents Actually Work (and How to Build One)

Mariane Bekker, Head of Developer Relations

January 16, 2026

Blog

A speaker with light hair and glasses gestures while talking on a panel at the World Economic Forum, with the you.com logo shown in the corner of the image.
AI 101

Before Superintelligent AI Can Solve Major Challenges, We Need to Define What 'Solved' Means

Richard Socher, You.com Co-Founder & CEO

January 14, 2026

News & Press

Stacked white cubes on gradient background with tiny squares.
AI Search Infrastructure

AI Search Infrastructure: The Foundation for Tomorrow’s Intelligent Applications

Brooke Grief, Head of Content

January 9, 2026

Blog