Communication & Messaging

Telegram ChatBot with multiple sessions

Telegram ChatBot with multiple sessions

Manual
High
38
Nodes
Manual
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
38
Node Types
13

Node Types

lm Chat Open Ai
OpenAI Chat Model, OpenAI Chat Model1, OpenAI Chat Model2
3 nodes
memory Buffer Window
Simple Memory
1 node
telegram Trigger
Get message
1 node
switch
Command or text?
1 node
google Sheets
Get session, Disable previous session, Set new session, Update database, Response + Text, Set to expire, Get session1, Set new current session
8 nodes
telegram
Session activated, Send response, OK, KO, Send summary, Send answer, Send current session
7 nodes
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3, Sticky Note4, Sticky Note5, Sticky Note6
7 nodes
chain Summarization
Summarization Chain
1 node
chain Llm
Basic LLM Chain
1 node
set
Get message1, Get message2
2 nodes
if
Exist?
1 node
code
Trim resume, Prompt + Resume, Trim question, fullText
4 nodes
agent
Telegram Chatbot
1 node

Workflow JSON

41.16 KB
{
  "id": "A7dRnMf9WybO8O02",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "Telegram ChatBot with multiple sessions",
  "tags": [],
  "nodes": [
    {
      "id": "d3104851-90ec-4f0c-ab4d-aee5a6faf81b",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        640,
        1180
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4zwP0MSr8zkNvvV9",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "e25050a1-e49b-4b46-8452-ce7b3388c7f3",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        780,
        1180
      ],
     ...

Showing first 1000 characters. Click "Expand" to view the full JSON.