AI Agents

Process Telegram messages with AI and log them to Google Sheets

10 nodes 302 184 Automatic trigger
Download

Workflow Description

This automation receives Telegram messages, processes them through an AI agent powered by OpenAI, maintains conversation memory, and automatically records interactions in Google Sheets for centralized tracking and analysis.

How it works

  1. 1.Trigger on new Telegram message received
  2. 2.Process message through AI agent with conversation memory context
  3. 3.Send response back to Telegram and log data to Google Sheets

Use cases

  • Automatically capture customer inquiries with intelligent AI responses
  • Create organized conversation logs in Google Sheets for later analysis and reporting

Requirements

  • Telegram bot token and API credentials configured
  • Active OpenAI API key with sufficient quota
  • Full access permissions to target Google Sheets document

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 302
Downloads 184

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