Retry on fail except for known error Template
Configured with Stop And Error, Wait. Review the connections and setup before adapting this template.
Node categories in this workflow
- Routing
- Transform
- Wait
- Trigger
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Retry limit reached | Routing | Stop And Error | See node parameters |
| Set tries | Transform | Edit Fields | See node parameters |
| Update tries | Transform | Edit Fields | See node parameters |
| Wait | Wait | Wait | See node parameters |
| Catch known error | Routing | If | See node parameters |
| Replace Me | Routing | No Op | See node parameters |
| Success | Routing | No Op | See node parameters |
| Known Error | Routing | No Op | See node parameters |
| Manual Trigger | Trigger | Manual Trigger | See node parameters |
| If tries left | Routing | If | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
None declared. HTTP requests and Code nodes may still need configuration.
Workflow notes
Set filter
Set filter
Filter by status code or error message.
Replace Node
Replace Node
Replace this by the Node which retrieves the admired data. Enable error branch in Node Settings and connect the outputs like in this example
Set max tries
Set max tries
Change if needed, default is 3
Set Wait
Set Wait
Change duration if needed, default is 5s
Sticky Note4
Continue here, if the request succeeded
Sticky Note5
Continue here, if the request failed
Sticky Note6
Stop here, if all tries have failed
Sticky Note7
Define counter for tries
Sticky Note8
Update counter for tries
Retry on fail except for known error Template
Retry on fail except for known error Template
Purpose and structure
This folder contains the Retry on fail except for known error Template workflow. Its executable nodes use if, manualTrigger, noOp, set, stopAndError, wait. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Manual Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Stopanderror/1963_Stopanderror_Wait_Automation_Triggered.json MIT; preserve source notices.