Templates / Advanced retry and delay logic

Advanced retry and delay logic

Ready for 3.0

by Viktor Klepikovskyi ✓ · 904 views · created 2025-06-29 · 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-10-19.

What this workflow does

This workflow has 7 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 Fields (Edit Fields (Set)): sets 2 fields: delay_seconds, max_tries
  2. HTTP Request: calls an HTTP API
  3. Edit Fields (Edit Fields (Set)): sets 2 fields: delay_seconds, max_tries
  4. If: checks a condition and branches into true / false
  5. Stop and Error: stops the run with an error
  6. Wait: pauses before continuing

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

Advanced Retry and Delay Logic This template provides a robust solution for handling API rate limits and temporary service outages in n8n workflows. It overcomes the limitations of the default node retry settings, which cap retries at 5 and delays at 5…

Excerpt from Viktor Klepikovskyi'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.