AI AGENTS

Cloudflare Cache-Miss Spike Responder

When Cloudflare cache-miss rate spikes past a threshold, this workflow analyzes which paths regressed and posts a diagnosed alert with a suggested fix to Slack.

CategoryAI Agents
Enginesim
Difficultyintermediate
Triggerwebhook
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWebhook receives cache-miss spike alertHTTP webhook
  • ActionFetch recent edge analytics and per-path metricsCloudflareCloudflare
  • LogicDiff current miss rate against rolling baseline
  • LogicConfirm regression is real, drop noise
  • OutputPost diagnosed alert with suggested fix to SlackSlack

What it does

This is a fast-reaction monitor. A webhook from your monitoring layer (or a Cloudflare alert) fires when cache-miss rate jumps. The workflow immediately pulls the last hour of edge analytics, isolates which URL patterns regressed versus baseline, and posts a Slack message that names the offending paths, the likely cause, and a one-line suggested cache-key or TTL fix — so on-call can act in seconds instead of hunting through dashboards.

When to use it

Use it when a deploy or origin config change silently tanks your hit ratio and you want to know within minutes, not on the next weekly report.

How it works

  1. 1A webhook trigger receives the cache-miss spike alert.
  2. 2The workflow fetches the recent cache analytics and per-path metrics from Cloudflare.
  3. 3It compares current miss rates against the rolling baseline to find the deltas.
  4. 4A branch confirms the regression is real and not noise; spurious spikes are dropped.
  5. 5It composes a diagnosis: offending paths, suspected cause, and a concrete suggested change.
  6. 6The alert is delivered to the on-call Slack channel.

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.