π§ Empower Your AI Chatbot with Long-Term Memory and Dynamic Tool Routing
n8n template #3025Summary
Use templateEmpower Your AI Chatbot with Long-Term Memory and Dynamic Tool Routing This n8n workflow equips your AI agent with long-term memory and a dynamic tools router, enabling it to provide intelligent, context-aware responses while managing tasks across multiple tools. By combining persistent memory and modular task routing, this workflow makes your AI smarter, more efficient, and highly adaptable. π₯ Who Is This For? AI Developers & Automation Enthusiasts: Integrate advanced AI features like long-term memory and task routing without coding expertise. Businesses & Teams: Automate tasks while maintaining personalized, context-aware interactions. Customer Support Teams: Improve user experience with
How to set it up
- Open template #3025 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create 4 credentials under Credentials β Add credential: Telegram, Gmail, 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 "π§ Empower Your AI Chatbot with Long-Term Memory and Dynamic Tool Routing" (https://n8n.io/workflows/3025). It uses: Telegram, Gmail, Google Docs, AI Agent, Basic LLM Chain, OpenAI Chat Model, Simple Memory, Call n8n Workflow Tool. 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 29K views. It runs on n8n Cloud or a self-hosted n8n instance.
Telegram, Gmail, Google Docs, OpenAI Chat Model. The other 4 nodes are built into n8n.
Similar workflows
NameViews
- β¨π©·Automated Social Media Content Publishing Factory + System Prompt Composition55K
- Automate social media content with AI for Instagram, Facebook, LinkedIn & X16K
- Explore n8n Nodes in a Visual Reference Library5,197
- Automate SEO blog creation + social media with GPT-4, Perplexity and WordPress5,798
- π€ AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant65K
- Telegram AI bot with LangChain nodes59K
- π€π§ AI Agent Chatbot + LONG TERM Memory + Note Storage + Telegram52K
- π Perplexity Research to HTML: AI-Powered Content Creation35K