# Cloudflare Cache Purge Integrations

Refresh cached pages after a product update, release or publishing event. Select one URL, a tagged group of pages or a path in your Cloudflare zone.

## Setup notes

- **Connect the zone that serves your content** Enter the zone ID and a token with Cache Purge for that zone. For an account-owned token, also enter the owning account ID. FastHook checks the token when you connect. Cloudflare checks zone permission when you run an action.
- **Choose which visitors need a fresh copy** Use the full URL for one standard cache key. For variants, send files with the headers used in your custom cache key. Use tags for related pages, hosts for an entire hostname, or prefixes for a directory. A whole-zone purge refreshes every cached item.
- **Choose eviction or revalidation** Purge removes matching entries. Invalidate marks entries stale so Cloudflare can revalidate with the origin. Version Management environments use a separate action and require their environment ID. Availability and rate limits depend on the Cloudflare plan.
- **Check the result at the edge** A successful action returns a Cloudflare request ID. Request a previously cached test URL again and inspect its content and CF-Cache-Status to verify the visitor experience.

## Workflow templates

- [Purge a Cloudflare URL from a monday.com publishing board](https://www.fasthook.io/templates/monday-new-items-to-cloudflare-cache.md): Use a dedicated monday.com board for publication requests.
- [Purge one Cloudflare URL for each new Trello cache request](https://www.fasthook.io/templates/trello-card-requests-to-cloudflare-cache.md): Use a dedicated Trello board for cache refresh requests.
- [Refresh a Cloudflare-cached storefront page for new Shopify products](https://www.fasthook.io/templates/shopify-new-products-to-cloudflare-cache.md): Purge one selected storefront URL, such as a collection landing page, when Shopify creates a product.
- [Refresh the storefront after a product update](https://www.fasthook.io/templates/woocommerce-product-updates-to-cloudflare-cache.md): Evict the canonical product page when WooCommerce updates a published product.
- [Refresh a published URL and confirm it in Slack](https://www.fasthook.io/templates/webhook-cache-refresh-to-slack.md): Use a publisher webhook to evict one page and send the Cloudflare receipt to the editorial channel.
- [Refresh approved cache tags from Google Sheets](https://www.fasthook.io/templates/google-sheets-cache-tags-to-cloudflare.md): Let editors approve a tagged group of cached pages in a sheet and keep the Cloudflare receipt on the same row.
- [Refresh documentation when a stable release ships](https://www.fasthook.io/templates/github-releases-to-cloudflare-cache.md): Evict a configured documentation path when a GitHub release is published.

## Actions

- **Purge selected content in a versioned environment** — Remove matching content so the next request fetches a fresh copy. Only the specified environment is affected.
- **Purge selected content in a zone** — Remove matching content so the next request fetches a fresh copy. Applies to the connected zone.
- **Refresh a cached page by URL** — Remove one cached URL after its published content changes.
- **Refresh content with a cache tag** — Remove cached responses carrying an exact Cache-Tag from the origin.
- **Refresh pages under a URL prefix** — Remove cached URLs beginning with the selected hostname and path, such as docs.example.com/guide/.
- **Revalidate selected content in a versioned environment** — Keep matching content in cache and ask Cloudflare to revalidate it with the origin. Only the specified environment is affected.
- **Revalidate selected content in a zone** — Keep matching content in cache and ask Cloudflare to revalidate it with the origin. Applies to the connected zone.
