AI Agents

Build an intelligent agent that processes inquiries with memory context

17 nodes 215 121 Automatic trigger
Download

Workflow Description

A template that provides an advanced intelligent agent receiving inquiries through a chat interface, processing them using OpenRouter language models, maintaining conversation context via memory system, and retrieving external information from Wikipedia when needed.

How it works

  1. 1.Receive user inquiry through interactive chat interface
  2. 2.Process request using intelligent agent and language chain
  3. 3.Query Wikipedia for information when necessary
  4. 4.Maintain previous conversation context in memory system
  5. 5.Return processed response to user

Use cases

  • Create an intelligent assistant that answers questions while remembering previous context
  • Build a research agent that gathers information from external sources and presents it in structured format
  • Develop smart customer support that learns from previous interactions

Requirements

  • Valid API key for OpenRouter platform
  • Memory configuration to retain conversation history
  • Stable internet connection for information retrieval

Service Value

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

Apps Used

Chat Trigger LLM Chain Lm Chat Open Router AI Agent Split In Batches Memory Tool

Details

Trigger Automatic trigger
Nodes 17
Apps 7
Views 215
Downloads 121

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 (17)

/

Chat Message Trigger

Chat Trigger

#1

Generate Search Queries using LLM

LLM Chain

#2

LLM Response Provider (OpenRouter)

Lm Chat Open Router

#3

Parse and Chunk JSON Data

Code

#4

Perform SerpAPI Search Request

HTTP Request

#5

Perform Jina AI Analysis Request

HTTP Request

#6

Format SerpAPI Organic Results

Code

#7

Extract Relevant Context via LLM

Agent

#8

Generate Comprehensive Research Report

Agent

#9

Split Data for SerpAPI Batching

Split In Batches

#10

Split Data for Jina AI Batching

Split In Batches

#11

LLM Memory Buffer (Input Context)

Memory Buffer Window

#12

LLM Memory Buffer (Report Context)

Memory Buffer Window

#13

Fetch Wikipedia Information

Tool Wikipedia

#14

Sticky Note: SerpAPI Setup

Sticky Note

#15

Sticky Note: Jina AI Setup

Sticky Note

#16

Sticky Note: OpenRouter API Setup

Sticky Note

#17