Skip to main content

Monitor Gmail and send AI summaries to Telegram using GPT-4o-mini and keywords

Workflow preview

Workflow preview
100%
Monitor Gmail and send AI summaries to Telegram using GPT-4o-mini and keywords preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

An intelligent automation workflow that monitors your Gmail inbox and sends AI powered summaries of important emails directly to your Telegram chat. Perfect for staying updated on critical communic...

Best for

  • Personal Productivity automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.stickynote, n8n-nodes-base.gmailtrigger, n8n-nodes-base.if, n8n-nodes-base.noop, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.telegram

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Roshan Ramani.

Original n8n.io source

1.1 Workflow description

Title
Monitor Gmail and send AI summaries to Telegram using GPT-4o-mini and keywords
Workflow name
Monitor Gmail and send AI summaries to Telegram using GPT-4o-mini and keywords

Overview

An intelligent automation workflow that monitors your Gmail inbox and sends AI-powered summaries of important emails directly to your Telegram chat. Perfect for staying updated on critical communications without constantly checking your email.

🌟 Key Features

  • Real-time Email Monitoring: Checks Gmail every minute for new emails
  • Smart Content Filtering: Only processes emails containing important keywords
  • AI-Powered Summarization: Uses GPT-4o-mini to create concise, human-readable summaries
  • Instant Telegram Notifications: Delivers summaries directly to your preferred Telegram chat
  • Customizable Keywords: Easily modify filters to match your specific needs

πŸ”§ How It Works

Workflow Steps:

  1. Email Trigger: Continuously monitors your Gmail inbox for new messages
  2. Smart Filter: Analyzes email subject and body for important keywords (sales, jobs, etc.)
  3. AI Processing: Sends relevant emails to OpenAI for intelligent summarization
  4. Telegram Delivery: Sends formatted summary to your Telegram chat

Sample Output:

πŸ“¦ Your Flipkart order "Bluetooth Speaker" was delivered today. Enjoy!
πŸ’° Invoice from AWS for $23.50 is due by July 20. Check billing portal.
βœ… HR shared your July payslip. No action needed unless there's an error.

πŸ›  Setup Requirements

  • Gmail account with OAuth2 credentials
  • OpenAI API key
  • Telegram bot token and chat ID
  • N8N instance (cloud or self-hosted)

πŸ“‹ Use Cases

  • Business Alerts: Payment due notices, invoice reminders
  • E-commerce: Order confirmations, delivery updates
  • HR Communications: Payslips, policy updates, announcements
  • Security: Login alerts, security notifications
  • Job Hunting: Application responses, interview invitations

βš™οΈ Customization Options

  • Keyword Filters: Add/remove keywords in the filter node (invoice, payment, security, delivery, etc.)
  • AI Prompt: Modify the summarization style and format
  • Polling Frequency: Adjust email checking interval
  • Multiple Chats: Send to different Telegram chats based on email type

πŸ”’ Privacy & Security

  • Processes emails locally through n8n
  • No email content stored permanently
  • Uses secure OAuth2 authentication
  • Respects Gmail API rate limits

πŸ“Š Performance

  • Lightweight and efficient
  • Minimal resource usage
  • Fast AI processing with GPT-4o-mini
  • Reliable Telegram delivery

πŸ’‘ Pro Tips

  • Start with broad keywords and refine based on results
  • Use multiple condition branches for different email types
  • Set up different Telegram chats for work vs personal emails
  • Monitor your OpenAI usage to avoid unexpected costs

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Check for New Emails

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.2

Block 4 - Important Email Filter

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 5 - Ignore Unimportant Email

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 6 - Summarize Email with GPT-4o

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 7 - Send Summary to Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

3. Summary Table

Workflow Monitor Gmail and send AI summaries to Telegram using GPT-4o-mini and keywords
Complexity intermediate
Nodes 7
Categories Personal Productivity, AI Summarization
Author Roshan Ramani
Published 15 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6025/6025.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Monitor Gmail and send AI summaries to Telegram using GPT-4o-mini and keywords do?

An intelligent automation workflow that monitors your Gmail inbox and sends AI powered summaries of important emails directly to your Telegram chat. Perfect for staying updated on critical communic...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Summarization use case.