Skip to content

280+ free n8n automation templates — ready-to-use workflows for Gmail, Telegram, Slack, Discord, WhatsApp, Google Drive, Notion, OpenAI, and more. AI agents, RAG chatbots, email automation, social media, DevOps, and document processing. The largest open-source n8n template collection.

feat: add Telegram AI Support Bot with Conversation Memory template

unknown69338e549a5e
diff --git a/README.md b/README.md
index 30b00db..4595e7d 100644
--- a/README.md
+++ b/README.md
@@ -150,6 +150,7 @@ Explore 20 Telegram automation templates for n8n, including AI chatbots with Lan
| Telegram AI bot with LangChain nodes | Uses LangChain nodes for advanced AI conversations and tool use in Telegram. | Support | [Link to Template](Telegram/Telegram%20AI%20bot%20with%20LangChain%20nodes.json) |
| Telegram AI Chatbot | A general-purpose AI chatbot template for Telegram that can be customized for various use cases. | Support | [Link to Template](Telegram/Telegram%20AI%20Chatbot.json) |
| Telegram Bot with Supabase memory and OpenAI assistant integration | Adds long-term memory with Supabase to a Telegram bot, coupled with OpenAI for rich, context-aware conversations. | Support | [Link to Template](Telegram/Telegram%20Bot%20with%20Supabase%20memory%20and%20OpenAI%20assistant%20integration.json) |
+| Telegram AI Support Bot with Conversation Memory | Turns a Telegram bot into an AI support assistant with per-customer conversation memory and multilingual replies; works with OpenAI or local models via Ollama. | Support | [Link to Template](Telegram/Telegram%20AI%20Support%20Bot%20with%20Conversation%20Memory.json) |
| Telegram chat with PDF | Allows users to upload a PDF to Telegram and chat with its contents using AI-powered summarization and Q&A. | Ops | [Link to Template](Telegram/Telegram%20chat%20with%20PDF.json) |
| 🤖 Telegram Messaging Agent for Text_Audio_Images | Multi-modal agent that processes text, audio, and images in Telegram chats using AI for responses. | Support | [Link to Template](Telegram/%F0%9F%A4%96%20Telegram%20Messaging%20Agent%20for%20Text_Audio_Images.json) |
| Telegram to Spotify with OpenAI | Lets users request songs or playlists in Telegram and automatically create them in Spotify via OpenAI. | Marketing | [Link to Template](Telegram/Telegram%20to%20Spotify%20with%20OpenAI.json) |
diff --git a/Telegram/Telegram AI Support Bot with Conversation Memory.json b/Telegram/Telegram AI Support Bot with Conversation Memory.json
new file mode 100644
index 0000000..282068c
--- /dev/null
+++ b/Telegram/Telegram AI Support Bot with Conversation Memory.json
@@ -0,0 +1,96 @@
+{
+ "id": "SimpleTgAiBotLite",
+ "active": false,
+ "name": "Simple Telegram AI Bot (Lite)",
+ "nodes": [
+ {
+ "parameters": {
+ "updates": ["message"],
+ "additionalFields": {}
+ },
+ "id": "c3000000-0000-4000-8000-000000000001",
+ "name": "Telegram Trigger",
+ "type": "n8n-nodes-base.telegramTrigger",
+ "typeVersion": 1.2,
+ "position": [-380, 0],
+ "webhookId": "simple-ai-bot-inbound",
+ "credentials": {}
+ },
+ {
+ "parameters": {
+ "promptType": "define",
+ "text": "={{ $json.message.text }}",
+ "options": {
+ "systemMessage": "You are a friendly, concise assistant for a small business. Keep answers under 120 words. Reply in the customer's language. If you are not sure about business-specific facts (prices, policies, hours), say you'll check with the team instead of guessing."
+ }
+ },
+ "id": "c3000000-0000-4000-8000-000000000002",
+ "name": "AI Agent",
+ "type": "@n8n/n8n-nodes-langchain.agent",
+ "typeVersion": 1.9,
+ "position": [-100, 0]
+ },
+ {
+ "parameters": {
+ "model": {
+ "__rl": true,
+ "mode": "list",
+ "value": "gpt-4o-mini"
+ },
+ "options": {}
+ },
+ "id": "c3000000-0000-4000-8000-000000000003",
+ "name": "Chat Model",
+ "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
+ "typeVersion": 1.2,
+ "position": [-160, 200],
+ "credentials": {}
+ },
+ {
+ "parameters": {
+ "sessionIdType": "customKey",
+ "sessionKey": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
+ "contextWindowLength": 10
+ },
+ "id": "c3000000-0000-4000-8000-000000000004",
+ "name": "Chat Memory",
+ "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
+ "typeVersion": 1.3,
+ "position": [0, 200]
+ },
+ {
+ "parameters": {
+ "chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
+ "text": "={{ $json.output }}",
+ "additionalFields": {}
+ },
+ "id": "c3000000-0000-4000-8000-000000000005",
+ "name": "Send Reply",
+ "type": "n8n-nodes-base.telegram",
+ "typeVersion": 1.2,
+ "position": [180, 0],
+ "credentials": {}
+ }
+ ],
+ "connections": {
+ "Telegram Trigger": {
+ "main": [[{ "node": "AI Agent", "type": "main", "index": 0 }]]
+ },
+ "AI Agent": {
+ "main": [[{ "node": "Send Reply", "type": "main", "index": 0 }]]
+ },
+ "Chat Model": {
+ "ai_languageModel": [[{ "node": "AI Agent", "type": "ai_languageModel", "index": 0 }]]
+ },
+ "Chat Memory": {
+ "ai_memory": [[{ "node": "AI Agent", "type": "ai_memory", "index": 0 }]]
+ }
+ },
+ "settings": {
+ "executionOrder": "v1"
+ },
+ "pinData": {},
+ "meta": {
+ "templateCredsSetupCompleted": false
+ }
+}