AI AGENTS

Cloudflare Page-Rule Change Validator

After a Cloudflare configuration change is deployed, this agent waits, re-measures cache-hit ratio for the affected paths.

CategoryAI Agents
Enginepaperclip
Difficultyadvanced
Triggerwebhook
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWebhook fires on config change deployHTTP webhook
  • ActionRecord baseline cache metrics for pathsCloudflareCloudflare
  • LogicWait soak window for fresh traffic
  • ActionRe-pull metrics and compute deltaCloudflareCloudflare
  • LogicClassify outcome and decide on rollback
  • OutputPost validated verdict to SlackSlack

What it does

Closing the loop on cache optimizations: when a page-rule or cache-key change is applied, this workflow captures a before-snapshot, waits for traffic to accumulate, then re-measures the cache-hit ratio for the affected paths. It judges whether the change delivered the expected improvement and posts a verdict — improved, no effect, or regressed — with a rollback recommendation when needed. It turns guesswork into measured outcomes.

When to use it

Use it right after applying any Cloudflare cache change you want to verify in production, especially changes proposed by the optimizer or pruner workflows.

How it works

  1. 1A webhook fires when a Cloudflare config change is deployed, carrying the affected path patterns.
  2. 2The agent records the baseline cache metrics for those paths from Cloudflare.
  3. 3It waits a configured soak window for fresh traffic to flow.
  4. 4It re-pulls the same metrics and computes the post-change hit-ratio delta.
  5. 5A branch classifies the result and decides if a rollback is warranted.
  6. 6It posts the validated verdict and any rollback recommendation to Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.