Message received in a dead-letter queue
Start a workflow when a message reaches the dead-letter queue configured on the relay.
Messaging
Buffer incoming work, send messages to other services and recover failed deliveries with Cloudflare Queues.
Start a workflow
Choose what starts your automation.
Start a workflow when a message reaches the dead-letter queue configured on the relay.
Start a workflow when the consumer receives a message from the selected queue.
Then take action
Choose what your workflow does in Cloudflare Queues.
Use the lease IDs from an HTTP pull to confirm successful work or return failed messages for another attempt.
Review how queue consumers handled batches during the selected period.
Track messages waiting for their delivery delay to expire.
Compare how many messages and bytes were waiting during the selected period.
Adjust the event source, destination or enabled state of an existing subscription.
Change individual settings, such as message retention, while preserving the other settings.
Find out whether a request to clear the entire queue has finished.
Read Cloudflare’s estimate of how many messages and bytes are waiting in the queue.
Permanently remove all queued messages. Cloudflare requires explicit confirmation in the request.
Configure a Worker or an HTTP pull consumer to process messages from this queue.
Group message operations to understand how producers and consumers used your queues.
Choose a name for a new queue that producers can send messages to.
Remove the selected queue from the account. Messages still in the queue are lost.
Remove a consumer from the queue so it stops receiving messages.
Look up the available columns and data types before writing an analytics query.
Give an HTTP pull consumer more time to finish processing. Use the replacement lease IDs for subsequent requests.
Read a sample of queued messages without leasing them. Use the returned references to remove individual messages if needed.
See which services are configured to receive messages from the selected queue.
Find the rules that deliver Cloudflare account events to a queue. Filter by destination queue or browse a page at a time.
Browse the queues in your connected account and use the page controls to retrieve more results.
Start with a published template and adapt it to your work.
Create a review task for each selected queue delivery.
Open a Linear issue when the selected Cloudflare Queue delivers a message.
Save a JSON record of the queue, message ID, delivery ID, attempt and timestamp for each delivery.
Index the delivery metadata for 24 hours using the delivery ID as the key.
Append a row for each message delivered by the configured Cloudflare Queue relay.
Keep one D1 journal entry per order event, even when the producer sends the event twice.
Send the message field from each incoming webhook to the selected Cloudflare queue.
Post incoming queue messages to the Slack channel where your team follows new work.
Create a triage card when a message reaches your designated dead-letter queue.
Save each message body as a JSON file in the chosen R2 bucket, with a distinct object key for each queue and message.
Connect your Cloudflare account Enter your account ID and a Queues API token. Queues Read allows inspection. Sending messages or changing queues requires Queues Write. Analytics queries require Account Analytics Read.
Receive messages in FastHook Configure the relay Worker with your account ID, the FastHook callback and its shared secret. Attach it as the consumer of the queue you want to automate. Use a dedicated queue if another service already consumes the original.
Handle messages that exhaust their retries Choose a dead-letter queue in the source consumer’s retry settings. Attach the relay to that destination, set DEAD_LETTER_QUEUE to its exact name and select the dead-letter trigger.