AI Agents

Intelligent message routing from Telegram to Gmail with AI analysis

35 nodes 285 142 Automatic trigger
Download

Workflow Description

An intelligent automation that receives Telegram messages, analyzes them through Gemini AI, extracts key information, generates smart responses, and sends organized summaries to Gmail for team follow-up.

How it works

  1. 1.Receive incoming message from Telegram using the chat trigger
  2. 2.Process message content through an AI agent powered by Gemini for intelligent analysis
  3. 3.Parse and structure extracted data, then forward summary to Gmail inbox
  4. 4.Send intelligent reply back to Telegram sender

Use cases

  • Route customer inquiries from Telegram to email with AI-enhanced summaries for team review
  • Archive important Telegram conversations in Gmail with automatic intelligent summaries
  • Automate customer support by analyzing Telegram requests and creating documented records

Requirements

  • Active Telegram bot with API credentials and message access permissions
  • Gmail account with API keys and message sending authorization
  • Google Cloud API key configured for Gemini AI language model access

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

HTTP Request Output Parser Gemini Chat Trigger Telegram Gmail AI Agent

Details

Trigger Automatic trigger
Nodes 35
Apps 7
Views 285
Downloads 142

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (35)

/

HTTP Request1

HTTP Request

#1

Proxmox API Documentation

HTTP Request

#2

Auto-fixing Output Parser

Output Parser Autofixing

#3

Google Gemini Chat Model1

Gemini Model

#4

Structured Output Parser

Output Parser Structured

#5

Proxmox

HTTP Request

#6

HTTP Request

HTTP Request

#7

Sticky Note

Sticky Note

#8

Sticky Note1

Sticky Note

#9

Google Gemini Chat Model2

Gemini Model

#10

Sticky Note2

Sticky Note

#11

When chat message received

Chat Trigger

#12

Telegram Trigger

Set

#13

Gmail Trigger

Gmail

#14

Webhook

Webhook

#15

Sticky Note3

Sticky Note

#16

Proxmox API Wiki

HTTP Request

#17

Structure Response

Code

#18

Sticky Note4

Sticky Note

#19

Sticky Note5

Sticky Note

#20

Structgure Response from Proxmox

Code

#21

Format Response and Hide Sensitive Data

Code

#22

If

If

#23

HTTP Request2

HTTP Request

#24

Merge

Merge

#25

HTTP Request3

HTTP Request

#26

Google Gemini Chat Model

Gemini Model

#27

AI Agent1

Agent

#28

If1

If

#29

HTTP Request4

HTTP Request

#30

Merge1

Merge

#31

AI Agent

Agent

#32

Switch

Switch

#33

Sticky Note6

Sticky Note

#34

Sticky Note7

Sticky Note

#35