AI Agents

Build a multi-tool intelligent agent with memory

9 nodes 225 130 Automatic trigger
Download

Workflow Description

An AI agent that responds to chat queries using OpenAI models, accesses Wikipedia and search engines for accurate information, and maintains conversation context through an advanced memory window to deliver informed answers.

How it works

  1. 1.Receive user queries through manual chat interface
  2. 2.Process input with OpenAI language model to understand intent
  3. 3.Invoke search tools (Wikipedia and SerpApi) for external data retrieval
  4. 4.Store conversation context in sliding memory window
  5. 5.Return informed response to user

Use cases

  • Intelligent research assistant gathering information from multiple sources
  • Question-answering system with long-term context retention
  • Self-operating customer support agent with search capabilities

Requirements

  • OpenAI API key
  • SerpApi search engine key
  • Stable internet connection
  • Language model supporting tool calling

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 225
Downloads 130

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