🤖🧠 AI agent chatbot + LONG TERM memory + note storage + Telegram: n8n template
🤖🧠 AI agent chatbot + LONG TERM memory + note storage + Telegram is a free n8n workflow template by Joseph LePage with 13 nodes. It starts with the Chat Trigger node ("When chat message received") and uses OpenAI Chat Model, Google Docs Tool, Google Docs, Telegram and 1 more. You can paste it into your n8n editor in one click with FlowLume.
What this workflow does, step by step
- When chat message received (Chat Trigger node)
- Retrieve Long Term Memories (Google Docs node)
- Retrieve Notes (Google Docs node)
- Merge
- Aggregate
- AI Tools Agent (AI Agent node)
- Save Notes (Google Docs Tool node)
- gpt-4o-mini (OpenAI Chat Model node)
- Telegram Response (Telegram node)
- Chat Response (Edit Fields (Set) node)
- Window Buffer Memory (Simple Memory node)
- Save Long Term Memories (Google Docs Tool node)
The full workflow has 13 nodes; this list shows the main path from the trigger.
What you need before you paste it
Connect these accounts in n8n
- Google Docs (OAuth2) · used by Save Long Term Memories, Retrieve Long Term Memories, Save Notes, Retrieve Notes
- OpenAI · used by gpt-4o-mini, DeepSeek-V3 Chat
- Telegram · used by Telegram Response
Checked with FlowLume's setup checklist on 2026-11-25. In the extension, FlowLume Pro shows this checklist for any template before you paste.
Template facts
- Author
- Joseph LePage (verified n8n creator)
- Nodes
- 13
- Apps
- Chat Trigger, OpenAI Chat Model, Google Docs Tool, Google Docs, Telegram, AI Agent
- Uses AI
- Yes (n8n AI nodes)
- Categories
- Personal Productivity, AI Chatbot
- Views on n8n.io
- 58,510
- Published
- 10 February 2025
- Price
- Free
How to paste it with FlowLume
- Install FlowLume. Add the free FlowLume extension to Google Chrome from the Chrome Web Store.
- Open n8n. Open a new or existing workflow in your n8n editor (n8n Cloud or self-hosted).
- Find the template. Click the FlowLume button at the bottom right and search for "🤖🧠 AI agent chatbot + LONG TERM memory + note storage + Telegram".
- Paste it. Click Paste to n8n. All nodes and connections land on your canvas.
- Connect your accounts. Add your own credentials for Google Docs (OAuth2), OpenAI, Telegram, then run the workflow.
Similar n8n templates
- 🐋🤖 DeepSeek AI Agent + Telegram + LONG TERM Memory 🧠Telegram · Webhook · AI Agent · Chat Trigger
- ✨🩷Automated social media content publishing factory + system prompt compositionChat Trigger · HTTP Request · Gmail · Google Docs
- 🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + QdrantToken Splitter · Qdrant Vector Store · Google Gemini Chat Model · Information Extractor
- 🧠 Empower your AI chatbot with long-term memory and dynamic tool routingGoogle Docs · Telegram · Gmail · OpenAI Chat Model
- AI agent chatChat Trigger · OpenAI Chat Model · Http Request Tool · AI Agent
- ✨🤖Automate Multi-Platform Social Media Content Creation with AIGoogle Gemini Chat Model · OpenAI Chat Model · HTTP Request · Facebook Graph API
Template "🤖🧠 AI agent chatbot + LONG TERM memory + note storage + Telegram" by Joseph LePage, published on n8n.io. The template and its description belong to its author; this page only summarises its structure. FlowLume is an independent tool by DrakenLume and is not affiliated with n8n GmbH. n8n is a trademark of n8n GmbH.