Connect Google Docs with Telegram
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.Receive incoming message from Telegram via chat trigger
- 2.Process message through OpenAI agent with memory buffer for contextual understanding
- 3.Create or update Google Docs document with agent response
- 4.Send confirmation or reply back to user on Telegram
- 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
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