# Refresh approved cache tags from Google Sheets

Let editors approve a tagged group of cached pages in a sheet and keep the Cloudflare receipt on the same row.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=google-sheets-cache-tags-to-cloudflare&templateName=Refresh+approved+cache+tags+from+Google+Sheets)

**Required accounts**

- Google Sheets
- Cloudflare Cache Purge

## Refresh approved cache tags from Google Sheets

### 1. Trigger · New Row Added

**Google Sheets**. Emit an event each time rows are added to the bottom of a spreadsheet.

### 2. Action · Refresh responses with the approved tag

**Cloudflare Cache Purge**. Remove cached responses carrying an exact Cache-Tag from the origin.

### 3. Action · Record the Cloudflare receipt in column D

**Google Sheets**. Call any Google Sheets API v4 operation with the connected account.

## Set up your workflow

1. **Prepare tagged content** Configure your origin to return Cache-Tag on the responses to refresh. Enter one exact tag per request, such as campaign-summer.
2. **Prepare the approval sheet** Create an Approved tab with Tag, Reason, Approved and Receipt in columns A through D. Connect Sheets with write access, select that tab and connect the Cloudflare zone.
3. **Verify approval and receipt** Wait for the initial poll. Append a row with Yes in Approved and confirm that its receipt appears in column D. A row appended without Yes skips the purge. Changing an existing row does not trigger this template.

## Related integrations

- [Google Sheets integrations](https://www.fasthook.io/apps/google-sheets/integrations)
- [Cloudflare Cache Purge integrations](https://www.fasthook.io/apps/cloudflare-cache-purge/integrations)
