Cloudflare R2 logo
Cloudflare Workers KV logo
Slack logo

Workflow template

Announce a new R2 release file in Slack

Record the object key from an R2 upload in KV and let your release channel know which file arrived.

How it works

Announce a new R2 release file in Slack

1 Trigger · 2 Actions
Cloudflare R21 · Trigger

A file was uploaded to R2

R2 reports PutObject on the selected bucket.

Cloudflare Workers KV2 · Action

Record the uploaded object key

Write text or binary data under one key. Optionally attach JSON metadata or set an expiration time.

Slack3 · Action

Notify the release channel

Send text, Block Kit content, attachments, or a thread reply to a channel.

Before activation

Set up your workflow

  1. Choose the release bucket

    Connect the R2 account and select the bucket for new release files. Configure a PutObject notification for the release prefix and forward it through the FastHook R2 relay.

  2. Name the pointer in KV

    Select the namespace and choose a key such as releases:current. The value is the uploaded object key in R2. Consumers can use their existing bucket access to read the file.

  3. Choose a Slack channel

    Connect Slack and select the release channel. Invite the app to a private channel before activating. The message includes the bucket and object key.

  4. Upload a release file

    Upload a new object under the configured prefix with a single PUT. Read releases:current and compare it with the key in the Slack message. The pointer follows notification delivery order.