# Archive completed multipart uploads in Dropbox

When an R2 multipart upload finishes, archive the assembled file in Dropbox within the FastHook file transfer limit.

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

**Required accounts**

- Cloudflare R2
- Dropbox

## Archive completed multipart uploads in Dropbox

### 1. Trigger · CompleteMultipartUpload

**Cloudflare R2**. R2 reports CompleteMultipartUpload on the selected bucket.

### 2. Action · Read the completed upload

**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. **Monitor completed multipart uploads** Forward multipart completion events from the source R2 bucket to FastHook. Select that bucket in the trigger and an R2 connection that can read its objects.
2. **Configure the Dropbox archive** Connect a Dropbox account with file-write access. Check the destination path under /R2 uploads/ and keep the File input mapped to the downloaded R2 object.
3. **Complete a test upload** Finish a multipart upload in the selected bucket using a file within the transfer limit. Find the matching bucket and key in Dropbox, then compare the downloaded bytes with the original.

## Related integrations

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