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.

A magnifying glass hovers over a search bar on a purple background, revealing red and white alphanumeric code, symbolizing data analysis or search.
AI 101

AI Search vs. Google: Key Differences & Benefits

You.com Team, AI Experts

December 5, 2025

Blog

Abstract illustration of floating 3D cubes on a gradient blue background, with dotted wave patterns flowing around them, symbolizing motion and connection.
Rag & Grounding AI

What Is AI Grounding and How Does It Work?

Brooke Grief, Head of Content

December 3, 2025

Blog

Comparison image featuring two logos: a purple geometric shape on the left and a blue circular design on the right, separated by 'vs.' text.
Comparisons, Evals & Alternatives

You.com vs. Glean: A Guide for Orgs Exploring Glean Alternatives 

Justin Fink, VP of Marketing

December 2, 2025

Blog

A dartboard with alternating purple and black sections is centered against a digital-themed background with abstract blue and white geometric shapes.
Accuracy, Latency, & Cost

In Insurance, AI’s True Value Is Accuracy—Not Just Speed

Justin Fink, VP of Marketing

November 25, 2025

Blog

Woman in glasses smiling while working on laptop and notes.
API Management & Evolution

The History of APIs: From SOAP to AI-Native

Mariane Bekker, Head of Developer Relations

November 21, 2025

Blog

Code snippet showing .mcp.json setup with API configuration.
Product Updates

November 2025 API Roundup: Introducing Deep Search and New Developer Tooling

Chak Pothina, Product Marketing Manager, APIs

November 20, 2025

Blog

Comparisons, Evals & Alternatives

2025 API Benchmark Report

Zairah Mustahsan, Staff Data Scientist

November 18, 2025

Guides

AI Agents & Custom Indexes

Evolution of Agent Management

Chris Mann, Product Lead, Enterprise AI Products

November 18, 2025

Guides