Monitor all your n8n workflow errors with Gemini AI analysis + Telegram alerts (free template)

Hey everyone, sharing a workflow I’ve been running in production for a couple months now: a monitoring system that watches all your workflow executions and sends you smart alerts on Telegram when something breaks.

The template is here: Monitor workflow errors via n8n API with Gemini analysis and Telegram alerts | n8n workflow template

What it does:

Pulls execution data from the n8n API on a schedule (every 5-10 minutes), filters for failed workflows, passes the error details to Gemini AI which writes a plain-language explanation of what went wrong and suggests a fix, then sends it all to your Telegram as a formatted message.

Why I built it:

I manage n8n automation setups for a few clients and I kept getting hit by silent failures. A workflow would break at 2am, nobody noticed, and by the time the client found out the next morning the damage was already done. This workflow basically acts as a watchdog so I know about problems before my clients do.

The Gemini analysis part has been surprisingly useful. Instead of just getting a raw error log, you get something like “the HTTP Request node failed because the API returned a 429 rate limit error, consider adding a delay between requests or switching to a queue mode execution.”

Setup is straightforward: configure your n8n API credentials, add your Telegram bot token, and set the schedule. Should take about 10 minutes.

Happy to answer questions about how it works or how to adapt it for your setup. I’m also the creator of a Vietnamese n8n community ( Redirecting... ) and a free workflow hub at https://n8ncommunity.io.vn if you want more templates and resources.