Skip to Workflow Atlas
Event-Driven AutomationAI systemIntermediate

AI-Powered Telegram Chatbot Workflow

AI-Powered Telegram Chatbot Workflow is a 31-node automation blueprint connecting OpenAI, Telegram, Google Sheets. Inspect its trigger, execution graph, branches, and implementation requirements.

Interactive system map

Follow the runtime. Inspect what supports it.

Solid horizontal paths show main-channel execution. Violet dependencies sit beneath the exact step they configure or empower.

31

Nodes

30

Links

1

Run groups

Connected tools

3 integrations

  • OpenAI
  • Telegram
  • Google Sheets

Canvas controls

Fit wide systems, then zoom into any run group.

AI-Powered Telegram Chatbot Workflow execution lanes1 run groups containing 31 workflow nodes and 30 visible links. Solid horizontal lines are main-channel runtime links. Violet dashed lines connect typed dependencies beneath the runtime step they support. Focus any node to inspect its immediate path.Get message. Telegram node, telegramTrigger. 0 incoming and 1 outgoing connections.STARTGet messageTELEGRAMTELEGRAMTRIGGER0 IN / 1 OUTGet session. Google Sheets node, googleSheets. 1 incoming and 1 outgoing connections.STEP 02Get sessionGOOGLE SHEETSGOOGLESHEETS1 IN / 1 OUTCommand or text?. decision node, switch. 1 incoming and 6 outgoing connections.STEP 03Command or text?DECISIONSWITCH1 IN / 6 OUTDisable previous session. Google Sheets node, googleSheets. 1 incoming and 1 outgoing connections.STEP 04Disable previous sessionGOOGLE SHEETSGOOGLESHEETS1 IN / 1 OUTSend current session. Telegram node, telegram. 1 incoming and 0 outgoing connections.STEP 04Send current sessionTELEGRAMTELEGRAM1 IN / 0 OUTGet message1. transform node, set. 1 incoming and 1 outgoing connections.STEP 04Get message1TRANSFORMSET1 IN / 1 OUTGet session1. Google Sheets node, googleSheets. 1 incoming and 1 outgoing connections.STEP 04Get session1GOOGLE SHEETSGOOGLESHEETS1 IN / 1 OUTGet message2. transform node, set. 1 incoming and 1 outgoing connections.STEP 04Get message2TRANSFORMSET1 IN / 1 OUTTelegram Chatbot. Telegram node, agent. 3 incoming and 1 outgoing connections.STEP 04Telegram ChatbotTELEGRAMAGENT3 IN / 1 OUTSet new session. Google Sheets node, googleSheets. 1 incoming and 1 outgoing connections.STEP 05Set new sessionGOOGLE SHEETSGOOGLESHEETS1 IN / 1 OUTTrim resume. transform node, code. 1 incoming and 1 outgoing connections.STEP 05Trim resumeTRANSFORMCODE1 IN / 1 OUTPrompt + Resume. transform node, code. 1 incoming and 1 outgoing connections.STEP 05Prompt + ResumeTRANSFORMCODE1 IN / 1 OUTTrim question. transform node, code. 1 incoming and 1 outgoing connections.STEP 05Trim questionTRANSFORMCODE1 IN / 1 OUTSend response. Telegram node, telegram. 1 incoming and 1 outgoing connections.STEP 05Send responseTELEGRAMTELEGRAM1 IN / 1 OUTSession activated. Telegram node, telegram. 1 incoming and 0 outgoing connections.STEP 06Session activatedTELEGRAMTELEGRAM1 IN / 0 OUTSet to expire. Google Sheets node, googleSheets. 1 incoming and 1 outgoing connections.STEP 06Set to expireGOOGLE SHEETSGOOGLESHEETS1 IN / 1 OUTSummarization Chain. ai node, chainSummarization. 2 incoming and 1 outgoing connections.STEP 06Summarization ChainAICHAINSUMMARIZATION2 IN / 1 OUTResponse + Text. Google Sheets node, googleSheets. 1 incoming and 1 outgoing connections.STEP 06Response + TextGOOGLE SHEETSGOOGLESHEETS1 IN / 1 OUTUpdate database. Google Sheets node, googleSheets. 1 incoming and 0 outgoing connections.STEP 06Update databaseGOOGLE SHEETSGOOGLESHEETS1 IN / 0 OUTSet new current session. Google Sheets node, googleSheets. 1 incoming and 1 outgoing connections.STEP 07Set new current sessionGOOGLE SHEETSGOOGLESHEETS1 IN / 1 OUTSend summary. Telegram node, telegram. 1 incoming and 0 outgoing connections.STEP 07Send summaryTELEGRAMTELEGRAM1 IN / 0 OUTfullText. transform node, code. 1 incoming and 1 outgoing connections.STEP 07fullTextTRANSFORMCODE1 IN / 1 OUTExist?. decision node, if. 1 incoming and 2 outgoing connections.STEP 08Exist?DECISIONIF1 IN / 2 OUTBasic LLM Chain. ai node, chainLlm. 2 incoming and 1 outgoing connections.STEP 08Basic LLM ChainAICHAINLLM2 IN / 1 OUTKO. Telegram node, telegram. 1 incoming and 0 outgoing connections.OUTCOMEKOTELEGRAMTELEGRAM1 IN / 0 OUTOK. Telegram node, telegram. 1 incoming and 0 outgoing connections.OUTCOMEOKTELEGRAMTELEGRAM1 IN / 0 OUTSend answer. Telegram node, telegram. 1 incoming and 0 outgoing connections.OUTCOMESend answerTELEGRAMTELEGRAM1 IN / 0 OUTOpenAI Chat Model. OpenAI node, lmChatOpenAi. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1OpenAI Chat ModelOPENAILMCHATOPENAI0 IN / 1 OUTSimple Memory. ai node, memoryBufferWindow. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1Simple MemoryAIMEMORYBUFFERWINDOW0 IN / 1 OUTOpenAI Chat Model1. OpenAI node, lmChatOpenAi. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1OpenAI Chat Model1OPENAILMCHATOPENAI0 IN / 1 OUTOpenAI Chat Model2. OpenAI node, lmChatOpenAi. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1OpenAI Chat Model2OPENAILMCHATOPENAI0 IN / 1 OUT

