Extract Google Docs content and deliver summaries via Telegram
Workflow Description
An AI agent listens for requests on Telegram, retrieves specified Google Docs content, processes it through OpenAI for intelligent analysis, and sends concise summaries back to users. The system maintains conversation history for improved context in follow-up queries.
How it works
- 1.Receive message from Telegram user via chat trigger
- 2.Fetch the requested Google Docs content using Google Docs API
- 3.Process content through OpenAI AI agent for analysis and summarization
- 4.Store conversation context and previous queries in system memory
- 5.Send summary and results directly to the user's Telegram conversation
Use cases
- Project managers sharing document updates from Google Docs with distributed teams
- Research teams automating daily summaries of complex documentation
- Companies delivering analytics reports to Telegram in condensed format
Requirements
- Active OpenAI API key with sufficient credits
- Telegram channel or group configured for message delivery
- Google Docs document shared or accessible through connected account
- n8n Memory feature enabled to maintain conversation context
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