Process Telegram messages and automatically update Google Docs with AI responses
Workflow Description
An intelligent agent receives messages via Telegram, processes them using OpenAI, retrieves context from memory, and automatically updates Google Docs with responses and extracted information.
How it works
- 1.Receive incoming inquiry through Telegram Chat Trigger
- 2.Process the message using AI agent powered by OpenAI
- 3.Retrieve previous context from application memory
- 4.Fetch relevant data from Google Docs
- 5.Update the document with response and extracted information
Use cases
- Capture customer questions from Telegram and automatically document answers in organized Google Docs
- Aggregate meeting notes and discussions from Telegram and format them into structured documents
Requirements
- Active Telegram account with bot token configured
- Google Cloud project with Google Docs API enabled
- OpenAI API key for model access
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