AI Agents

Connect Google Docs with Telegram

21 nodes 217 120 Automatic trigger
Download

Workflow Description

An intelligent agent that receives Telegram messages, processes them using OpenAI's language model with conversation memory, and automatically creates or updates Google Docs based on the chat content and context.

How it works

  1. 1.Receive incoming message from Telegram via chat trigger
  2. 2.Process message through OpenAI agent with memory buffer for contextual understanding
  3. 3.Create or update Google Docs document with agent response
  4. 4.Send confirmation or reply back to user on Telegram
  5. 5.Aggregate and merge results into unified record

Use cases

  • Auto-document meeting notes from Telegram conversations into shared Google Docs
  • Generate task lists and reports directly from team messages
  • Create intelligent content summaries in documents based on ongoing team discussions

Requirements

  • OpenAI API key with valid account credentials
  • Google account with Google Docs API access permissions
  • Telegram bot configured with valid bot token
  • Clear system prompt to guide agent behavior and response format

Service Value

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

Apps Used

Chat Trigger OpenAI Memory Google Docs Telegram AI Agent

Details

Trigger Automatic trigger
Nodes 21
Apps 6
Views 217
Downloads 120

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

/

When chat message received

Chat Trigger

#1

Sticky Note7

Sticky Note

#2

Sticky Note8

Sticky Note

#3

Sticky Note9

Sticky Note

#4

gpt-4o-mini

OpenAI

#5

Chat Response

Set

#6

Window Buffer Memory

Memory Buffer Window

#7

Save Long Term Memories

Google Docs Tool

#8

Retrieve Long Term Memories

Google Docs

#9

Sticky Note

Sticky Note

#10

Telegram Response

Set

#11

Sticky Note1

Sticky Note

#12

Sticky Note2

Sticky Note

#13

DeepSeek-V3 Chat

OpenAI

#14

AI Tools Agent

Agent

#15

Sticky Note10

Sticky Note

#16

Save Notes

Google Docs Tool

#17

Sticky Note11

Sticky Note

#18

Retrieve Notes

Google Docs

#19

Aggregate

Aggregate

#20

Merge

Merge

#21