Templates / Handle API retries with exponential backoff, jitter, Slack and email alerts

Handle API retries with exponential backoff, jitter, Slack and email alerts

Ready for 3.0

by Venkata V ✓ · 52 views · created 2026-05-04 · DevOps

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 14 nodes and runs when another workflow calls it. Along the way it connects Slack.

How it runs

Trigger: When another workflow calls it.

  1. Normalize Input + Defaults (Code): runs custom JavaScript code
  2. Do Operation - Replace With Your Node (HTTP Request): calls an HTTP API
  3. Classify Result + Calculate Backoff (Code): runs custom JavaScript code
  4. Success? (If): checks a condition and branches into true / false
  5. Return Success Payload (Code): runs custom JavaScript code
  6. Retryable and Attempts Left? (If): checks a condition and branches into true / false
  7. Wait: pauses before continuing
  8. Build Final Failure Summary (Code): runs custom JavaScript code
  9. Prepare Next Attempt (Code): runs custom JavaScript code
  10. Send Slack Alert (Slack): uses Slack

…plus 3 more steps. See the full node list below.

Services it uses

Slack

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

Reusable Retry Handler with Exponential Backoff, Jitter, Slack/Email Alerts, and Manual Suspend How it works This workflow is a reusable retry and resilience pattern for n8n. It can be called from any workflow using the Execute Workflow node. It runs a…

Excerpt from Venkata V'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.