Skip to main content

Get actionable Gmail alerts on Telegram with OpenAI

Workflow preview

Workflow preview
100%
Get actionable Gmail alerts on Telegram with OpenAI preview
Open on n8n.io

1. Workflow Overview

AI Email Assistant: Get Actionable Gmail Alerts on Telegram Who is this for? This template is designed for busy professionals, founders, fre...

Best for

  • AI Chatbot automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.gmail, n8n-nodes-base.if, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.openai, 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 Dr. Firas.

Original n8n.io source

1.1 Workflow description

Title
Get actionable Gmail alerts on Telegram with OpenAI
Workflow name
Get actionable Gmail alerts on Telegram with OpenAI

AI Email Assistant: Get Actionable Gmail Alerts on Telegram

Who is this for?

This template is designed for busy professionals, founders, freelancers, and support teams who want to stay on top of important emails without constantly checking Gmail. It’s ideal for anyone who needs instant, actionable notifications directly on Telegram.

What problem is this workflow solving? / Use case

Important emails often get buried under newsletters, promotions, and low-priority messages. Constantly refreshing Gmail wastes time and breaks focus.

This workflow acts as an AI-powered email filter and alert system. It monitors your inbox, analyzes incoming messages, and sends only relevant, actionable summaries to Telegram — so you can react quickly without inbox overload.

What this workflow does

  • Monitors your Gmail inbox for new emails.
  • Uses AI (OpenAI) to analyze and classify each email.
  • Extracts key information such as:
  • Urgency level
  • Required action
  • Summary of the message
  • Sends a structured, concise alert to Telegram.
  • Optionally highlights emails that require:
  • Immediate reply
  • Payment confirmation
  • Meeting scheduling
  • Client follow-up

The result: you receive smart, decision-ready notifications instead of raw email forwards.

Setup

  1. Import the workflow into your n8n instance.

  2. Connect Gmail credentials

  • Add your Google account in n8n.
  • Grant permission to read your inbox.
  • Select the mailbox/folder you want to monitor.
  1. Set up OpenAI credentials
  • Add your OpenAI API key in n8n.
  • Ensure billing is active.
  1. Connect Telegram
  • Create a Telegram bot via @BotFather.
  • Copy the bot token into n8n.
  • Add your Chat ID (or group ID) where alerts should be sent.
  1. Test the workflow
  • Send a test email to your Gmail.
  • Confirm that a summarized, actionable message appears in Telegram.

How to customize this workflow to your needs

  • Filter specific senders Modify the Gmail trigger to monitor only emails from clients, payment platforms, or specific domains.

  • Adjust AI instructions Edit the system prompt to:

  • Classify emails by priority (High / Medium / Low)

  • Detect invoices, contracts, or support requests

  • Automatically draft suggested replies

  • Change alert format Customize the Telegram message structure (add emojis, urgency labels, or action buttons).

  • Add automation branches Extend the workflow to:

  • Create tasks in Notion or Trello

  • Add calendar events automatically

  • Label emails in Gmail based on AI classification


With this template, your inbox becomes an AI-powered assistant that filters noise and delivers only what truly matters — directly to Telegram in real time.


👋 Need help or want to customize this?

📩 Contact: LinkedIn 📺 YouTube: @DRFIRASS 🚀 Workshops: Mes Ateliers n8n

Need help customizing?

Contact me for consulting and support : Linkedin / Youtube / 🚀 Mes Ateliers n8n

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 - Sticky Note

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

Block 2 - Sticky Note1

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

Block 3 - Schedule 3x Daily Check

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

Block 4 - Gmail – Fetch Unread Emails

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 5 - Unread Emails Found?

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

Block 6 - Prepare Email Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - AI – Analyze & Classify Emails

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

Block 8 - Format Telegram Alert

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Action Required?

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

Block 10 - Telegram – Send Smart Summary

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

3. Summary Table

Workflow Get actionable Gmail alerts on Telegram with OpenAI
Complexity intermediate
Nodes 10
Categories AI Chatbot
Author Dr. Firas
Published 28 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13766/13766.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 Get actionable Gmail alerts on Telegram with OpenAI do?

AI Email Assistant: Get Actionable Gmail Alerts on Telegram Who is this for? This template is designed for busy professionals, founders, fre...

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 AI Chatbot use case.