Connect Telegram with Google Docs
Workflow Description
Automation receives Telegram messages via webhook, processes them using an OpenAI-powered intelligent agent, and automatically saves results to Google Docs while maintaining conversation context for continuous learning.
How it works
- 1.Receive Telegram messages through webhook with validation and parsing
- 2.Process text using an intelligent agent powered by OpenAI with conversation memory
- 3.Automatically save responses and content to your designated Google Docs document
Use cases
- Document and organize intelligent Telegram conversations in structured Google Docs
- Create comprehensive question-answer logs with advanced AI-driven insights
Requirements
- Active Telegram account with properly configured webhook endpoint
- OpenAI API key and Google account with document editing permissions
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 (23)
Check User & Chat ID
If
Error message
Set
Sticky Note
Sticky Note
Listen for Telegram Events
Webhook
Sticky Note1
Sticky Note
Validation
Set
Sticky Note4
Sticky Note
Message Router
Switch
AI Agent
Agent
Merge
Merge
Window Buffer Memory
Memory Buffer Window
When chat message received
Chat Trigger
Sticky Note10
Sticky Note
Telegram Response
Set
Save Long Term Memories
Google Docs Tool
Sticky Note3
Sticky Note
Retrieve Long Term Memories
Google Docs
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Response Error message
Set
Sticky Note12
Sticky Note
DeepSeek-R1 Reasoning
OpenAI
DeepSeek-V3 Chat
OpenAI