Templates / Triage and retry failed workflow executions with Anthropic, Jira and OpenTelemetry

Triage and retry failed workflow executions with Anthropic, Jira and OpenTelemetry

Ready for 3.0

by Mychel Garzon ✓ · 34 views · created 2026-06-30 · 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 15 nodes and runs when another workflow fails (error workflow). Along the way it connects Jira Software and Anthropic Chat Model.

How it runs

Trigger: When another workflow fails (error workflow).

  1. Extract Error Details (Code): runs custom JavaScript code
  2. Root-Cause Analysis Agent (Basic LLM Chain): sends a prompt to an LLM, with output parser: Parse Structured Output
  3. Combine Diagnostics and Telemetry (Code): runs custom JavaScript code
  4. Prepare Fallback for AI Failure (Code): runs custom JavaScript code
  5. Check Retry Eligibility (If): checks a condition and branches into true / false
  6. Log in Jira - Diagnostics Failed (Jira Software): uses Jira Software
  7. Compute Retry Backoff (Code): runs custom JavaScript code
  8. Log in Jira - No Retry (Jira Software): uses Jira Software
  9. Send OTel Span to Collector (HTTP Request): calls an HTTP API (POST)
  10. Wait: pauses before continuing

…plus 3 more steps. See the full node list below.

Services it uses

Jira SoftwareAnthropic Chat Model

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 (9)

From the author

Quick overview This workflow triggers on n8n execution errors, uses Anthropic (Claude) to classify the failure as transient or logic, and then either retries the failed execution via the n8n API with exponential backoff or creates a Jira issue, while also…

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