Skip to content
FlowHubFluxonLab
AI Automationfree

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

by Mychel Garzonadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAnthropic Chat ModelBBasic LLM ChainCCodeHTTP RequestHTTP RequestJira SoftwareJira SoftwareStructured Output ParserStructured Output Parser
Share Post Share
Log in Jira - Diagnostics FailedLog in Jira - D…HRSend OTel Span to CollectorSend OTel Span …CoAssess Retry OutcomeAssess Retry Ou…HRRetry via n8n APIRetry via n8n A…WaWait for Backoff DurationWait for Backof…CoCompute Retry BackoffCompute Retry B…Log in Jira - No RetryLog in Jira - N…IfCheck Retry EligibilityCheck Retry Eli…CoPrepare Fallback for AI FailurePrepare Fallbac…CoCombine Diagnostics and TelemetryCombine Diagnos…OPParse Structured OutputParse Structure…Anthropic Chat ModelAnthropic Chat …CLRoot-Cause Analysis AgentRoot-Cause Anal…CoExtract Error DetailsExtract Error D…ErWhen Error OccursWhen Error Occu…123456789101112131415
1/5
FLOWS
STEPS · 15
Starts on a Error event

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 sending incident telemetry to an OpenTelemetry collector. How it works Triggers automatically when an n8n workflow execution errors. Extracts key telemetry like workflow name, failing node, error message/stack, execution URL, and any detected HTTP status code. Sends the error context to Anthropic (Claude) to return structured JSON with a category, confidence, and remediation guidance. Combines the AI diagnostics with telemetry and tracks a per-incident retry counter (up to three attempts) to decide if the failure is eligible for automated retry. If the error is transient with sufficient confidence and retry budget remains, waits using exponential backoff and calls the n8n API to retry the failed execution, then records the retry outcome. If the error is not retry-eligible (or the retry budget is exhausted), creates a Jira issue with the diagnostics, execution link, and failure details.

Tags

n8nreference-onlychain-llmjiralm-chat-anthropicoutput-parser-structured
Connects
Anthropic Chat ModelBBasic LLM ChainCCodeWHTTP RequestjirasoftwareJira SoftwarestructuredoutputparserStructured Output Parser
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes15
AddedJun 30, 2026

Related workflows

See all AI Automation
BsheetsWopenaichatmodel
free

Scrape and score Amazon products with Apify, OpenAI, and Google Sheets

Quick overview This workflow manually scrapes product results from an Amazon search URL via the Apify Amazon Crawler actor, uses OpenAI to generate a structured product analysis (category, key feature, verdict, value score), and appends the enriched results to a Google Sheets spreadsheet. How it works Runs when you manually click “Test workflow” in n8n. Sends the configured Amazon search URL and scraping limits to the apify Amazon Crawler actor and retrieves the dataset items. Filters out any scraper items that are missing a title or contain an error. Uses OpenAI to analyze each product’s title, brand, price, rating, and review count and returns a structured category, key feature, buyer verdict, and 1–10 value score. Combines the scraped fields and AI analysis into a single row format and adds a timestamp. Appends each enriched product as a new row in Google Sheets. Setup Create an apify API token and add it as an HTTP Header Auth credential used by the Apify request. Add an OpenAI API key as an OpenAI credential and choose the model to use in the configuration. Connect a Google Sheets OAuth2 account and select the target spreadsheet, sheet tab, and columns for appending rows. Upda

by Dr. Firas
BCgmailsheets
free

Find and verify business emails with ScraperCity, OpenAI, Google Sheets, and Gmail

Quick overview This workflow reads contacts from Google Sheets, finds and verifies their business emails via the ScraperCity Email Finder API, generates a short personalized icebreaker with OpenAI, appends the enriched leads to another Google Sheet, and emails a run summary via Gmail. How it works Starts manually to run an email enrichment job. Reads contacts (first name, last name, domain) from an input Google Sheets worksheet and aggregates them into a single payload. Submits the contacts to the ScraperCity Email Finder API, then waits and repeatedly checks the job status until it succeeds or fails/times out. When the job succeeds, downloads the result CSV from ScraperCity, parses it, normalizes key fields (name, domain, email, verification status, provider), and keeps only rows with an email. For each verified contact, prompts OpenAI to generate one short, company-referencing cold-email opening line in the configured language. Appends the enriched lead (including email, status, and icebreaker) to an output Google Sheets worksheet and sends a summary email via Gmail. Setup Create a ScraperCity account with Email Finder credits and add an HTTP Header Auth credential that sends you

by Dr. Firas
ACW
free

Assess visa eligibility and send PDF checklists with Claude and SendGrid

Quick overview This workflow receives visa eligibility requests via webhook, uses Anthropic Claude to extract passport details and assess visa requirements, generates a purpose-specific document checklist, converts it to a PDF via PDFShift, logs each request to Google Sheets, and emails the PDF to the applicant using SendGrid. How it works Receives a webhook POST with applicant details, travel plan, and raw passport OCR text. Uses Anthropic Claude to extract and validate passport data (name, nationality, passport number, expiry) and scores whether the passport text is readable. If passport data is insufficient, immediately returns a webhook response asking the applicant to resubmit a clearer passport scan. If passport data is sufficient, waits briefly and uses Anthropic Claude again to determine whether a visa is required, the visa category, a recommended visa type, processing time, risks, and confidence. Builds a document checklist from a standard base list plus purpose-specific items and any AI-flagged eligibility risks, then renders it into HTML. Sends the HTML to PDFShift to generate a PDF, formats a summary row, and appends the application record to a Google Sheets tab. Emails

by Oneclick AI Squad