Connect Google Docs with Telegram
Workflow Description
An intelligent automation that connects Telegram with Google Docs using an AI Agent. The system receives messages on Telegram, processes them with OpenAI, retrieves relevant document content, and sends intelligent responses back to users while maintaining conversation history.
How it works
- 1.Receive incoming messages from Telegram through the chat trigger
- 2.Process messages with an OpenAI-powered intelligent agent
- 3.Retrieve relevant information from Google Docs using document tools
- 4.Send generated responses directly to the Telegram conversation
- 5.Store conversation context in memory for continuous interaction
Use cases
- Provide instant answers to team questions about shared Google Docs
- Automate information delivery from documents to Telegram without manual intervention
Requirements
- Valid OpenAI API key with appropriate permissions
- Google account with access rights to target Google Docs
- Telegram Bot authentication token
- Read and write permissions for document integration
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