Developer & DevOps

Extract Gmail Messages and Forward to Telegram Channels

24 nodes 285 122 Automatic trigger
Download

Workflow Description

An intelligent automation workflow that monitors Gmail inboxes, processes incoming messages using AI (Google Gemini), and instantly sends summaries and automated responses to specified Telegram channels, enabling real-time team notifications.

How it works

  1. 1.Monitor incoming Gmail messages using scheduled or event-triggered checks
  2. 2.Process email content through LLM Chain and Gemini to extract key information and generate insights
  3. 3.Aggregate and format processed data for consistent message structure
  4. 4.Send formatted summaries and responses to designated Telegram channels
  5. 5.Log all operations and status updates via Nostrobotsread for audit trails
  6. 6.Handle errors and implement retry logic for failed deliveries

Use cases

  • Automatically summarize critical work emails and notify team members instantly via Telegram
  • Generate intelligent auto-replies for common inquiries by analyzing email content and sending responses
  • Forward alerts and notifications from other applications through Gmail to team Telegram groups
  • Build a smart notification system that analyzes message importance and routes urgent items first

Requirements

  • Active Gmail account with API access and message read permissions enabled
  • Telegram account with bot token created and access to target channels
  • Google Gemini API key or equivalent LLM service configured and authenticated
  • Defined filtering rules and processing logic aligned with your workflow requirements
  • Optional: Nostrobotsread configuration for operation logging and monitoring

Service Value

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

Apps Used

Gmail LLM Chain Gemini Telegram Nostrobotsread

Details

Trigger Automatic trigger
Nodes 24
Apps 5
Views 285
Downloads 122

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 (24)

/

When clicking ‘Test workflow’

Manual Trigger

#1

Get HTML

Markdown

#2

Gmail Themes

Gmail

#3

Get HTML Report

Markdown

#4

#damus Themes List

LLM Chain

#5

#damus Thread Themes

LLM Chain

#6

#damus Themes & Threads Report

LLM Chain

#7

gemini-2.0-flash-lite-preview

Gemini Model

#8

gemini-2.0-flash-lite-preview1

Gemini Model

#9

gemini-2.0-flash-lite-preview2

Gemini Model

#10

Gmail Report

Gmail

#11

Aggregate #damus Content

Aggregate

#12

Sticky Note

Sticky Note

#13

Sticky Note1

Sticky Note

#14

Sticky Note2

Sticky Note

#15

Merge Themes and Content

Merge

#16

Schedule Trigger

Schedule Trigger

#17

Sticky Note3

Sticky Note

#18

Sticky Note4

Sticky Note

#19

Sticky Note5

Sticky Note

#20

Telegram Themes

Set

#21

Telegram Themes & Threads

Set

#22

Sticky Note6

Sticky Note

#23

Nostr Read #damus

Nostrobotsread

#24