Templates / Retry on fail except for known error

Retry on fail except for known error

Ready for 3.0

by Mario ✓ · 1,341 views · created 2025-01-12 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 10 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set tries (Edit Fields (Set)): sets 1 field: tries
  2. Catch known error (If): checks a condition and branches into true / false
  3. Wait: pauses before continuing
  4. Update tries (Edit Fields (Set)): sets 1 field: tries
  5. If: checks a condition and branches into true / false
  6. Retry limit reached (Stop and Error): stops the run with an error

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Purpose This workflow snippet allows for advanced error catching during retry attempts. There are cases, where you want to check if an item exists first, so you can determine the following actions. Some API’s do not support an endpoint (e.g. Todoist:…

Excerpt from Mario's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.