Connect Telegram with Gmail
Workflow Description
Advanced automation template that bridges Telegram and Gmail through an intelligent agent powered by Gemini. It receives messages from Telegram, processes them with artificial intelligence, then automatically sends responses via email with comprehensive error handling.
How it works
- 1.Receive messages from designated Telegram channel via Chat Trigger
- 2.Process text using intelligent agent powered by Gemini model
- 3.Send processed responses and messages to target Gmail inbox
- 4.Handle errors and exceptions through reliable correction mechanisms
Use cases
- Receive customer inquiries on Telegram, process them intelligently, and archive via email
- Automate instant message responses while maintaining audit trails in Gmail
- Manage registrations and complaints from Telegram and route them to email automatically
Requirements
- Active Telegram account and bot application with valid Token
- Functional Gmail account with access permissions via OAuth or app password
- Valid Google Gemini API key and trained model for language processing
- Basic understanding of conditional operations and multiple paths in n8n
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 (35)
HTTP Request1
HTTP Request
Proxmox API Documentation
HTTP Request
Auto-fixing Output Parser
Output Parser Autofixing
Google Gemini Chat Model1
Gemini Model
Structured Output Parser
Output Parser Structured
Proxmox
HTTP Request
HTTP Request
HTTP Request
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Google Gemini Chat Model2
Gemini Model
Sticky Note2
Sticky Note
When chat message received
Chat Trigger
Telegram Trigger
Set
Gmail Trigger
Gmail
Webhook
Webhook
Sticky Note3
Sticky Note
Proxmox API Wiki
HTTP Request
Structure Response
Code
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Structgure Response from Proxmox
Code
Format Response and Hide Sensitive Data
Code
If
If
HTTP Request2
HTTP Request
Merge
Merge
HTTP Request3
HTTP Request
Google Gemini Chat Model
Gemini Model
AI Agent1
Agent
If1
If
HTTP Request4
HTTP Request
Merge1
Merge
AI Agent
Agent
Switch
Switch
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note