AI Agents

Connect Telegram with Google Sheets

23 nodes 205 133 Automatic trigger
Download

Workflow Description

Automation connecting Telegram conversations to Google Sheets via an intelligent agent. Receives user messages, processes them with advanced language models, and stores data and conversation history in organized spreadsheets while maintaining context.

How it works

  1. 1.Receive messages from Telegram through trigger and verify message type
  2. 2.Process messages using an intelligent agent powered by language model via Open Router
  3. 3.Store messages and responses in Google Sheets with timestamps
  4. 4.Maintain conversation history in memory buffer and send reply back to user

Use cases

  • Automatically collect and categorize customer inquiries into organized spreadsheet records
  • Create intelligent conversations with full conversation history saved for analysis and review

Requirements

  • Active Telegram account with bot token
  • Google Sheets account with write permissions
  • Open Router API key to access language models
  • Configure memory buffer to maintain conversation context

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 205
Downloads 133

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