Manage dead-letter retries with Google Sheets and Slack alerts
Ready for 3.0What this workflow does
This workflow has 17 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Google Sheets and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Set Configuration Parameters (Edit Fields (Set)): sets 15 fields: jobId, operationType, payload…
- Fetch Pending Dead-Letter Records (Google Sheets): uses Google Sheets
- Log to Dead-Letter Store (Google Sheets): append or update
- Check Retry Eligibility (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Wait: pauses before continuing
- Mark Exhausted in Dead-Letter Store (Google Sheets): append or update
- Retry Original Operation (HTTP Request): calls an HTTP API (POST)
- Escalate to Slack (Slack): uses Slack
- Evaluate Retry Outcome (Code): runs custom JavaScript code
…plus 4 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314)
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 (10)
- Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick overview This workflow ingests failed job payloads via webhook or a scheduled sweep, logs them to a Google Sheets dead-letter queue, retries the original HTTP operation with exponential backoff, and posts outcomes to Slack, escalating permanently failed…