π€π§ AI Agent Chatbot + LONG TERM Memory + Note Storage + Telegram
n8n template #2872Summary
Use templateThis 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 storag
How to set it up
- Open template #2872 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create 3 credentials under Credentials β Add credential: Telegram, Google Docs, OpenAI Chat Model. Then open each of those nodes and pick the credential.
- Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- Toggle the workflow to Active so its trigger runs on its own.
Hand off to your agent
Prompt
Help me set up the n8n workflow "π€π§ AI Agent Chatbot + LONG TERM Memory + Note Storage + Telegram" (https://n8n.io/workflows/2872). It uses: Telegram, Google Docs, AI Agent, OpenAI Chat Model, Simple Memory. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Questions
Yes. Joseph LePage published it free on n8n.io as a verified creator, and it has 52K views. It runs on n8n Cloud or a self-hosted n8n instance.
Telegram, Google Docs, OpenAI Chat Model. The other 2 nodes are built into n8n.
Similar workflows
NameViews
- π€ AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant65K
- β¨π©·Automated Social Media Content Publishing Factory + System Prompt Composition55K
- π§ Empower Your AI Chatbot with Long-Term Memory and Dynamic Tool Routing29K
- ππ€ DeepSeek AI Agent + Telegram + LONG TERM Memory π§ 29K
- Angie, personal AI assistant with Telegram voice and text326K
- Conversational Telegram Bot with GPT-5/GPT-4o for Text and Voice Messages82K
- Telegram AI bot with LangChain nodes59K
- AI-Powered WhatsApp Chatbot for Text, Voice, Images, and PDF with RAG47K