Cloudflare
Native OpenClaw Cloudflare plugin for zones, DNS records, and cache purge workflows
Install
$
openclaw plugins install clawhub:cloudflareCloudflare Plugin
Native OpenClaw plugin that adds Cloudflare API workflows with:
- zone discovery by account, name, and status
- DNS record listing, creation, update, and deletion
- cache purge by full zone or explicit file URLs
Install
npm install
npm run build
openclaw plugins install .
openclaw plugins enable cloudflare
openclaw gateway restart
Config
{
plugins: {
entries: {
cloudflare: {
enabled: true,
config: {
apiToken: "YOUR_CLOUDFLARE_API_TOKEN", // pragma: allowlist secret
defaultZoneId: "your-zone-id",
defaultAccountId: "your-account-id",
},
},
},
},
}
Recommended token scopes:
Zone:Readforcloudflare_list_zonesDNS:ReadandDNS:Editfor DNS record toolsCache Purge:Purgeforcloudflare_purge_cache
Tools
cloudflare_list_zonescloudflare_list_dns_recordscloudflare_upsert_dns_recordcloudflare_delete_dns_recordcloudflare_purge_cache
