Skip to content

Automate Cloudflare

Stay on top of your Cloudflare zones without logging in to check them. Weekly traffic and threat numbers, a copy of your DNS records, edits someone made to a record and certificates close to expiry come to you as a report or an alert. Say what you want watched to your AI assistant, review the proposed steps, and it handles the checks on schedule from then on.

Try asking

Create a ClickRuntime automation: every Monday at 9am, email me last week's Cloudflare requests, bandwidth and threats blocked for example.com and shop.example.com, compared with the previous week.

Paste it into your assistant. It tells you what it will send or change before it runs live.

Build your own

Build any Cloudflare automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what Cloudflare should do in your own words, with your conditions, other apps or an AI step, and your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

For example, ask your assistant

Every hour, check Cloudflare analytics for my zone and alert me if blocked requests jump to more than 3 times the daily average.

Every morning, check that my Cloudflare DNS records still match the list in my Google Sheet and send me any differences.

Once a day, check my Cloudflare SSL certificates and domain expiry dates, log them in Google Sheets, and post a Slack alert for anything expiring within 30 days.

Beyond chat

Have Cloudflare work when you're not in the chat

Connecting Cloudflare to ChatGPT or Claude lets you ask about it while you chat. ClickRuntime handles the part that should happen on its own: checks on a schedule and actions on each new event, set up from the same chat and running after you close it.

Setup

Connect Cloudflare

Cloudflare connects with a scoped API token you create yourself. You choose the permission groups and the exact accounts or zones it can reach, instead of handing over the legacy Global API Key.

Cloudflare

Developer / CDN, DNS & edge

  1. In Cloudflare, open My Profile, then API Tokens, and choose Create Token. For a token owned by the account rather than you, use Manage Account, then API Tokens.
  2. Start from a template or a custom token and add the permissions you need, such as Zone Analytics Read, DNS Read and SSL and Certificates Read.
  3. Limit the token to the specific zones it should see, optionally set a TTL, then go to the summary and create it.
  4. Copy the token secret, which is shown once, and save it as a secret on Connections & secrets in the ClickRuntime dashboard.

Good to know

Cloudflare limits that affect automations

  • The token secret is displayed only when it is created. Lose it and you will need to make a new token.
  • Account-owned tokens keep working after the person who made them leaves, but not every Cloudflare endpoint accepts them.
  • On the free plan, some analytics datasets only allow short query windows, which can limit week-over-week comparisons.
  • Universal SSL certificates renew on their own, so expiry warnings are most useful for custom certificates you uploaded.

FAQ

Questions about automating Cloudflare

Can ClickRuntime change my DNS or Cloudflare settings?
Only if your token has Edit permissions. The automations on this page need read access alone: analytics, DNS records and certificates for the zones you selected.
How does the DNS change alert spot an edit?
Every hour it lists your records, compares them with the last saved snapshot and posts anything added, removed or changed. Then it stores the new snapshot for the next check.
What does the DNS backup look like?
Each zone is exported as a BIND-format zone file and placed in the body of the email, so you have a readable copy you can restore from.
Which certificates does the expiry check cover?
Certificate packs and custom certificates on each zone. Any certificate that reports an expiry date within 30 days is flagged once, so you are not reminded every day for the same one.
Is AI needed for these Cloudflare automations?
No. They compare numbers, records and dates. If you want a plain-language note on what changed in the traffic report, the AI bundled with every ClickRuntime plan can add it, and you do not need your own key.
Is this a Cloudflare connector for ChatGPT or Claude?
Not for chatting with Cloudflare data. A chat connector lets your assistant read and change Cloudflare while you're in the conversation. ClickRuntime is for the work that should happen without you: you set up an automation from the chat once, and it keeps running on a schedule or on each Cloudflare event.

Tell your assistant what Cloudflare should do

Free plan. No credit card.