WooCommerce logo
Cloudflare Images logo

Workflow template

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.

How it works

Store product photos from WooCommerce in Cloudflare Images

1 Trigger · 1 Action
WooCommerce1 · Trigger

Product Created

Receive WooCommerce product.created events.

Cloudflare Images2 · Action

Publish the product image

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.

Before activation

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.

Explore connected apps