AI Agents

Build an AI chatbot with live web search capabilities

9 nodes 282 107 Automatic trigger
Download

Workflow Description

Automate a conversational agent powered by OpenAI's language model, integrated with SerpAPI and Wikipedia search tools, enabling users to interact with an intelligent assistant that retrieves current, accurate answers from real-time web sources.

How it works

  1. 1.Accept user messages through manual chat interface
  2. 2.Route queries to an AI agent backed by OpenAI's LLM
  3. 3.Search Wikipedia and SerpAPI for up-to-date information
  4. 4.Maintain conversation history and context in memory buffer
  5. 5.Return reliable responses to users instantly

Use cases

  • Intelligent customer support that answers FAQs with live data sources
  • Research assistant extracting information from trusted web sources on demand
  • Multi-turn Q&A platform preserving context across conversations

Requirements

  • OpenAI API key to access language models
  • SerpAPI credentials for web search integration
  • Stable internet connection for real-time API calls

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Manual Chat Trigger OpenAI Tool Memory AI Agent

Details

Trigger Automatic trigger
Nodes 9
Apps 5
Views 282
Downloads 107

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (9)

Sticky Note4

Sticky Note

#1

On new manual Chat Message

Manual Chat Trigger

#2

Chat OpenAI

OpenAI

#3

Wikipedia

Tool Wikipedia

#4

Sticky Note3

Sticky Note

#5

Sticky Note6

Sticky Note

#6

Window Buffer Memory

Memory Buffer Window

#7

SerpAPI

Tool Serp Api

#8

AI Agent

Agent

#9