# Archive an R2 object in Dropbox

Send a bucket, object key and Dropbox path to copy the original bytes.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=cloudflare-r2-object-to-dropbox&templateName=Archive+an+R2+object+in+Dropbox)

**Required accounts**

- Cloudflare R2
- Dropbox

## Archive an R2 object in Dropbox

### 1. Trigger · Archive request

**Webhook**. Receive a JSON submission from your existing form backend at this Workflow's private webhook URL.

### 2. Action · Read the R2 object

**Cloudflare R2**. Retrieves an object from an R2 bucket. Returns the object body along with metadata headers. For most workloads, we recommend using R2's \[S3-compatible API\](https://developers.cloudflare.com/r2/api/s3/api/) or a \[Worker with an R2 binding\](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.

### 3. Action · Write file to Dropbox

**Dropbox**. Upload the bytes of a File from an earlier step (up to 25 MiB). Overwrite is idempotent; conflicts are never auto-renamed.

## Set up your workflow

1. **Select the storage connections** Choose an R2 connection with object-read access and a Dropbox connection with write access to the archive folder.
2. **Send the exact object coordinates** Send bucket, key and dropbox\_path to the workflow’s private webhook. Use the full object key, including folders, and a new Dropbox filename beginning with /.
3. **Verify the copied file** Open the run and check both the R2 download and Dropbox upload. Download the Dropbox file and compare its size and contents with the R2 original.

## Related integrations

- [Webhook trigger](https://www.fasthook.io/docs/triggers/webhook)
- [Cloudflare R2 integrations](https://www.fasthook.io/apps/cloudflare-r2/integrations)
- [Dropbox integrations](https://www.fasthook.io/apps/dropbox/integrations)

## Related workflow templates

- [Archive newly issued origin certificates in R2](https://www.fasthook.io/templates/origin-ca-issued-certificates-to-r2.md): Sign a CSR for a configured origin hostname and save the signed PEM in R2 under its serial number.
- [Archive published WordPress articles in R2](https://www.fasthook.io/templates/wordpress-published-snapshots-to-r2.md): Capture the published WordPress permalink and save its rendered Markdown and desktop screenshot together in an R2 bucket.
- [Archive a Cloudflare Images original in Dropbox](https://www.fasthook.io/templates/cloudflare-images-original-to-dropbox.md): Send an image ID and destination Dropbox path.