Signal inspector

Focus, hover, or select a step to isolate its runtime and support links.

Main-channel runtimeTyped dependencytriggeraidecisiontransformintegration
Scroll horizontally to follow every connected flow.31 connected nodesEnter or click to lock · Escape to clear

Runtime breakdown

Read the execution spine before its dependencies.

Each run group separates main-channel steps from the models, tools, retrievers, and data services that support them. Start and outcome labels apply only to runtime nodes.

01

Run Group

Get message

26 Execution Links4 Support Dependencies
  1. Start

    Get message

    Trigger

  2. Step 2

    Get session

    Integration

  3. Step 3

    Command or text?

    Decision

  4. Step 4

    Disable previous session

    Integration

    Send current session

    Integration

    Get message1

    Transform

    Get session1

    Integration

    Get message2

    Transform

    Telegram Chatbot

    AI reasoning

  5. Step 5

    Set new session

    Integration

    Trim resume

    Transform

    Prompt + Resume

    Transform

    Trim question

    Transform

    Send response

    Integration

  6. Step 6

    Session activated

    Integration

    Set to expire

    Integration

    Summarization Chain

    AI reasoning

    Response + Text

    Integration

    Update database

    Integration

  7. Step 7

    Set new current session

    Integration

    Send summary

    Integration

    fullText

    Transform

  8. Step 8

    Exist?

    Decision

    Basic LLM Chain

    AI reasoning

  9. Outcome

    KO

    Integration

    OK

    Integration

    Send answer

    Integration

Attached dependencies

These nodes support the runtime above; they are not additional starts or outcomes.

4 nodes
  • OpenAI Chat Model1

    AI reasoning dependency

  • OpenAI Chat Model2

    AI reasoning dependency

  • OpenAI Chat Model

    AI reasoning dependency

  • Simple Memory

    AI reasoning dependency

Turn the map into a plan

Adapt this blueprint to your company.

Bring the system shape into a workspace, then define the production controls, data boundaries, owners, and delivery sequence around your context.