🔧 AI agent web search using SearchAPI & LLM

8,059 views · 🔧 Miscellaneous

💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.

View All Scrapers

Description

🤖 AI Agent Web Search using SearchApi & LLM

Who is this for?

This workflow is ideal for anyone conducting online research, including students, researchers, content creators, and professionals looking for accurate, up-to-date, and verifiable information. It also serves as an excellent foundation for building more sophisticated AI-driven applications.

What problem does this workflow solve? / Use case

This workflow automates web searches by enabling an AI agent to efficiently retrieve and summarize external, verifiable information, ensuring accuracy through source citations.

What this workflow does

Setup

  1. Install the SearchApi community node:

    • Open Settings → Community Nodes inside your self‑hosted n8n instance.
    • Fill npm Package Name with @searchapi/n8n-nodes-searchapi.
    • Accept the risk prompt, and hit Install.
    • It should now appear as a node when you search for it.
  2. API Configuration:

    • Set up your SearchApi.io credentials in n8n.
    • Add your preferred LLM provider credentials (e.g., OpenRouter API).
  3. Input Requirements:

    • Provide the YouTube video ID (e.g., wBuULAoJxok).
  4. Connect LLM Integration:

    • Configure the summarization chain with your chosen model and parameters for text splitting.

How to customize this workflow to your needs

Example Usage

🔗 Nodes Used

AI Agent, OpenAI Chat Model, Simple Memory, Chat Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup