Templates / Resume failed workflow runs from checkpoints with Postgres and Slack

Resume failed workflow runs from checkpoints with Postgres and Slack

Ready for 3.0

by Oneclick AI Squad ✓ · 1 views · created 2026-10-02 · 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 48 nodes and runs manually, when you click “Execute workflow” (plus 3 other triggers). Along the way it connects Postgres and Slack.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 3 other triggers).

  1. Set - Mode Manual (Edit Fields (Set)): sets 1 field: entryMode
  2. Set - Mode Webhook (Edit Fields (Set)): sets 1 field: entryMode
  3. Set - Mode Sweeper (Edit Fields (Set)): sets 1 field: entryMode
  4. Slack: uses Slack
  5. Set - Checkpoint Config (Edit Fields (Set)): sets 10 fields: workflowName, maxStageAttempts, stageBackoffSeconds…
  6. Postgres: run a query
  7. Switch: routes items into 2 branches
  8. Postgres: run a query
  9. JS - Init Run (Code): runs custom JavaScript code
  10. JS - Build Resume Requests (Code): runs custom JavaScript code

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

Services it uses

PostgresSlack

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 (12)

From the author

Quick overview This workflow implements a checkpoint-and-resume system for a multi-stage pipeline, storing stage outputs in Postgres and sending failure/recovery alerts to Slack, with manual, webhook, and scheduled triggers to start runs and automatically…

Excerpt from Oneclick AI Squad'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.