AutomationFlowsAI & RAG › AI Agent Chatbot with Long-Term Memory in Telegram

AI Agent Chatbot with Long-Term Memory in Telegram

Original n8n title: 🤖🧠 AI Agent Chatbot + Long Term Memory + Note Storage + Telegram (chat Trigger) (chat Trigger)

ByJoseph LePage @joe on n8n.io

This workflow template creates an AI agent chatbot with long-term memory and note storage using Google Docs and Telegram integration.

Chat trigger trigger★★★★☆ complexityAI-powered21 nodesChat TriggerOpenAI ChatMemory Buffer WindowGoogle Docs ToolGoogle DocsTelegramAgent
AI & RAG Trigger: Chat trigger Nodes: 21 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #2872 — we link there as the canonical source.

This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json

  

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow template creates an AI agent chatbot with long-term memory and note storage using Google Docs and Telegram integration.

Source: https://n8n.io/workflows/2872/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Summarize YouTube Videos & Chat About Content with GPT-4o-mini via Telegram. Uses splitOut, lmChatOpenAi, chainLlm, summarize. Chat trigger; 22 nodes.

OpenAI Chat, Chain Llm, Chat Trigger +7
AI & RAG

This n8n workflow automates the process of summarizing YouTube video transcripts and enables users to interact with the content through AI-powered question answering via Telegram. It leverages the GPT

OpenAI Chat, Chain Llm, Chat Trigger +7
AI & RAG

🤖🧠 AI Agent Chatbot + LONG TERM Memory + Note Storage + Telegram. Uses chatTrigger, stickyNote, lmChatOpenAi, memoryBufferWindow. Chat trigger; 21 nodes.

Chat Trigger, OpenAI Chat, Memory Buffer Window +4
AI & RAG

🤖🧠 AI Agent Chatbot + LONG TERM Memory + Note Storage + Telegram. Uses chatTrigger, stickyNote, lmChatOpenAi, memoryBufferWindow. Chat trigger; 21 nodes.

Chat Trigger, OpenAI Chat, Memory Buffer Window +4
AI & RAG

Community Node Disclaimer: This workflow uses KlickTipp community nodes.

Chat Trigger, OpenAI Chat, Memory Buffer Window +6