AI Agents

Build an intelligent agent that learns and responds automatically

17 nodes 187 102 Automatic trigger
Download

Workflow Description

An advanced template that creates a smart agent receiving inquiries via chat, processing them using state-of-the-art language models, maintaining conversation context, distributing tasks in batches, and extracting information from external sources to provide accurate responses.

How it works

  1. 1.Receive message via activated chat trigger
  2. 2.Process text using LLM chain with Open Router model
  3. 3.Store previous context in buffer memory
  4. 4.Split large tasks into small batches for processing
  5. 5.Invoke external tools such as Wikipedia for research

Use cases

  • Build a smart assistant that answers customer questions with historical context
  • Create a multi-task agent that distributes requests and handles them sequentially

Requirements

  • Valid API key for Open Router
  • Memory settings configured to store context between conversations
  • Available web tools for search and data extraction

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 187
Downloads 102

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