AI Agents

Connect Telegram to Google Sheets with Intelligent Processing

23 nodes 296 139 Automatic trigger
Download

Workflow Description

Automation receives Telegram messages, processes them through an AI agent with conversation memory, stores results in Google Sheets, and sends intelligent replies back to users while maintaining context across interactions.

How it works

  1. 1.Receive incoming messages from Telegram channel or chat
  2. 2.Process messages using AI agent with conversation memory buffer
  3. 3.Save extracted data and responses to Google Sheets
  4. 4.Send automated reply back to Telegram user with processed result

Use cases

  • Collect customer inquiries from Telegram and log them automatically in a shared Google Sheets database
  • Handle administrative requests via Telegram with intelligent processing and persistent record-keeping in Google Sheets

Requirements

  • Active Telegram account with Bot API token and chat access
  • Google Sheets spreadsheet with editor permissions configured
  • AI service API key (OpenRouter or compatible) for message processing

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Telegram Google Sheets AI Agent Chat Trigger Lm Chat Open Router Memory

Details

Trigger Automatic trigger
Nodes 23
Apps 6
Views 296
Downloads 139

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (23)

/

SendTyping

Set

#1

SetResponse

Set

#2

Settings

Set

#3

Schedule

Google Sheets

#4

ScheduleToMarkdown

Code

#5

ScheduleBot

Agent

#6

n8nChatSettings

Set

#7

telegramChatSettings

Set

#8

telegramInput

Set

#9

n8nInput

Chat Trigger

#10

Switch

Switch

#11

telegramResponse

Set

#12

n8nResponse

No Op

#13

LLM

Lm Chat Open Router

#14

Memory

Memory Buffer Window

#15

Sticky Note

Sticky Note

#16

Sticky Note1

Sticky Note

#17

Sticky Note2

Sticky Note

#18

Sticky Note3

Sticky Note

#19

Sticky Note4

Sticky Note

#20

Sticky Note5

Sticky Note

#21

Sticky Note6

Sticky Note

#22

Sticky Note7

Sticky Note

#23