Skip to content

Glossary · Reliability

Dead-letter queue

Also called: DLQ, error queue, failed items queue, error handling

A dead-letter queue is a holding place for messages or items that couldn't be processed after all retries, kept aside with their error so a person can inspect, fix and replay them instead of losing them.

The term comes from message queues: a message that keeps failing is moved to a separate "dead letter" queue so it stops blocking the others. The principle applies to any automation. Some items will fail for reasons retries can't fix: a malformed payload, a deleted record, a permission that was revoked. Those need a place to go that isn't "nowhere".

What a good dead-letter path records

  • the original input, exactly as received,
  • which step failed and the error it returned,
  • when, and how many attempts were made,
  • enough context to replay it (the workflow and version).

Designing the flow

  1. Retry transient failures with exponential backoff.
  2. When retries are exhausted, or the error is clearly permanent, send the item to the dead-letter path: a sheet, a ticket, a Slack channel, a database table.
  3. Alert a named owner, not a channel everyone has muted.
  4. Fix the cause, then replay the item through the same workflow, which is safe if the steps are idempotent (idempotency key).

A dead-letter queue that nobody reviews is just a slower way to lose data. Put a weekly look at it on someone's calendar.

In Fluxo Flow

The Error Handler node catches failures from earlier steps so you can recover or report them: post the failed item and error to Slack, append it to a Google Sheet as a working dead-letter list, or call your own endpoint. Every run keeps a step-by-step trace with inputs, outputs and errors, and you can compare a failed run with a good one side by side.

All 40 glossary terms

Build your first workflow today.

Build and Dry Run on the Free plan, no credit card. Run live on a paid plan, on your own AI key at cost.

Free to explore · No credit card · 30-day money-back guarantee on paid plans