Agents Lookup

Use cases / IT & DevOps

Get plain-language diagnoses when an automation fails

When a workflow breaks, a model reads the error, suggests a likely cause and fix, and sends one alert per problem instead of a flood of repeats.

DifficultyIntermediate
Setup timeA few hours (estimate)
CategoryIT & DevOps

The use case

Teams that run many automations find out about failures from a wall of raw error messages. A published n8n template catches any connected workflow failure, builds a fingerprint from the workflow, node and error text, and mutes repeats for a set cooldown. For new errors it sends the details to an OpenAI model that returns a severity rating, a probable reason and repair steps, and posts a formatted Telegram message, loud for serious issues and silent for minor ones. If the model call fails, the raw error is sent instead. A person applies any fix; the model only explains, so it never edits workflows itself.

Example workflow

  1. Create a dedicated error workflow and set it as the error handler on each automation you want watched.
  2. Fingerprint each error from the workflow name, failing step and normalized message, and suppress repeats during a cooldown period.
  3. Send the trimmed error details to a model asking for a severity rating, a probable reason and repair steps.
  4. Post the diagnosis to a chat channel, noisy for high severity and silent for low, with a count of suppressed repeats.
  5. The workflow owner reads the message, makes the fix themselves, and tunes the prompt with details of their own setup.

Tools

Risks and guardrails

Sources

Written by Agents Lookup. Credits and official pages for the tools this use case names: