Templates / Run durable, pausable long jobs with Postgres, Claude and WhatsApp

Run durable, pausable long jobs with Postgres, Claude and WhatsApp

Ready for 3.0

by Oneclick AI Squad ✓ · 2 views · created 2026-10-01 · Engineering, AI Summarization

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 84 nodes and runs when an HTTP POST request hits its webhook URL (plus 5 other triggers). Along the way it connects Redis.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 5 other triggers).

  1. Set Producer Config (Edit Fields (Set)): sets 4 fields: defaultMaxAttempts, retentionSeconds, notifyChannel…
  2. Parse Queue Status Request (Code): runs custom JavaScript code
  3. Parse Cancellation Request (Code): runs custom JavaScript code
  4. Set Worker Configuration (Edit Fields (Set)): sets 11 fields: laneOrder, agingEvery, maxJobsPerRun…
  5. Maintenance Configuration (Edit Fields (Set)): sets 3 fields: batchSize, retentionSeconds, notifyChannel
  6. Validate Job Configuration (Code): runs custom JavaScript code
  7. Has Job ID? (If): checks a condition and branches into true / false
  8. Is Cancel Request Valid? (If): checks a condition and branches into true / false
  9. Redis: incr
  10. Plan Maintenance (Code): runs custom JavaScript code

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

Services it uses

Redis

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)

From the author

Quick overview This workflow provides a durable long-running job runner backed by Postgres, executing multi-step tasks with Anthropic Claude and supporting pause/resume/cancel, approvals via WhatsApp, and automatic recovery after crashes or expired leases.…

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.