← All N8N workflows
AI & researchAgentAggregateGoogle SheetsOpenAI Chat ModelMemory Buffer Window

agent and receive telegram events and google sheets

Configured with Agent, Aggregate, Google Sheets, OpenAI Chat Model, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
AI & modelsAI AgentAgentAI & modelsOpenAI Chat ModelOpenAI Chat ModelData storeSimple MemoryMemory Buffer WindowTriggerTelegram TriggerTelegram TriggerData storeRetrive VocabularyGoogle SheetsTransformAggregate VocabularyListsAggregateMessagingAnswer to the UserTelegram

Node categories in this workflow

  • AI & models
  • Data store
  • Trigger
  • Transform
  • Messaging

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
AI AgentAI & modelsAgentSee node parameters
OpenAI Chat ModelAI & modelsOpenAI Chat ModelSee node parameters
Simple MemoryData storeMemory Buffer WindowSee node parameters
Telegram TriggerTriggerTelegram TriggerSee node parameters
Retrive VocabularyData storeGoogle SheetsSee node parameters
Aggregate Vocabulary ListsTransformAggregateSee node parameters
Answer to the UserMessagingTelegramSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

None declared. HTTP requests and Code nodes may still need configuration.

Workflow notes

3. Do you need more details?

3. Do you need more details?

Find a step-by-step guide in this tutorial 🎥 Watch My Tutorial

AI Agent

Pinyin + Example

1. Workflow Trigger with Telegram Message

1. Workflow Trigger with Telegram Message

  1. The workflow is triggered by a user message.
  2. The second node retrieves the vocabulary list from a Google Sheet.
  3. The third node combines all the words in Chinese and English in two distinctive lists.

How to setup?

2. Conversational AI Agent

2. Conversational AI Agent

The AI agent will take as inputs the two vocabulary lists and user's message to asks questions and process answers. Conversations are recorded by chat id; each user has its own conversation with the bot.

How to setup?

  • Telegram Nodes: set up your telegram bot credentials Learn more about the Telegram Trigger Node
  • AI Agent with the Chat Model:
    1. Add a chat model with the required credentials (Example: Open AI 4o-mini)
    2. Adapt the system prompt with the target learning language and the format of the question you want to have.
agent and receive telegram events and google sheets

agent and receive telegram events and google sheets

Purpose and structure

This folder contains the agent and receive telegram events and google sheets workflow. Its executable nodes use agent, aggregate, googleSheets, lmChatOpenAi, memoryBufferWindow, telegram, telegramTrigger. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Telegram Trigger

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Aggregate/0800_Aggregate_Telegram_Automate_Triggered.json MIT; preserve source notices.

More in AI & research