GenAiHub

Last checked 24 November 2026 — responded normally.

Self-heal failed workflows from webhook errors using an external AI API

Quick overview

Live
Open / InstallLast updated November 24, 2026

Description

Quick overview This workflow receives failed-execution events via webhook, analyzes the error, fetches recent execution history, generates recovery strategies via an external AI HTTP endpoint, attempts an automated recovery action, logs the outcome, and returns a structured self-healing report to the caller. How it works Receives a POST request on a webhook containing details about a failed workflow node or execution error. Validates the payload, extracts failure context (workflow, node, error, retry count), and classifies severity and retryability. Calls an HTTP endpoint to fetch recent execution history and related error patterns for the failing workflow/node. Calls an HTTP endpoint to generate ranked recovery strategies based on the failure context and history. Calls an HTTP endpoint to execute the primary recovery action (for example retry, fallback, or escalation). Calls an HTTP endpoint to log the recovery attempt and then returns a consolidated self-healing report in the webhook response. Setup Configure the source system to send failure events to the workflow’s POST webhook URL (path: /self-heal) with fields like failedNode and errorMessage/errorCode. Replace the placeholder httpbin.org URLs for execution history, AI strategy generation, recovery execution, and outcome logging with your real internal services (or monitoring/incident tooling) endpoints. If your endpoints require authentication, add the required HTTP credentials/headers to the HTTP Request steps and adjust timeouts as needed. An n8n automation workflow template by Oneclick AI Squad.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Oneclick AI Squad

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • http-request
  • code

Capabilities

  • 2 nodes

Information

TypeWorkflow
Sourcen8n
AddedOctober 30, 2026

Comments

?

Others in the same category, ranked by how often they are opened.