AI Agents

Connect Telegram with Google Sheets

10 nodes 202 158 Automatic trigger
Download

Workflow Description

Intelligent automation connecting Telegram to Google Sheets using an AI Agent powered by OpenAI. Receives messages from Telegram, processes them with artificial intelligence, and automatically logs them into a Sheets spreadsheet while maintaining context through memory.

How it works

  1. 1.Enable Telegram trigger to receive incoming messages
  2. 2.Process messages through OpenAI AI Agent with buffered memory
  3. 3.Save processed data to Google Sheets
  4. 4.Return intelligent responses to user via Telegram

Use cases

  • Automatically log requests and notes from Telegram into an organized data spreadsheet
  • Create an intelligent customer support system that collects and processes inquiries with AI

Requirements

  • Active Telegram account with bot token configured
  • Google Sheets account with write and edit permissions
  • OpenAI API key for model access

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

AI Agent OpenAI Memory Telegram Google Sheets

Details

Trigger Automatic trigger
Nodes 10
Apps 5
Views 202
Downloads 158

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 (10)

Sticky Note3

Sticky Note

#1

AI Agent

Agent

#2

OpenAI Chat Model

OpenAI

#3

Simple Memory

Memory Buffer Window

#4

Telegram Trigger

Set

#5

Retrive Vocabulary

Google Sheets

#6

Sticky Note1

Sticky Note

#7

Sticky Note

Sticky Note

#8

Aggregate Vocabulary Lists

Aggregate

#9

Answer to the User

Set

#10