AI Agents
Build an intelligent agent with memory and conversation
16 nodes
344
201
Automatic trigger
Workflow Description
A workflow that creates an intelligent agent powered by local language models, receives commands through a chat interface, maintains conversation context in memory, and processes complex requests with advanced reasoning capabilities.
How it works
- 1.Receive user messages through the chat trigger and capture intent
- 2.Load previous context from the memory module to ensure conversation continuity
- 3.Process the request via a local language model and generate appropriate responses
- 4.Store the new exchange in memory for future reference
- 5.Send the reply to the user while preserving full context
Use cases
- Build a context-aware assistant that answers sequential questions and maintains topic threads
- Create an automated customer support system that retains chat history and handles personalized inquiries
- Develop a consulting agent that learns from user interactions to provide increasingly relevant guidance
Requirements
- Set up a local or accessible Ollama model deployment
- Run n8n with extensions enabling agent and memory features
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Chat Trigger
Lm Chat Ollama
AI Agent
Memory
Details
Trigger
Automatic trigger
Nodes
16
Apps
4
Views
344
Downloads
201
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (16)
/
When chat message received
Chat Trigger
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Ollama Dynamic LLM
Lm Chat Ollama
LLM Router
Agent
AI Agent with Dynamic LLM
Agent
Ollama phi4
Lm Chat Ollama
Router Chat Memory
Memory Buffer Window
Agent Chat Memory
Memory Buffer Window
Sticky Note7
Sticky Note
Sticky Note4
Sticky Note
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note
Sticky Note5
Sticky Note