# Build catalog thumbnails and log their URLs in Google Sheets

Create a 320-pixel thumbnail URL for a catalog image and append the product ID, original URL and thumbnail URL to Google Sheets.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=cloudflare-images-catalog-thumbnails-to-google-sheets&templateName=Build+catalog+thumbnails+and+log+their+URLs+in+Google+Sheets)

**Required accounts**

- Cloudflare Images
- Google Sheets

## Add product thumbnail links to a spreadsheet

### 1. Trigger · Catalog image received

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

### 2. Action · Build the thumbnail URL

**Cloudflare Images**. Use URL transformations on a configured Cloudflare hostname. Accepts origin paths or HTTP(S) sources and the documented optimization options.

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

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

## Set up your workflow

1. **Choose a transformation hostname** Enter a Cloudflare zone hostname with image transformations enabled. Check that the source image’s origin is allowed by that zone.
2. **Prepare the catalog worksheet** Choose a writable spreadsheet and tab. Label columns A–C for product ID, source image URL and thumbnail URL.
3. **Submit and inspect a thumbnail** Post product\_id and source\_url to the private webhook. Open the thumbnail URL from the new row and confirm that the transformation requests a width of 320 pixels.

## Related integrations

- [Webhook trigger](https://www.fasthook.io/docs/triggers/webhook)
- [Cloudflare Images integrations](https://www.fasthook.io/apps/cloudflare-images/integrations)
- [Google Sheets integrations](https://www.fasthook.io/apps/google-sheets/integrations)

## Related workflow templates

- [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.
- [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.
- [Log a Hacker News item in Google Sheets](https://www.fasthook.io/templates/webhook-hacker-news-item-to-google-sheets.md): Receive a Hacker News item ID by webhook, fetch the item's title and author from Hacker News, and append its details and discussion link to Google Sheets.
- [Look up a Polymarket market and log it in Google Sheets](https://www.fasthook.io/templates/webhook-polymarket-market-to-google-sheets.md): Receive a market ID by webhook, read the current public market data from Polymarket, and append a snapshot to Google Sheets. This workflow never places trades.
