Product Created
Receive WooCommerce product.created events.
Workflow template
Copy the first photo of each new product to Hosted Images and tag it with the WooCommerce product ID.
How it works
Receive WooCommerce product.created events.
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
Connect WooCommerce and select the store that publishes product-created webhooks. The template reads the first image in the new product’s images array.
Select a Cloudflare Images connection with upload rights and available Hosted Images storage. The source photo URL must be reachable by Cloudflare.
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.