# Log R2 copies in Google Sheets

Record the destination bucket, new object key and original key for each R2 copy.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=cloudflare-r2-copies-to-google-sheets&templateName=Log+R2+copies+in+Google+Sheets)

**Required accounts**

- Cloudflare R2
- Google Sheets

## Log R2 copies in Google Sheets

### 1. Trigger · CopyObject

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

### 2. Action · Record the product and its image URLs

**Google Sheets**. Append one or more rows after an existing table.

## Set up your workflow

1. **Select the copy event** Forward the bucket’s R2 copy notifications through its queue to the connected FastHook callback. In the trigger, choose the bucket where the copy will be created.
2. **Prepare the worksheet** Connect Google Sheets and select a writable spreadsheet and tab. Give columns A, B and C headers for destination bucket, destination key and source key.
3. **Copy a test object** Activate the workflow and use R2’s copy operation to create an object with a new key. Check the appended row against the destination and source of that copy.

## Related integrations

- [Cloudflare R2 integrations](https://www.fasthook.io/apps/cloudflare-r2/integrations)
- [Google Sheets integrations](https://www.fasthook.io/apps/google-sheets/integrations)
