Cloudflare Queues logo

Messaging

Cloudflare Queues Integrations

Buffer incoming work, send messages to other services and recover failed deliveries with Cloudflare Queues.

Start a workflow

Cloudflare Queues Triggers

2 Instant

Choose what starts your automation.

Message received in a dead-letter queue

Instant

Start a workflow when a message reaches the dead-letter queue configured on the relay.

Message received in a queue

Instant

Start a workflow when the consumer receives a message from the selected queue.

Then take action

Cloudflare Queues Actions

35 Actions

Choose what your workflow does in Cloudflare Queues.

Acknowledge or retry pulled messages

Use the lease IDs from an HTTP pull to confirm successful work or return failed messages for another attempt.

Analyze consumer performance

Review how queue consumers handled batches during the selected period.

More actions

Analyze delayed messages

Track messages waiting for their delivery delay to expire.

Analyze queue backlog over time

Compare how many messages and bytes were waiting during the selected period.

Change an event subscription

Adjust the event source, destination or enabled state of an existing subscription.

Change selected queue settings

Change individual settings, such as message retention, while preserving the other settings.

Check queue purge progress

Find out whether a request to clear the entire queue has finished.

Check the current queue backlog

Read Cloudflare’s estimate of how many messages and bytes are waiting in the queue.

Clear all messages from a queue

Permanently remove all queued messages. Cloudflare requires explicit confirmation in the request.

Connect a queue consumer

Configure a Worker or an HTTP pull consumer to process messages from this queue.

Count queue operations

Group message operations to understand how producers and consumers used your queues.

Create a queue

Choose a name for a new queue that producers can send messages to.

Delete a queue

Remove the selected queue from the account. Messages still in the queue are lost.

Disconnect a queue consumer

Remove a consumer from the queue so it stops receiving messages.

Explore queue analytics columns

Look up the available columns and data types before writing an analytics query.

Extend message leases

Give an HTTP pull consumer more time to finish processing. Use the replacement lease IDs for subsequent requests.

Inspect waiting messages

Read a sample of queued messages without leasing them. Use the returned references to remove individual messages if needed.

List consumers for a queue

See which services are configured to receive messages from the selected queue.

List event subscriptions

Find the rules that deliver Cloudflare account events to a queue. Filter by destination queue or browse a page at a time.

List queues in an account

Browse the queues in your connected account and use the page controls to retrieve more results.

Ready-made Cloudflare Queues Workflows

10 total

Start with a published template and adapt it to your work.

Browse all templates →
Cloudflare Queues →
More templates

Cloudflare Queues setup notes

  • 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.