π€π§ AI agent chatbot + LONG TERM memory + note storage + Telegram
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Tools Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Docs Tool
n8n-nodes-base.googleDocsTool - Google Docs
n8n-nodes-base.googleDocs - Telegram
n8n-nodes-base.telegram - AI Agent
@n8n/n8n-nodes-langchain.agent - Aggregate
n8n-nodes-base.aggregate - Merge
n8n-nodes-base.merge
What it does
This workflow template creates an AI agent chatbot with long-term memory and note storage using Google Docs and Telegram integration. Google Docs Integration π n8n Google Docs Node Setup Google Credentials Telegram Integration π¬ Telegram Setup Core Features π AI Agent Integration π€ - Implements a sophisticated AI agent with memory management capabilities - Uses GPT-4o-mini and DeepSeek models for intelligent conversation handling - Maintains context awareness through session management Memory System π§ - Long-term memory storage using Google Docs - Separate note storage system for specific information - Window buffer memory for maintaining conversation context - Intelligent memory retrieval and storage mechanisms Communication Interface π¬ - Telegram integration for message handling - Real-time message processing and response generation Technical Components π§ Memory Architecture π - Dual storage system separating memories from notes - Automated memory retrieval before each interaction - Structured memory saving with timestamps AI Models π€ - Primary GPT-4o-mini mini model for general interactions - DeepSeek-V3 Chat for specialized processing - Custom agent system with tool integration Storage Integration πΎ - Google Docs integration for persistent storage - Separate document management for memories and notes - Automated document updates and retrievals