{"product_id":"n8n-self-healing-web-app-outage-fix-with-claude-github-slack","title":"n8n Self-Healing Web App Outage Fix with Claude, GitHub \u0026 Slack","description":"\u003ch3\u003eAutomatically fix web app outages using Claude + GitHub, then notify your team in Slack\u003c\/h3\u003e\n\u003cp\u003eThis 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 \u003cstrong\u003eAnthropic Claude\u003c\/strong\u003e to propose a fix, then opens a \u003cstrong\u003eGitHub Pull Request\u003c\/strong\u003e and sends the outcome to \u003cstrong\u003eSlack\u003c\/strong\u003e via an incoming webhook.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScheduled health check:\u003c\/strong\u003e Executes on a schedule (every 2 minutes) and requests your configured health-check URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHealth evaluation:\u003c\/strong\u003e Compares the HTTP response to the expected status code and stops if the app is healthy.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutage investigation:\u003c\/strong\u003e If unhealthy, fetches recent commits and relevant \u003cstrong\u003eGitHub Actions workflow runs\u003c\/strong\u003e for the configured repository and branch.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTargeted code retrieval:\u003c\/strong\u003e Selects a small set of candidate source files and pulls their contents from GitHub.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClaude-based diagnosis:\u003c\/strong\u003e Sends outage details, GitHub context, and the retrieved file contents to \u003cstrong\u003eClaude\u003c\/strong\u003e to generate a root-cause diagnosis, PR text, and file change proposals.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomated PR creation:\u003c\/strong\u003e 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.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack notification:\u003c\/strong\u003e Posts a Slack incident message including the diagnosis and PR link—or sends a separate message when no confident fix is proposed.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS operators who want rapid triage and PR-ready fixes for recurring health-check failures.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers who need a hands-on “self-healing” n8n workflow with GitHub + Slack visibility.\u003c\/li\u003e\n  \u003cli\u003eTeams responding to production outages where recent GitHub Actions results and code snippets speed up root-cause analysis.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003en8n scheduling + HTTP health check\u003c\/strong\u003e\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGitHub integration:\u003c\/strong\u003e read repo contents, create branches, commit changes, and open pull requests\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAnthropic Claude:\u003c\/strong\u003e outage diagnosis and proposed code changes via API (HTTP Header Auth credential)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack:\u003c\/strong\u003e incident and PR notifications via incoming webhook\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogic nodes mentioned:\u003c\/strong\u003e \u003cem\u003eif, set, code, no op, split out, aggregate\u003c\/em\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46081419051187,"sku":"N8N-19874","price":14.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/eZGUCVouUC66CFdLQLizb_64MuhyuH.png?v=1790241006","url":"https:\/\/buyflowscripts.com\/products\/n8n-self-healing-web-app-outage-fix-with-claude-github-slack","provider":"N8N Commerce","version":"1.0","type":"link"}