AutomationMart
Home/Browse/Monitor workflow errors via n8n API with Gemini analysis and Telegram alerts
n8n

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

n8nn8n7 modulesv1.0
SlackDiscordOpenAITelegramLinkedInFacebookGemini

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 Telegram — including error classification, root cause analysis, and specific fix steps. If you manage multiple n8n workflows in production and want to stop manually debugging failures, this workflow is your always-on error watch. How it works Err

At a glance

Monitor workflow errors via n8n API with Gemini analysis and Telegram alerts is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Slack, Discord, OpenAI, Telegram. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Slack, Discord, OpenAI, Telegram, LinkedIn, Facebook
Modules
7
Price
Free
Version
v1.0
Monitor workflow errors via n8n API with Gemini analysis and Telegram alerts workflow diagram

About this workflow

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 Telegram — including error classification, root cause analysis, and specific fix steps. If you manage multiple n8n workflows in production and want to stop manually debugging failures, this workflow is your always-on error watch. How it works Error Trigger: Fires automatically whenever any workflow on the instance encounters a failure, capturing the full error context including the failed node name, error message, and stack trace. Set Context: Extracts all error data and holds your 3 configuration values. This is the only node you ever need to edit — making the workflow easy to adapt and redeploy. Get Workflow Content: Fetches the full workflow JSON definition via the n8n REST API, giving the AI meaningful context about what the failed workflow was actually trying to do. AI Agent (Gemini): Classifies the error type (Authentication, Rate Limit, Credential, Connection, etc.), identifies the root cause, and generates a Telegram HTML-formatted report with 2–3 actionable fix steps. Send Telegram Notification: Delivers the formatted report to your configured chat with proper HTML rendering — bold labels, code blocks for error messages, and a direct link to the failed execution. How to use 1. Connect credentials: Add your Google Gemini (googlePalmApi) credential to the Google Gemini Chat Model node, and your Telegram Bot credential to the Send Telegram Notification node. 2. Configure Set Context: Open the Set Context node and update n8ninstanceurl (your public n8n URL), n8napikey (from n8n → Settings → API), and telegramchatid. 3. Activate this workflow. 4. Link to other workflows: In each workflow you want to monitor, go to Settings → Error Workflow and select this workflow. Requirements n8n Version: Built and tested on n8n 2.9.4+. (It is highly recommended to update to the latest n8n version.) Google Gemini API key (googlePalmApi credential type). Telegram Bot token and a chat ID to receive notifications. n8n API key with read access to workflows (Settings → API → Create API Key). Your n8n instance must be accessible via a public URL for the API call. Customizing this workflow Different AI model: Swap the Google Gemini Chat Model sub-node for OpenAI, Anthropic, or any other LLM — no other changes needed. Different notification channel: Replace the Telegram node with Slack, Discord, or Zoho Mail to fit your team's tooling. Report language: Change the language instruction at the end of the AI Agent's system prompt from Vietnamese to English or any other language. Filter specific workflows: Add an If node after Error Trigger to only process errors from high-priority workflows based on workflow.name. --- About the Author Created by: Nguyễn Thiệu Toàn (Jay Nguyen) Email: me@nguyenthieutoan.com Website: nguyenthieutoan.com Company: GenStaff (genstaff.net) Socials (Facebook / X / LinkedIn): @nguyenthieutoan More templates: n8n.io/creators/nguyenthieutoan

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Collect LinkedIn profiles with AI processing using SerpAPI, OpenAI, and NocoDB

What problem does this solve? It fetches LinkedIn profiles for a multitude of purposes based on a keyword and location via Google search and stores them in an Excel file for download and in a NocoDB database. It tries to avoid using costly services and should be n8n beginner friendly. It uses the serpapi.com to avoid being blocked by Google Search and to process the data in an easier way. What does it do? - Based on criteria input, it searches LinkedIn profiles - It discards unnecessary data an

Free

Create an AI content agent with Telegram, Gemini, and Blotato (no-code)

Description Automatically turn a simple Telegram message into fully researched, AI-generated visual content and publish it to multiple social platforms using Blotato — with async processing control and built-in status validation. This workflow creates a complete: Telegram → AI → Research → Visual → Publish → Confirm automation pipeline. --- Who is this for? This template is ideal for: - Content creators automating daily posting - Solopreneurs building a 24/7 AI content engine

Free

Generate content from Google Sheets to X with GPT-4

AI-Powered Social Media Content Automation 🧑‍💻 Who is this for? This workflow is perfect for social media managers, content creators, and digital marketers who want to save time by automating social media post generation and publishing across platforms. 📌 What problem does this solve? Manually generating and scheduling social media content is time-consuming and repetitive. This workflow automates content creation and publishing, allowing you to: - Streamline content generation using AI - Ensure

Free

Auto-generate WhatsApp proposals from voice or text using GPT & APITemplate

How it works • Transcribes a WhatsApp voice or text message from a prospect using Whisper or GPT • Extracts key information (name, need, context, urgency) via AI • Matches the most relevant service pack by comparing the prospect’s need with Airtable data • Dynamically fills a branded template via APITEMPLATE (HTML or PDF) • Generates a clean, personalized business proposal — including dynamic links (payment, calendar, etc.) • Sends the final PDF back instantly via WhatsApp or email Set up steps

Free

[AI Tools 101] AI email classification with Gmail, ChatGPT, and Freshdesk

In this AI Tools 101 course template, learn how to automate email classification using AI. Integrate Gmail, ChatGPT, and Freshdesk to categorize emails based on sentiment, automatically creating tickets for positive, negative, and neutral feedback. Improve your customer support efficiency effortlessly.

Free

Refresh Microsoft Power BI datasets automatically and send a message on Slack

This template can be setup at a regular interval (every month, week, hour or on a specific date) to automatically refresh your Microsoft Power BI dataset. Then, a message is sent to a specified Slack channel.

Free

Automated workflow backups to GitHub with PR creation & Slack notifications

Who is this for? This template is ideal for DevOps engineers, automation specialists, and n8n users who manage multiple workflows and want a reliable version control system for backups. It’s especially useful for teams collaborating via GitHub. What problem is this workflow solving? Manually backing up n8n workflows to GitHub can be time-consuming and error-prone. This workflow solves that by automating the backup of new and updated n8n workflows, ensuring your GitHub repository always reflects

Free

Send PDF document summaries with CoreNexis OCR, GPT-4.1-mini, GPT-4o-mini and Gmail

Quick overview Upload any PDF through a form and this workflow extracts the full text using CoreNexis OCR, generates a structured 5-section summary with GPT-4.1-mini, converts it into a branded HTML email with GPT-4o-mini, and delivers it to your inbox automatically. How it works 1. User fills a form with their name, email address, and PDF file upload — no login or account required. 2. A code step identifies the uploaded PDF binary and extracts user metadata for use throughout the workflow. 3. T

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free