AI Agent Web Search using SearchAPI & LLM β€” n8n Workflow

Low complexity⚑ Trigger5 nodes🏷️ MiscellaneousπŸ‘ 1,966 viewsby Pedro Santos

Overview

πŸ€– 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 summa

Nodes used

AI AgentOpenAI Chat ModelSimple Memory

Workflow Preview

SearchApi AI Agent
Whenever you ask a question that should be searched on
Tip
You can change the node to use any of the engines avail
toolmemorymodel
⚑
W
When chat message received
Simple Memory
AI Agent
S
SearchApi
OpenAI Chat Model
5 nodes4 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 5 nodes, connecting @searchapi/n8n-nodes-searchapi.searchapitool, agent, chattrigger.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (5)

AI

AI Agent

n8n-nodes-langchain.agent

#1
OP

OpenAI Chat Model

n8n-nodes-langchain.lmChatOpenAi

#2
SI

Simple Memory

n8n-nodes-langchain.memoryBufferWindow

#3

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows β†’ New β†’ Import from file.
  3. 3Select the downloaded ai-agent-web-search-using-searchapi-llm file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n β†’ Import from JSON:

{ "name": "AI Agent Web Search using SearchAPI & LLM", "nodes": [...], ...}

Integrations

@searchapi/n8n-nodes-searchapi.searchapitoolagentchattriggerlmchatopenaimemorybufferwindow

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes5
Complexitylow
Triggertrigger
Views1,966

Created by

Pedro Santos

Pedro Santos

@dapedu

Tags

@searchapi/n8n-nodes-searchapi.searchapitoolagentchattriggerlmchatopenaimemorybufferwindow
⚑

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free β†’

Related Miscellaneous Workflows