Connect Google Docs with Telegram
Workflow Description
An intelligent agent that receives Telegram messages, processes them using OpenAI, and interacts with Google Docs for reading and editing operations, maintaining conversation context through advanced memory management.
How it works
- 1.Receive Telegram messages via direct chat trigger
- 2.Process requests using OpenAI language model with preserved context
- 3.Execute Google Docs actions (read, edit, create) based on user intent
- 4.Return results to Telegram user while maintaining conversation history
Use cases
- Collaborate on documents in real-time through Telegram without opening Google Docs
- Query and retrieve specific document content through natural language requests
- Generate automated reports and summaries from existing documents and deliver instantly
Requirements
- Active Google Cloud account with Google Docs API permissions enabled
- Valid and activated Telegram Bot token
- OpenAI API key for intelligent text processing
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (21)
When chat message received
Chat Trigger
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note
gpt-4o-mini
OpenAI
Chat Response
Set
Window Buffer Memory
Memory Buffer Window
Save Long Term Memories
Google Docs Tool
Retrieve Long Term Memories
Google Docs
Sticky Note
Sticky Note
Telegram Response
Set
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
DeepSeek-V3 Chat
OpenAI
AI Tools Agent
Agent
Sticky Note10
Sticky Note
Save Notes
Google Docs Tool
Sticky Note11
Sticky Note
Retrieve Notes
Google Docs
Aggregate
Aggregate
Merge
Merge