Process Telegram queries and update Google Docs automatically
Workflow Description
An automation that receives messages via Telegram, routes them to an intelligent agent powered by OpenAI, retrieves relevant data from Google Docs, and updates documents or sends responses back to the user in real-time.
How it works
- 1.Receive incoming message from Telegram using chat trigger
- 2.Send message to AI agent with access to Google Docs data
- 3.Process request and update the document or reply on Telegram
Use cases
- Update task lists and notes in Google Docs via Telegram voice or text commands
- Automatically answer questions using information stored in shared Google Docs
- Monitor and comment on Google Docs content while sending notifications to Telegram
Requirements
- Active OpenAI account with valid API key
- Google Docs connected with edit permissions
- Telegram bot configured with authentication token
- Memory buffer configured 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