Google Sheets logo
Cloudflare Cache Purge logo

Workflow template

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.

How it works

Refresh approved cache tags from Google Sheets

1 Trigger · 2 Actions
Google Sheets1 · Trigger

New Row Added

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

Cloudflare Cache Purge2 · Action

Refresh responses with the approved tag

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

Google Sheets3 · Action

Record the Cloudflare receipt in column D

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

Before activation

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.