# Archive a Cloudflare Images original in Dropbox

Export the original bytes of a hosted Cloudflare image to a Dropbox path supplied by your workflow.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=cloudflare-images-original-to-dropbox&templateName=Archive+a+Cloudflare+Images+original+in+Dropbox)

**Required accounts**

- Cloudflare Images
- Dropbox

## Archive an original image in Dropbox

### 1. Trigger · Original image archive request

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

### 2. Action · Download the original image

**Cloudflare Images**. Download an image from CF Images. For most images this will be the originally uploaded file. For larger images it can be a near-lossless version of the original. Cloudflare permissions: Images Metadata Read / Images Read / Images Write.

### 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. **Choose an existing Hosted Images original** Use the image ID from the connected Cloudflare account. Select an Images connection with access to download originals.
2. **Set the Dropbox destination** Connect Dropbox with file-write access. In the webhook request, send image\_id and dropbox\_path, including the filename and extension. Use a new path for the test.
3. **Compare the original and archive** After sending the request, find the file at that path in Dropbox. Download it and compare it with the Hosted Images original, including the byte size.

## Related integrations

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

## Related workflow templates

- [Archive an R2 object in Dropbox](https://www.fasthook.io/templates/cloudflare-r2-object-to-dropbox.md): Send a bucket, object key and Dropbox path to copy the original bytes.
- [Create a Trello review card with an image preview](https://www.fasthook.io/templates/cloudflare-images-review-previews-to-trello.md): Send an asset title and source URL to your private webhook.
- [Build catalog thumbnails and log their URLs in Google Sheets](https://www.fasthook.io/templates/cloudflare-images-catalog-thumbnails-to-google-sheets.md): Send a product ID and the public URL of an original from R2, your CMS or another allowed origin.
