A laptop in the dark with a rainbow-colored glow along its keyboard, banner image on the How self-healing workflows work page

HiringsAI blog

How self-healing workflows work

A self-healing workflow is not magic; it is three layers plus a boundary: retry the step, route the error, propose a fix for review, and respect what does not retry on its own. How the durable-execution engine, the node-based workflow tool and the agent framework document each layer.

three layers and a retry boundarylayer 1: retry the stepThe durable-execution engine retries Activities by default; the node-based workflow tool Retry On Fail; the agent framework RetryPolicylayer 2: route the errorThe node-based workflow tool error workflows catch the failure and alertlayer 3: propose a fixThe node-based workflow tool Assistant investigates, a human reviews and publishesThe boundary: no automatic retrywhole workflows (no default), listed errorseach layer documented by its vendor; the layered framing is our synthesis
01

The short answer

"Self-healing" sounds like a workflow that fixes itself.

The documentation of three platforms describes something more layered and more honest
Layer three is proposing a repairLayer three is proposing a repair, the node-based workflow tool's self-healing workflows feature, in Preview, lets the node-based workflow tool Assistant read a failed production execution, investigate the cause and prepare changes for a human to review, apply and publish, or discard.
Every mechanism below is scoped to its pageEvery mechanism below is scoped to its page, the layered framing itself is our synthesis, and no vendor presents it as one model.

The short answer

"Self-healing" sounds like a workflow that fixes itself. The documentation of three platforms describes something more layered and more honest. Layer one is automatic retry of the failed step: the durable-execution engine retries a failed Activity by default with exponential backoff (2.0 coefficient, 1-second initial interval, 100-second cap, unlimited attempts until success or cancellation), the node-based workflow tool offers a per-node Retry On Fail setting, and the agent framework accepts a RetryPolicy on any node. Layer two is routing the error instead of retrying it: the node-based workflow tool lets each node stop the workflow, continue with the last valid data, or continue with error output, and a separate error workflow starting with an Error Trigger can catch any execution failure and alert a human. Layer three is proposing a repair: the node-based workflow tool's self-healing workflows feature, in Preview, lets the node-based workflow tool Assistant read a failed production execution, investigate the cause and prepare changes for a human to review, apply and publish, or discard. And underneath all of it is a boundary: the durable-execution engine's documentation says whole Workflow Executions do not retry by default and recommends against it, and its Retry Policy carries a non-retryable error list, because some failures should surface, not repeat.

Every mechanism below is scoped to its page; the layered framing itself is our synthesis, and no vendor presents it as one model.

02

Layer 1: retry the failed step

The durable-execution engine's Retry Policy page is the clearest statement of layer one anywhere in the reviewed set.

A Retry Policy is declarativeA Retry Policy is declarative, you specify the desired behavior and the durable-execution engine provides the retries, with no hand-written retry loop.
The default behaviorThe default behavior is to automatically retry a failed Activity with a short delay that grows exponentially, until it succeeds or is canceled, and when a later attempt succeeds the calling Workflow resumes as if the failure never occurred.
The documented defaults, backoff coefficient 2.0Initial interval 1 second, maximum interval 100 seconds, and maximum attempts set to zero, which the page explains evaluates as unlimited; non-retryable errors default to none.
The design intent is explicitActivities are intended for operations that may fail, so a default policy raises the chance they ultimately complete.

Layer 1: retry the failed step

The durable-execution engine's Retry Policy page is the clearest statement of layer one anywhere in the reviewed set. A Retry Policy is declarative: you specify the desired behavior and the durable-execution engine provides the retries, with no hand-written retry loop. The default behavior is to automatically retry a failed Activity with a short delay that grows exponentially, until it succeeds or is canceled, and when a later attempt succeeds the calling Workflow resumes as if the failure never occurred. The documented defaults: backoff coefficient 2.0, initial interval 1 second, maximum interval 100 seconds, and maximum attempts set to zero, which the page explains evaluates as unlimited; non-retryable errors default to none. The design intent is explicit: Activities are intended for operations that may fail, so a default policy raises the chance they ultimately complete.

The node-based workflow tool and the agent framework put the same layer at node granularity. The node-based workflow tool's node-settings documentation lists Retry On Fail: when an execution fails, the node reruns until it succeeds. The agent framework's graph-API guide lists retries and timeouts for flaky or slow steps under its "configure nodes" guidance, applied per node by passing a RetryPolicy when adding the node to the graph. Three different vocabularies, one mechanism: the smallest unit that failed gets another chance, automatically, before anyone hears about it.

