Templates / Organize Gmail with GPT-4 & send urgent notifications via Telegram and WhatsApp

Organize Gmail with GPT-4 & send urgent notifications via Telegram and WhatsApp

Ready for 3.0

by Iniyavan JC ✓ · 1,535 views · created 2025-08-11 · Ticket Management, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 23 nodes and runs on Gmail events. Along the way it connects Gmail, WhatsApp Business Cloud, Telegram and OpenRouter Chat Model and 2 more.

How it runs

Trigger: On Gmail events.

  1. Get a message (Gmail): get
  2. AI Agent: runs an AI agent, with model: OpenRouter Chat Model, Google Gemini Chat Model; 2 tools (Check Sent, Check Sent); output parser: Structured Output Parser
  3. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  4. AI Agent: runs an AI agent, with model: OpenRouter Chat Model, Google Gemini Chat Model; memory: Simple Memory
  5. Create Label if Doesn't exist (Gmail): create (label)
  6. Code: runs custom JavaScript code
  7. Get Existing Labels (Gmail): work with label
  8. If: checks a condition and branches into true / false
  9. Wait: waits 15 seconds
  10. Filter: keeps only the items that match a condition

…plus 3 more steps. See the full node list below.

Services it uses

GmailWhatsApp Business CloudTelegramOpenRouter Chat ModelOpenAI Chat ModelGoogle Gemini Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger1).

Nodes used (16)

From the author

This workflow automatically transforms your messy inbox into a neatly organized space while ensuring you never miss a critical message. It connects to your Gmail account and triggers for every new email. Using a powerful AI agent, the workflow first analyzes…

Excerpt from Iniyavan JC's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.