Templates / Monitor workflow errors via n8n API with Gemini analysis and Telegram alerts

Monitor workflow errors via n8n API with Gemini analysis and Telegram alerts

Ready for 3.0

by Nguyễn Thiệu Toàn (Jay Nguyen) ✓ · 309 views · created 2026-03-03 · DevOps, 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 AI workflow has 7 nodes and runs when another workflow fails (error workflow). Along the way it connects Google Gemini Chat Model and Telegram.

How it runs

Trigger: When another workflow fails (error workflow).

  1. Set Context (Edit Fields (Set)): sets 10 fields: n8n_instance_url, n8n_api_key, telegram_chat_id…
  2. Get Workflow Content (HTTP Request): calls an HTTP API
  3. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  4. Send Telegram Notification (Telegram): uses Telegram

Services it uses

Google Gemini Chat ModelTelegram

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.

Nodes used (7)

From the author

Monitor n8n Workflow Errors with AI Diagnosis & Instant Telegram Alerts This n8n template automatically catches errors from any workflow on your instance, analyzes them with Google Gemini AI, and delivers a structured diagnostic report directly to your…

Excerpt from Nguyễn Thiệu Toàn (Jay Nguyen)'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.