AutomationFlowsAI & RAG › Telegram Chat Summarizer with AI - Using @telepilotco/n8n-nodes-telepilot

Telegram Chat Summarizer with AI - Using @telepilotco/n8n-nodes-telepilot

ByAlexey from Mingles.ai @alexx on n8n.io

Template Description Automatically generate intelligent summaries of your Telegram community discussions using AI, helping you stay updated on important conversations without reading every message. This powerful n8n automation monitors your Telegram chats and creates periodic…

Event trigger★★★★☆ complexityAI-powered17 nodesAgentOpenRouter ChatMemory Mongo Db ChatChat Trigger@Telepilotco/N8N Nodes Telepilot
AI & RAG Trigger: Event Nodes: 17 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #4461 — 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
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "ce077951-bcd3-47b5-833f-ab6ffa45ba42",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -460,
        -220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "46856e0f-8bc1-43b4-ad99-0231ddae0cf8",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        200,
        -120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0ffe7cdc-e5eb-46dd-9572-a6f904ae300a",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -80,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1a6e5385-1e93-4fa0-a5c5-009a50f1b4ce",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        140,
        140
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "cb26e1b0-b6bf-4f2c-ba21-c9c67dc52631",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        120,
        360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0278536a-f7d2-4e6b-af64-a3ca68f2f78a",
      "name": "MongoDB Chat Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryMongoDbChat",
      "position": [
        280,
        360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "47c84dce-62f2-44e2-9f83-1d477ac2ff9d",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -460,
        -20
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "cfbe9deb-68cf-43e6-8c63-00d95265c8c1",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        220,
        -360
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f439d06c-b213-486d-8372-48895a3fc3e6",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        -560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f318fa9a-2a33-4b0f-9f8f-8407448e31a2",
      "name": "Filter Last 2 hours",
      "type": "n8n-nodes-base.filter",
      "position": [
        640,
        -120
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "359f44ca-ff53-49ad-b03b-3cb7f292f83a",
      "name": "Get message text",
      "type": "n8n-nodes-base.set",
      "position": [
        420,
        -120
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c6263e66-e4c0-4ac1-bd90-605c8cdfe758",
      "name": "Skip Empty Message",
      "type": "n8n-nodes-base.filter",
      "position": [
        880,
        -120
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "413334ab-8855-4cac-9869-b9f51ca279b9",
      "name": "Send Summary To Chat",
      "type": "@telepilotco/n8n-nodes-telepilot.telePilot",
      "position": [
        540,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "80c82a08-c34a-4c41-b773-6e7f4040cd88",
      "name": "Last Messages History",
      "type": "@telepilotco/n8n-nodes-telepilot.telePilot",
      "position": [
        -20,
        -120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7d0d6d19-0631-4db2-82cf-0a5b08afd6c4",
      "name": "Get Chat Id By Name",
      "type": "@telepilotco/n8n-nodes-telepilot.telePilot",
      "position": [
        -240,
        -120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d48357c3-9e56-4e31-b76b-f2d5d663a1ab",
      "name": "Try this for check Login",
      "type": "@telepilotco/n8n-nodes-telepilot.telePilot",
      "position": [
        740,
        -360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2c1f5fa4-0c8b-4b1f-8811-611ce3d4d17d",
      "name": "Telegram Login",
      "type": "@telepilotco/n8n-nodes-telepilot.telePilot",
      "position": [
        440,
        -360
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send Summary To Chat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Get message text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get message text": {
      "main": [
        [
          {
            "node": "Filter Last 2 hours",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Chat Id By Name",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Skip Empty Message": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Last 2 hours": {
      "main": [
        [
          {
            "node": "Skip Empty Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Chat Id By Name": {
      "main": [
        [
          {
            "node": "Last Messages History",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MongoDB Chat Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Last Messages History": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Telegram Login",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Get Chat Id By Name",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

Template Description Automatically generate intelligent summaries of your Telegram community discussions using AI, helping you stay updated on important conversations without reading every message. This powerful n8n automation monitors your Telegram chats and creates periodic…

Source: https://n8n.io/workflows/4461/ — 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

This workflow is designed for e-commerce, marketing teams, or creators who want to automate the production of high-quality, AI-generated product visuals and ad creatives.

HTTP Request, Error Trigger, Discord +7
AI & RAG

My workflow 7. Uses lmChatOpenRouter, slackTrigger, chatTrigger, agent. Event-driven trigger; 37 nodes.

OpenRouter Chat, Slack Trigger, Chat Trigger +7
AI & RAG

The Video Grok Agent is an AI-powered video generation and editing workflow that uses Grok 4.1 Fast (via OpenRouter) and Grok Imagine Video to create and modify videos through natural language.

Tool Workflow, Execute Workflow Trigger, Chat Trigger +5
AI & RAG

Ultimate Browser Agent. Uses airtopTool, slack, airtop, executeWorkflowTrigger. Event-driven trigger; 24 nodes.

Airtop Tool, Slack, Airtop +8
AI & RAG

This general-purpose sub-agent combines multiple research and automation tools to support high-impact decision-making for animal advocacy workflows. It’s designed to act as a reusable, modular unit wi

Tool Http Request, OpenRouter Chat, Agent +7