# Cloudflare Images Integrations

Upload and deliver images, create image variants, and transform images from an existing website. Start a workflow when Cloudflare reports a direct upload result or a transformation quota alert.

## Setup notes

- **Connect your account.** Enter your Cloudflare account ID and an API token with permissions for the operations you need.
- **Choose where originals live.** Uploads to Hosted Images require available storage in your Cloudflare Images account. For images already served from R2 or a CMS, use a transformation URL on a domain with image transformations enabled.
- **Receive notifications.** Add the FastHook callback as a webhook destination in Cloudflare Notifications. Configure the same shared secret in FastHook and select the destination in the relevant notification policy.

## Workflow templates

- [Check Cloudflare Images capacity for new Webflow CMS items](https://www.fasthook.io/templates/webflow-cms-items-to-cloudflare-images-usage.md): Check the connected Cloudflare Images account when Webflow creates a CMS item, including drafts.
- [Check Cloudflare Images capacity when Shopify adds a product](https://www.fasthook.io/templates/shopify-new-products-to-cloudflare-images-usage.md): Read the connected Cloudflare Images account’s current image count and storage allowance when Shopify creates a product, including drafts.
- [Publish WooCommerce product photos to Cloudflare Images](https://www.fasthook.io/templates/woocommerce-product-photos-to-cloudflare-images.md): On product creation, upload the featured product photo to Hosted Images and store the WooCommerce product ID in the image metadata.
- [Send a Cloudflare Images storage report to Discord](https://www.fasthook.io/templates/cloudflare-images-storage-report-to-discord.md): On the daily schedule, read the number of hosted originals and the account allowance, then post both numbers in the selected Discord channel.
- [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.
- [Send Cloudflare Images upload results to Slack](https://www.fasthook.io/templates/cloudflare-images-direct-uploads-to-slack.md): Let your media team know when Cloudflare reports the outcome of a direct creator upload.
- [Build catalog thumbnails and log their URLs in Google Sheets](https://www.fasthook.io/templates/cloudflare-images-catalog-thumbnails-to-google-sheets.md): Send a product ID and the public URL of an original from R2, your CMS or another allowed origin.

## Triggers

2 Instant

- **A contributor’s image upload finished** (Instant) — Start a workflow when Cloudflare reports the outcome of a direct image upload. Use the notification to follow up on a successful or failed upload.
- **The free image transformation allowance was exceeded** (Instant) — Start a workflow when Cloudflare reports that image transformations have exceeded the free allowance. Notify the team responsible for image delivery.

## Actions

- **Analyze hosted image delivery** — Group requests for hosted images by details such as variant, file format, cache status or location.
- **Analyze hosted image delivery in staging** — Inspect grouped delivery requests from the staging dataset when testing changes to hosted images.
- **Analyze image transformation activity** — Group recorded transformations by zone, Worker, transformation or origin host.
- **Browse hosted images in batch mode** — Use a batch credential to page through the image library and select images for further processing.
- **Browse images with legacy pagination** — List up to 100 images per request using the older image library interface.
- **Browse the hosted image library** — Page through stored images to find an upload or build an inventory of your library.
- **Build a hosted image delivery link** — Choose a stored image and a variant to build the URL you can use on a page or in a message.
- **Build a link that transforms an image** — Choose an origin image and options such as dimensions or format to build a delivery URL for the transformed result.
- **Change AVIF image delivery** — Choose whether Cloudflare Polish can serve AVIF images for this zone.
- **Change Content Credentials signing** — Choose whether Cloudflare adds signed provenance information when it transforms media for this zone.
- **Change image resizing for a zone** — Choose the transformation mode that applies to image requests on the selected zone.
- **Change WebP image delivery** — Choose whether Cloudflare Polish can serve WebP images for this zone.
- **Check a saved import connection** — Verify that a configured import source can still reach its S3 bucket.
- **Check a Worker’s transformation override** — Find out whether a particular Worker has its own setting for URL-based image transformations.
- **Check an image import job** — Read the configuration and current status of a selected import job.
- **Check AVIF delivery settings** — See whether Cloudflare Polish can serve AVIF images for the selected zone.
- **Check Content Credentials signing** — See whether the zone adds signed information about the provenance of transformed media.
- **Check hosted image storage usage** — Compare the number of stored images with the account’s allowance before starting another upload.
- **Check month-to-date unique transformations** — Read the cumulative count of unique transformations since the start of the month.
- **Check the image optimization level** — Find out how Cloudflare Polish is configured to optimize images on the selected zone.
- **Check the zone’s image resizing mode** — Read the transformation mode currently configured for this zone.
- **Check URL transformations for a zone** — Read the zone’s configuration for transforming media through delivery URLs.
- **Check WebP delivery settings** — See whether Cloudflare Polish can serve WebP images for the selected zone.
- **Compare resizing settings across zones** — List image resizing configurations for the zones in the connected account.
- **Configure URL transformations for a zone** — Change how the selected zone handles URL-based media transformations.
- **Connect an S3 image import source** — Save the connection details for a bucket that will supply images to future import jobs.
- **Count distinct source images** — See how many different original images were used during the selected period.
- **Count resizing requests by minute** — See how image resizing traffic changes minute by minute during the selected period.
- **Count unique transformations by day** — Compare daily counts of distinct image transformations to spot changes in usage.
- **Create a contributor upload link** — Issue a one-time URL so someone can upload an image directly without access to your account credentials.
- **Create a contributor upload link in batch mode** — Use a temporary batch credential to issue a one-time link for a contributor to upload an image.
- **Create a legacy contributor upload link** — Issue a direct image upload URL for an application that uses the older upload interface.
- **Create a reusable image variant** — Save a named set of resizing and delivery options, such as a thumbnail size, for use across hosted images.
- **Create an expiring private image link** — Sign a delivery URL with a named account key so the recipient can view a private image until the link expires.
- **Create an image signing key** — Add a named key that can sign delivery links for private images.
- **Delete a hosted image** — Remove an image from Cloudflare Images and purge its cached copies.
- **Delete a hosted image in batch mode** — Use a batch credential to remove an image and purge its cached copies.
- **Delete an image variant** — Remove a named variant and purge cached images associated with that variant.
- **Download a stored image file** — Retrieve the uploaded image. For large originals, Cloudflare may return a near-lossless version.
- **Download a stored image in batch mode** — Retrieve the stored image file using a short-lived batch credential.
- **Edit a hosted image’s details** — Change metadata, creator or access settings for a stored image.
- **Edit a reusable image variant** — Change the options for a named variant. Cloudflare purges associated cached copies so the new settings can take effect.
- **Edit account-wide image settings** — Change selected Images settings, such as flexible variants or preservation of Content Credentials.
- **Edit zone transformation settings together** — Change one or more settings, such as allowed origins and Content Credentials signing, in a single update.
- **Explore image analytics columns** — See which fields and data types are available before writing a SQL query about image delivery or transformations.
- **Find filterable image metadata fields** — List the metadata keys used in your account that can serve as image search filters.
- **Get a hosted image’s details** — Look up an image by ID to inspect its metadata, delivery variants and access settings.
- **Get a temporary batch credential** — Request the short-lived credential used for a sequence of image uploads, lookups, updates or deletions.
- **Import an image from a URL** — Give Cloudflare a link to fetch an existing image and store it in your hosted library.
- **Import an image from a URL in batch mode** — Give Images a source URL to fetch using a short-lived batch credential.
- **Inspect a hosted image in batch mode** — Use a batch credential to look up one image’s metadata and delivery information.
- **Inspect a variant in the legacy format** — Retrieve one variant with its properties at the top level for clients that use the older response format.
- **Inspect an image variant** — Look up the resizing and delivery options saved under a particular variant name.
- **List available image variants** — Find the named resizing and delivery presets available for hosted images.
- **List image import jobs** — Find pending, running or finished imports for the connected account.
- **List image import sources** — Browse the saved sources available when setting up an image import.
- **List image signing keys** — Find the keys available to sign private image delivery links in the connected account.
- **Override transformation settings for a Worker** — Give a Worker its own setting for URL-based image transformations on requests it serves.
- **Prepare an image import job** — Create a pending job to import images from a configured source, ready to start when you choose.
- **Query hosted image delivery with SQL** — Use SQL to filter and group delivery requests for images stored in your account.
- **Query image transformations with SQL** — Use SQL to investigate transformation activity over the period you select.
- **Read an image import log** — Inspect the selected job’s log entries to investigate errors or review its progress.
- **Remove a finished import job** — Delete the record of a completed, failed or aborted image import.
- **Remove an image import source** — Delete a saved source connection after its active import jobs have finished.
- **Remove an image signing key** — Delete a named signing key. If it is the last one, Cloudflare generates a new default key.
- **Rename an image import source** — Give a saved source a recognizable name for future import jobs.
- **Replace the zone’s transformation flows** — Supply the complete flow configuration that should apply to future media requests on the zone.
- **Restore zone transformation settings for a Worker** — Remove the Worker’s override so image URL transformations follow the zone’s settings again.
- **Send an image to a one-time upload link** — Upload a file from FastHook using a contributor upload URL that has already been issued.
- **Set allowed transformation origins** — Choose which origins Cloudflare may use as sources for media transformations on this zone.
- **Set the image optimization level** — Choose the Cloudflare Polish configuration used to optimize images on this zone.
- **Start a prepared image import** — Begin copying images from the source configured for a pending import job.
- **Stop a running image import** — Abort the current import job. Images that have already been imported remain in your library.
- **Summarize image delivery traffic** — Compare requests for images served to end users across the period you select.
- **Test a new import connection** — Check access to an S3 bucket before saving it as an image import source.
- **Track image import progress** — See how far the job has progressed and how many objects it has handled.
- **Update image details in batch mode** — Use a batch credential to change one image’s metadata, creator or access settings.
- **Upload an image file in batch mode** — Send a file from FastHook using a batch credential and optionally assign metadata or a custom image ID.
- **Upload an image file to the library** — Send a file from FastHook to Cloudflare Images and optionally assign metadata or a custom image ID.
- **View account-wide image settings** — Check how the account handles options such as flexible image variants and Content Credentials.
- **View allowed transformation origins** — Check which source origins the zone permits for media transformations.
- **View an image import source** — Read the saved configuration for a bucket that supplies images to imports.
- **View the zone’s transformation flows** — Inspect the current flow configuration before changing how the zone transforms media.
- **View zone transformation settings together** — Read the zone’s transformation mode, allowed origins and Content Credentials signing configuration together.
