AI AGENTS

Slack Command Runbook Executor for Cloudflare WAF

An on-call engineer types a remediation request in Slack; the agent maps it to a documented runbook, executes the Cloudflare WAF change after confirmation.

CategoryAI Agents
Enginepaperclip
Difficultyintermediate
Triggerchat
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerSlack remediation command receivedSlack
  • ActionMatch request to runbook and propose exact WAF changeCustom MCP server
  • LogicWait for in-thread confirmation or cancel
  • ActionApply confirmed Cloudflare WAF rule changeCloudflareCloudflare
  • OutputReply in-thread with diff, rule ID, and rollback commandSlack

What it does

Lets on-call engineers run documented WAF remediations from Slack in plain language. The agent interprets the request, finds the matching runbook, asks for confirmation on the exact change, applies it to Cloudflare, and reports back in the same thread.

When to use it

Use it when you want a human-in-the-loop remediation path: the engineer decides what to do, but the agent handles the runbook lookup and the precise Cloudflare API call so nobody fat-fingers a rule under pressure. Great for ad-hoc incidents that do not start from an automated alert.

How it works

  1. 1An engineer posts a remediation request via a Slack slash command or mention.
  2. 2The agent matches the request to a runbook pulled from the MCP server and proposes the exact WAF change.
  3. 3A logic step waits for the engineer to confirm or cancel in-thread.
  4. 4On confirmation, the agent applies the Cloudflare WAF rule change.
  5. 5It replies in-thread with the diff, the rule ID, and a rollback command.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SlackChannels, DMs, threads, mentions.
  2. 2
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  3. 3
    Connect Custom MCP serverConnect any MCP-compatible tool you own.
  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.