Classify workflow errors with Claude and deduplicate Jira and Slack alerts
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs when another workflow fails (error workflow). Along the way it connects Anthropic Chat Model, Jira Software and Slack.
How it runs
Trigger: When another workflow fails (error workflow).
- Normalize Error Data (Code): runs custom JavaScript code
- AI Classify Error (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Model
- Parse Classification (Code): runs custom JavaScript code
- Hash for Dedup (Crypto): hashes or encrypts values
- Truncate Hash (Code): runs custom JavaScript code
- Search Jira Ticket (Jira Software): get many
- Check for Duplicate Tickets (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Append Comment to Jira Ticket (Jira Software): work with issue comment
- Create Jira Incident Ticket (Jira Software): uses Jira Software
…plus 5 more steps. See the full node list below.
Services it uses
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 (10)
- Error Trigger
n8n-nodes-base.errorTrigger - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Crypto
n8n-nodes-base.crypto - Jira Software
n8n-nodes-base.jira - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Slack
n8n-nodes-base.slack
From the author
Quick overview This global error-handling workflow classifies n8n execution failures with Anthropic Claude, deduplicates incidents in Jira using a hash label, and posts a detailed alert to Slack with links to the affected execution and Jira issue. How it…