# Publish WooCommerce product photos to Cloudflare Images

Copy the first photo of each new product to Hosted Images and tag it with the WooCommerce product ID.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=woocommerce-product-photos-to-cloudflare-images&templateName=Publish+WooCommerce+product+photos+to+Cloudflare+Images)

**Required accounts**

- WooCommerce
- Cloudflare Images

## Store product photos from WooCommerce in Cloudflare Images

### 1. Trigger · Product Created

**WooCommerce**. Receive WooCommerce product.created events.

### 2. Action · Publish the product image

**Cloudflare Images**. Upload an image to CF Images. Images up to 10 Megabytes can be uploaded using a single HTTP POST (multipart/form-data) request by sending an image file or passing a URL accessible to the API. Cloudflare permissions: Images Write.

## Set up your workflow

1. **Select the store and product event** Connect WooCommerce and select the store that publishes product-created webhooks. The template reads the first image in the new product’s images array.
2. **Set the Hosted Images destination** Select a Cloudflare Images connection with upload rights and available Hosted Images storage. The source photo URL must be reachable by Cloudflare.
3. **Verify a product photo** Create a test product with a featured image. Find the uploaded photo in Hosted Images and compare its product\_id metadata with the WooCommerce product ID.

## Related integrations

- [WooCommerce integrations](https://www.fasthook.io/apps/woocommerce/integrations)
- [Cloudflare Images integrations](https://www.fasthook.io/apps/cloudflare-images/integrations)
