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.
Ideas
What you can automate in Cloudflare
Get a weekly Cloudflare traffic report
Every Monday you see requests, bandwidth and blocked threats for each site, with the change from the week before.
See how it worksEmail yourself a weekly DNS backup
Each week a copy of every DNS record in your zones lands in your inbox, ready to restore from.
See how it worksGet a Slack alert when a DNS record changes
Within the hour you know about any DNS record that was added, removed or edited, and what it looked like before.
See how it worksGet warned 30 days before a certificate expires
Each certificate close to expiry is flagged once, a month ahead, so you have time to renew it.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with Cloudflare, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any Cloudflare automation you can describe
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
On a schedule
Get a weekly Cloudflare traffic reportOn a schedule
On a schedule
Email yourself a weekly DNS backupWeekly
On a schedule
Get a Slack alert when a DNS record changesHourly
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
- 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.
- 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.
- Limit the token to the specific zones it should see, optionally set a TTL, then go to the summary and create it.
- 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?
How does the DNS change alert spot an edit?
What does the DNS backup look like?
Which certificates does the expiry check cover?
Is AI needed for these Cloudflare automations?
Is this a Cloudflare connector for ChatGPT or Claude?
Related pages
Keep exploring