Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. Webhook - New Crash Report
  2. Manual Trigger - Test Run
  3. Set - Sample Crash Payload
  4. Set - Config
  5. JS - Parse Stack Trace & Extract Frames
  6. SplitOut - One Item Per Candidate Frame
  7. HTTP Request - Fetch File Commit History
  8. HTTP Request - Fetch File Blame
  9. Merge - Combine Commit History & Blame
  10. JS - Aggregate Candidate Frame Evidence
  11. HTTP Request - Claude: Correlate Crash With Code Changes
  12. JS - Parse Correlation Result
  13. IF - Confidence Meets Auto-Assign Threshold
  14. HTTP Request - Create Task (High Confidence)

17 steps in total.

Similar automations