Intelligent AI Agent with Long-Term Memory & Note Storage
detail.loadingPreview
Build a sophisticated AI chatbot that remembers past conversations and stores important notes. Seamlessly integrates with Telegram for on-the-go access and management.
About This Workflow
This n8n workflow empowers you to create an intelligent AI Agent capable of remembering conversations and storing notes for long-term recall. Leveraging Langchain's capabilities, it integrates with OpenAI's GPT-4o-mini and DeepSeek-V3 for powerful natural language processing. Incoming chat messages from Telegram trigger the AI, which can retrieve past memories from Google Docs, process new information, and optionally store it back for future reference. This ensures a personalized and context-aware interaction, making your AI assistant truly intelligent and helpful.
Key Features
- Long-Term Memory Recall: Leverages Google Docs to store and retrieve past conversation context and user preferences.
- Note Storage & Retrieval: Dedicated functionality to save and manage specific notes, acting as a personal knowledge base.
- AI Agent Capabilities: Integrates with powerful LLMs (GPT-4o-mini, DeepSeek-V3) to understand and respond contextually.
- Telegram Integration: Receive messages and send responses directly through Telegram for convenient interaction.
- Customizable System Messages: Define your AI's persona and behavior with detailed system prompts.
How To Use
- Trigger Setup: Configure the
When chat message receivednode to listen for incoming messages (e.g., from Telegram). - Memory Management: Connect the
Retrieve Long Term Memoriesnode (Google Docs) to fetch past context and theSave Long Term Memoriesnode (Google Docs) to store new information. - Note Taking: Utilize the
GoogleDocsToolwith the 'Save Note' action for specific pieces of information. - LLM Integration: Configure the
gpt-4o-miniorDeepSeek-V3 Chatnodes with your OpenAI API credentials. - Agent Configuration: Set up the
AI Tools Agentnode, defining the system message and ensuring it can access memory and tools. - Output & Notifications: Use the
Chat Responsenode to prepare the AI's output and theTelegram Responsenode to send the final message back to the user via Telegram.
Apps Used
Workflow JSON
{
"id": "de18391c-2fd3-41b1-9db7-d67eaf003565",
"name": "Intelligent AI Agent with Long-Term Memory & Note Storage",
"nodes": 24,
"category": "Personal",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: de18391c-2fd3...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Smart Expense Tracking with Telegram & AI
Automate your personal finance management by turning your Telegram chat into an intelligent expense tracker. Simply send a photo of a receipt or a text message, and this workflow uses AI to categorize your spending, extract crucial details, and provide instant summaries.
Send Obsidian Notes as Emails with Dynamic Attachments
This workflow empowers you to transform your Obsidian notes into dynamic emails, complete with custom metadata from YAML frontmatter and automated attachment handling. Seamlessly share your thoughts and files directly from your preferred note-taking environment.
Daily AI-Powered Morning Briefing
Start your day with clarity and focus using this n8n workflow. It automatically fetches your tasks from Todoist and events from Google Calendar, then leverages AI to create a concise, personalized daily briefing delivered directly to your inbox every morning. This ensures you always know your top priorities and upcoming schedule at a glance.