Templates / Send important Gmail alerts to Telegram with filters and Claude Haiku

Send important Gmail alerts to Telegram with filters and Claude Haiku

Ready for 3.0

by Invara ✓ · 2 views · created 2026-07-23 · Ticket Management, AI Summarization

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 workflow has 7 nodes and runs on Gmail events. Along the way it connects Gmail and Telegram. It also calls api.anthropic.com over HTTP.

How it runs

Trigger: On Gmail events.

  1. Pre-filter without AI (Code): runs custom JavaScript code
  2. Edge case? (If): checks a condition and branches into true / false
  3. Ask Claude (HTTP Request): calls api.anthropic.com (POST)
  4. Build alert (Code): runs custom JavaScript code
  5. Read verdict (Code): runs custom JavaScript code
  6. Send to Telegram (Telegram): send message

Services it uses

GmailTelegram

HTTP calls to: api.anthropic.com

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) (On new email).

Nodes used (5)

From the author

Quick overview This workflow monitors your Gmail inbox and sends Telegram notifications only for important emails, using a deterministic keyword/sender filter first and Anthropic Claude only for unclear edge cases, with an inline button that opens the…

Excerpt from Invara'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.