n8n Self-Healing Web App Outage Fix with Claude, GitHub & Slack
n8n Self-Healing Web App Outage Fix with Claude, GitHub & Slack
Regular price
£14.99
Regular price
£14.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Self-Healing Web App Outage Fix with Claude, GitHub & Slack
Regular price
£14.99
Regular price
£14.99
Sale price
Unit price
/
per
Automatically fix web app outages using Claude + GitHub, then notify your team in Slack
This n8n workflow runs every 2 minutes to health-check a web app. When your site goes unhealthy, it gathers recent GitHub context and relevant source files, asks Anthropic Claude to propose a fix, then opens a GitHub Pull Request and sends the outcome to Slack via an incoming webhook.
What this workflow does
- Scheduled health check: Executes on a schedule (every 2 minutes) and requests your configured health-check URL.
- Health evaluation: Compares the HTTP response to the expected status code and stops if the app is healthy.
- Outage investigation: If unhealthy, fetches recent commits and relevant GitHub Actions workflow runs for the configured repository and branch.
- Targeted code retrieval: Selects a small set of candidate source files and pulls their contents from GitHub.
- Claude-based diagnosis: Sends outage details, GitHub context, and the retrieved file contents to Claude to generate a root-cause diagnosis, PR text, and file change proposals.
- Automated PR creation: If Claude proposes changes, the workflow creates a new GitHub branch, commits the updated files, and opens a pull request back into the base branch.
- Slack notification: Posts a Slack incident message including the diagnosis and PR link—or sends a separate message when no confident fix is proposed.
Use cases
- SaaS operators who want rapid triage and PR-ready fixes for recurring health-check failures.
- Automation engineers who need a hands-on “self-healing” n8n workflow with GitHub + Slack visibility.
- Teams responding to production outages where recent GitHub Actions results and code snippets speed up root-cause analysis.
Technical details
- n8n scheduling + HTTP health check
- GitHub integration: read repo contents, create branches, commit changes, and open pull requests
- Anthropic Claude: outage diagnosis and proposed code changes via API (HTTP Header Auth credential)
- Slack: incident and PR notifications via incoming webhook
- Logic nodes mentioned: if, set, code, no op, split out, aggregate
