frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

N8n, Webhooks, and Job Queues: Where Reliability Breaks

https://www.codesmith.in/post/n8n-job-queue-webhook-callbacks
1•sourabh86•45m ago

Comments

sourabh86•45m ago
Many teams end up gluing their app to a background job queue through n8n webhooks, and then discover all the sharp edges: duplicate callbacks, mismatched job states, retries that corrupt data, and workflows that quietly stall under load.

This post walks through a pattern for wiring a custom job queue into n8n using webhook callbacks, with a focus on idempotency, explicit job state transitions, and failure recovery rather than “happy path” demos.

Curious how others are handling this in production: - How do you design your callback contracts and job state machine? - What patterns have worked (or failed) for idempotent callbacks and retries? - Any war stories from running webhook-heavy n8n (or similar) setups at scale?