Templates / Run a distributed priority job queue with Redis and Anthropic

Run a distributed priority job queue with Redis and Anthropic

Ready for 3.0

by Oneclick AI Squad ✓ · 1 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. Check Job Id Presence (If): checks a condition and branches into true / false
  8. Check Valid Cancel Request (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 implements a distributed priority job queue in n8n using Redis for storage, lane-based scheduling, and worker wakeups, with optional Anthropic LLM execution and outbound HTTPS calls, plus webhook endpoints for enqueueing jobs,…

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.