The durable-execution engine's default Retry Policy (its encyclopedia page)backoff coefficient: 2.0exponentialinitial interval: 1 secondmax interval: 100 secondsmax attempts: 0The page: 0 = unlimitednon-retryable errors:default noneon a later success, the calling Workflow resumes as if the failure never occurreddeclarative: no hand-written retry loop, per the same pageThe node-based workflow tool's per-node version: Retry On Fail reruns the node until it succeedsThe agent framework's version: a RetryPolicy passed when adding the node The waits between attempts (the durable-execution engine's defaults, drawn)try 11stry 22stry 34stry 48s...each wait doubles (coefficient 2.0) until it hits the 100s capattempts are unlimited by default; the run ends on success or cancellation The deliberate asymmetry (the durable-execution engine's page)Activitiesretry by defaultintended for operationsthat may failWorkflow Executionsno default retrymust stay deterministicto support replayThe page's rule: failure-prone work (API calls, LLM invocations) goes in Activitiesassigning a Workflow Retry Policy is possible but uncommon, per the same page
03

Layer 2: route the error, don't just repeat it

Retry answers transient failure.

The node-based workflow tool's node-settings documentationThe node-based workflow tool's node-settings documentation gives every node an On Error selector with three documented behaviors: Stop Workflow halts the entire workflow on error, Continue proceeds to the next node using the last valid data, and Continue (using error output) passes the error information itself to the next node for handling.
That third option turns an error into dataThat third option turns an error into data, the failure becomes an item the workflow can branch on, log, or enrich, inside the same run.
The bigger routing mechanism is the error workflow
The node-based workflow tool's error-handling page describes itEach workflow can name an error workflow in its settings, and when an execution fails, that error workflow runs.
It must start with the Error Trigger nodeIt must start with the Error Trigger node, one error workflow can serve many workflows, and its canonical job is alerting, an email or Slack message when something breaks.

Layer 2: route the error, don't just repeat it

Retry answers transient failure. Routing answers everything else. The node-based workflow tool's node-settings documentation gives every node an On Error selector with three documented behaviors: Stop Workflow halts the entire workflow on error, Continue proceeds to the next node using the last valid data, and Continue (using error output) passes the error information itself to the next node for handling. That third option turns an error into data: the failure becomes an item the workflow can branch on, log, or enrich, inside the same run.

The bigger routing mechanism is the error workflow. The node-based workflow tool's error-handling page describes it: each workflow can name an error workflow in its settings, and when an execution fails, that error workflow runs. It must start with the Error Trigger node, one error workflow can serve many workflows, and its canonical job is alerting, an email or Slack message when something breaks. The Error Trigger receives a documented payload: the execution id and URL, the error message and stack, the last node executed, the execution mode, and the workflow's id and name. So the handler knows what failed, where, and in which workflow, without anyone opening the dashboard first. The same page points at the investigation side: executions can be reviewed per workflow or across all workflows, previous execution data can be loaded into the editor for debugging, and log streaming can ship the failures to external systems.

The node-based workflow tool's On Error selector (its node-settings page)Stop Workflowhalts the entireworkflow; no furthernodes executeContinuenext node runs withThe last valid data,error swallowedContinue (erroroutput)The error becomesdata for the nextnode to handlesame failure, three documented destinies, chosen per nodeThe third option turns the error into a branchable item inside the same run The error workflow catches what retry could not fixproduction workflowexecution failserror workflow runsmust start with Error Triggerdocumented payloadexecution id + URL, error message + stack,last node executed, mode, workflow id + nameone error workflow can serve many workflows (its page)canonical job per the page: email or Slack alerts when an execution errors
04

Layer 3: propose a fix, keep the human on the publish button

The node-based workflow tool's self-healing workflows page is the one reviewed document where a vendor uses the phrase, and its mechanics are more cautious than the name.

The node-based workflow tool AssistantThe node-based workflow tool Assistant reads the failed production execution, investigates the cause, and prepares proposed changes; the result lands in your Inbox as Fix ready, Needs attention, or Could not fix, and for a ready fix your options are Apply and publish or Discard and close.
Continuing with the Assistant or the editor saves the proposal as unpublished changes for you to test first
The human gate is structural, not cosmeticThe Assistant investigates using the access of the person who enabled the configuration, reviewers for a team project are chosen explicitly, and publishing requires publish permission.
The page's own limits are the honest part

Layer 3: propose a fix, keep the human on the publish button

The node-based workflow tool's self-healing workflows page is the one reviewed document where a vendor uses the phrase, and its mechanics are more cautious than the name. The node-based workflow tool Assistant reads the failed production execution, investigates the cause, and prepares proposed changes; the result lands in your Inbox as Fix ready, Needs attention, or Could not fix, and for a ready fix your options are Apply and publish or Discard and close. Continuing with the Assistant or the editor saves the proposal as unpublished changes for you to test first. The human gate is structural, not cosmetic: the Assistant investigates using the access of the person who enabled the configuration, reviewers for a team project are chosen explicitly, and publishing requires publish permission.

The page's own limits are the honest part. Self-healing is in Preview and the page says to avoid relying on it for production recovery. Availability is oddly split: the node-based workflow tool Cloud Starter and Pro plus self-hosted Community, Registered Community and Business get it, and Enterprise plans do not; rollout on Cloud began gradually from the node-based workflow tool 2.49.5. Each investigation spends Assistant credits on Cloud or your AI provider's tokens self-hosted, charged even when no fix comes out. Investigations can be blocked: unpublished changes to the workflow, an investigation or open review already in progress, or a 24-hour cooldown after a Could not fix on the same published version. And two capability walls are stated plainly: during an investigation the Assistant cannot create credentials or edit data tables, and because verification can use simulations, a Fix ready result does not guarantee the next production run succeeds. A fix proposal is a hypothesis with a review UI, which is exactly what layer three should be.

layer 3 as the node-based workflow tool documents it (Preview)production failurepublished workflow onlyAssistant investigatescredits charged either wayInbox3 outcomesFix readyapply+publish / discardNeeds attentioncontinue w/ Assistant/editorCould not fix24h cooldown per versionhuman reviews and publishes; the Assistant cannot create credentials or edit data tablesFix ready is not a guarantee: verification can use simulations (the page's warning)availability: Cloud Starter/Pro + self-hosted Community/Registered/Business; not EnterprisePreview status: the page says avoid relying on it for production recovery
05

The boundary: what does not heal itself by default

Every vendor page spends words on the negative case, and the negative case is what keeps the layers honest.

The durable-execution engine's pageThe durable-execution engine's page explains why whole Workflow Executions skip the default retry: a Workflow Definition must be deterministic to support replay, so retrying the whole workflow would repeat the same logic against the same unchanged conditions, consuming resources without addressing the underlying issue.
The same page's non-retryableThe same page's non-retryable error list exists for failures that should surface immediately rather than be ground against a wall: by default the list is empty, which means you opt errors out of retry deliberately.
The node-based workflow tool'sThe node-based workflow tool's self-healing page draws its own boundary at autonomy: the Assistant proposes, a human publishes, and the Preview banner says not to rely on it for production recovery at all.
The pattern across vendors is consistentThe pattern across vendors is consistent, automation heals the step, routing contains the failure, and anything that changes the workflow itself waits for a person.

The boundary: what does not heal itself by default

Every vendor page spends words on the negative case, and the negative case is what keeps the layers honest. The durable-execution engine's page explains why whole Workflow Executions skip the default retry: a Workflow Definition must be deterministic to support replay, so retrying the whole workflow would repeat the same logic against the same unchanged conditions, consuming resources without addressing the underlying issue. The fix belongs one level down, in the Activity. The same page's non-retryable error list exists for failures that should surface immediately rather than be ground against a wall: by default the list is empty, which means you opt errors out of retry deliberately. The node-based workflow tool's self-healing page draws its own boundary at autonomy: the Assistant proposes, a human publishes, and the Preview banner says not to rely on it for production recovery at all. The pattern across vendors is consistent: automation heals the step, routing contains the failure, and anything that changes the workflow itself waits for a person.

The negative case, documentedwhole Workflow Executions: no default retry; not recommendedThe durable-execution engine: a policy is configurable but uncommon; replay repeats the same logicnon-retryable errors: opt failures out of retry deliberatelyThe durable-execution engine's list defaults to empty; you add what should surface fastworkflow-changing fixes: proposed by the Assistant, published by a personThe node-based workflow tool's Preview banner: avoid relying on self-healing for production recoveryheal the step, contain the failure, gate the change
06

Choosing a layer per failure

The layers map onto failure shapes.

A flaky third-party API is layer one, retry with backoffThe failure is transient by hypothesis.
A downstream schema change is layer twoA downstream schema change is layer two, retries will fail identically, so route the error, alert, and debug from the saved execution.
A misconfigured node after an app update is layer threeAn investigation that proposes a concrete diff is worth a review cycle, with the Preview caveat kept in mind.
The synthesis is oursThe synthesis is ours, but each mapping is drawn from the vendors' documentation' own examples and warnings. which failure gets which layer (our synthesis of the pages' examples) flaky API, rate limit layer 1: retry with backoff schema changed downstream layer 2: route + alert + debug misconfigured node layer 3: investigated fix, reviewed business rejection no layer: non-retryable, surface it retries that fail identically are a routing problem, not a retry problem The mapping is synthesis; each cell cites behavior from the vendors' documentation

Choosing a layer per failure

The layers map onto failure shapes. A flaky third-party API is layer one: retry with backoff, the failure is transient by hypothesis. A downstream schema change is layer two: retries will fail identically, so route the error, alert, and debug from the saved execution. A misconfigured node after an app update is layer three: an investigation that proposes a concrete diff is worth a review cycle, with the Preview caveat kept in mind. And a business-logic rejection, the refund that should be denied, the duplicate payment, belongs to no layer: it is a non-retryable error by design, and the only correct behavior is to surface it. The synthesis is ours, but each mapping is drawn from the vendors' documentation' own examples and warnings.

which failure gets which layer (our synthesis of the pages' examples)flaky API, rate limitlayer 1: retry with backoffschema changed downstreamlayer 2: route + alert + debugmisconfigured nodelayer 3: investigated fix, reviewedbusiness rejectionno layer: non-retryable, surface itretries that fail identically are a routing problem, not a retry problemThe mapping is synthesis; each cell cites behavior from the vendors' documentation
07

Limits of this account

Three boundaries on the evidence.

First, vendor scopeFirst, vendor scope, this article reads the durable-execution engine, the node-based workflow tool and LangGraph.
The trigger-action tool's error handlingThe trigger-action tool's error handling, the durable-execution engine's own saga-pattern compensation, and the agent framework's caching all touch recovery and are not covered here.
Third, the layers are our organizing frameThird, the layers are our organizing frame, the vendors document retry, routing and investigation separately, and no vendor page claims they compose into something called self-healing as a single architecture.

Limits of this account

Three boundaries on the evidence. First, vendor scope: this article reads the durable-execution engine, the node-based workflow tool and LangGraph. The trigger-action tool's error handling, the durable-execution engine's own saga-pattern compensation, and the agent framework's caching all touch recovery and are not covered here. Second, maturity: the node-based workflow tool's self-healing is Preview, availability-split, and its page warns against production reliance, so layer three is a direction, not a commodity. Third, the layers are our organizing frame: the vendors document retry, routing and investigation separately, and no vendor page claims they compose into something called self-healing as a single architecture.

08

Where this leaves you

A workflow that heals itself is really a workflow whose designer decided, in advance, what each failure deserves: another attempt, a detour into a handler, an investigated proposal with a human gate, or an immediate stop.

The vendors have done the engineeringThe vendors have done the engineering, the layering is the operator's job.
The durable-execution engine retriesThe durable-execution engine retries the step so the workflow never notices, the node-based workflow tool routes the failure into an inbox or a handler workflow, and its Assistant drafts the repair while a person keeps the publish button.
Self-healing, read closelySelf-healing, read closely, is supervised recovery with good defaults. five decisions before the first failure 1. retry defaults known: the durable-execution engine's 1s to 100s exponential is already running 2.
On Error chosen per node, stop, continue, or error-as-dataOn Error chosen per node, stop, continue, or error-as-data, On purpose 3. error workflow wired: one handler, many workflows, full failure context 4. fix proposals gated: review, test, publish; Preview limits accepted 5. non-retryable list written down: the failures that must surface fast The chain of custody for a failure defaults absorb the transient; routing contains the structural; review gates the change; the operator owns the boundaries synthesis, drawn from all six vendor documentation

Where this leaves you

A workflow that heals itself is really a workflow whose designer decided, in advance, what each failure deserves: another attempt, a detour into a handler, an investigated proposal with a human gate, or an immediate stop. The vendors have done the engineering; the layering is the operator's job. The durable-execution engine retries the step so the workflow never notices, the node-based workflow tool routes the failure into an inbox or a handler workflow, and its Assistant drafts the repair while a person keeps the publish button. Self-healing, read closely, is supervised recovery with good defaults.

five decisions before the first failure1. retry defaults known: the durable-execution engine's 1s to 100s exponential is already running2. On Error chosen per node: stop, continue, or error-as-data, on purpose3. error workflow wired: one handler, many workflows, full failure context4. fix proposals gated: review, test, publish; Preview limits accepted5. non-retryable list written down: the failures that must surface fast The chain of custody for a failuredefaults absorb the transient; routing contains the structural;review gates the change; the operator owns the boundariessynthesis, drawn from all six vendor documentation
A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the How self-healing workflows work page

Keep reading, or try a tool.

Long-form guides on building, automating and AI computing.