Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions src/content/changelog/queues/2025-08-18-event-subscriptions.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
title: Subscribe to events from Cloudflare services with Queues
description: Subscribe to events from Cloudflare services to build custom workflows, integrations, and logic.
products:
- queues
date: 2025-08-18 12:00:00 UTC
---

[Queues](/queues/) can now subscribe to events from other Cloudflare services (for example, [Workers KV](/kv/), [Workers AI](/workers-ai), [Workers](/workers)), allowing you to build custom workflows, integrations, and logic in response to account activity.

![Event subscriptions architecture](~/assets/images/queues/queues-event-subscriptions.png)

Event subscriptions allow you to receive messages when events occur across your Cloudflare account. Cloudflare products can publish structured events to a queue, which you can then consume with [Workers](/workers/) or [HTTP pull consumers](/queues/configuration/pull-consumers/).

To create a subscription, use the dashboard or [Wrangler](/workers/wrangler/commands/#subscription-create):

```bash
npx wrangler queues subscription create my-queue --source r2 --events bucket.created
```

An event is a structured record of something happening in your Cloudflare account – like a Workers AI batch request being queued, a Worker build completing, or an R2 bucket being created. Events follow a consistent structure:

```json title="Example R2 bucket created event"
{
"type": "cf.r2.bucket.created",
"source": {
"type": "r2"
},
"payload": {
"name": "my-bucket",
"location": "WNAM"
},
"metadata": {
"accountId": "f9f79265f388666de8122cfb508d7776",
"eventTimestamp": "2025-07-28T10:30:00Z"
}
}
```

Current [event sources](/queues/event-subscriptions/events-schemas/) include [R2](/r2/), [Workers KV](/kv/), [Workers AI](/workers-ai/), [Workers Builds](/workers/ci-cd/builds/), [Vectorize](/vectorize/), [Super Slurper](/r2/data-migration/super-slurper/), and [Workflows](/workflows/). More sources and events are on the way.

For more information on event subscriptions, available events, and how to get started, refer to our [documentation](/queues/event-subscriptions/).
Loading
Loading