Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Correlate mobile crash reports with GitHub commits using Claude and Slack
When an API call/webhook arrives, it automates developer work with Claude using Slack, GitHub.
What it does
## AI Mobile Crash → Code Correlation Agent Listens for new crash reports (webhook from Crashlytics/Sentry/Bugsnag), parses the stack trace to find the crashing file(s)/function(s)/line(s), pulls recent GitHub commit and PR history for those exact files, asks Claude to correlate the crash against the code-change history and name the most likely responsible commit/PR with a confidence level and reasoning, then opens a developer task (Jira/Linear/ClickUp style) pre-loaded with the crash context, stack trace, and the suspected diff — and pings the likely-responsible author directly on Slack. ### How to set up 1. Import this workflow into n8n 2. Add credentials: crash reporting webhook secret (if verifying signatures), GitHub API, Anthropic API (header auth, x-api-key), Jira/Linear/ClickUp API, Slack API 3. Edit Set - Config: repoOwner, repoName, taskProviderListId/projectId, slackChannelId, anthropicModel, lookbackDays, minConfidenceForAutoAssign 4. Activate the workflow (webhook goes live), or use the Manual Trigger with sample crash JSON to test end to end ### Requirements - Crash reporting tool with outbound webhook support (Crashlytics, Sentry, Bugsnag, etc.) - GitHub API access (commits, PRs, file blame/history) - Anthropic API access (Claude) - Developer task tool API access (Jira, Linear, or ClickUp) - Slack API access (bot token, chat:write) ### How to customize - Swap the crash-webhook parsing logic if your crash tool's payload shape differs (Crashlytics vs Sentry vs Bugsnag all differ) - Adjust lookbackDays to control how far back in git history to search for suspicious changes - Tune minConfidenceForAutoAssign to decide when to auto-assign vs just flag a suspected author - Add crash-clustering (group by stack trace fingerprint) upstream to avoid opening duplicate tasks for the same root cause - Feed resolved-task outcomes back into future prompts so Claude's correlation confidence calibrates over time
The steps
- Webhook - New Crash Report
- Manual Trigger - Test Run
- Set - Sample Crash Payload
- Set - Config
- JS - Parse Stack Trace & Extract Frames
- SplitOut - One Item Per Candidate Frame
- HTTP Request - Fetch File Commit History
- HTTP Request - Fetch File Blame
- Merge - Combine Commit History & Blame
- JS - Aggregate Candidate Frame Evidence
- HTTP Request - Claude: Correlate Crash With Code Changes
- JS - Parse Correlation Result
- IF - Confidence Meets Auto-Assign Threshold
- HTTP Request - Create Task (High Confidence)
17 steps in total.
Similar automations
Code, Git & Developer ToolsManage mobile canary rollouts with Anthropic Claude and WhatsApp alerts22 stepsCode, Git & Developer ToolsCheck GitHub Forked Repo Updates via Telegram14 stepsCode, Git & Developer ToolsBack Up n8n Workflows to GitHub via Pull Requests22 stepsTasks & Project ManagementGenerate mobile QA test cases and coverage gaps with ClickUp and Claude20 steps