Integrations / Infrastructure
Cloudflare
Look up zones and DNS records, create and update DNS records, purge cached content, and trigger workflows from Cloudflare notifications.
Tools
cloudflare.list_zones
List zones (domains), optionally filtered by name or status. Zone IDs are 32-character hex strings.
cloudflare.list_dns_records
List a zone's DNS records, optionally filtered by name, type or content. Record IDs are 32-character hex strings.
cloudflare.create_dns_record writes
Create a DNS record in a zone.
cloudflare.update_dns_record writes
Change some fields of a DNS record, leaving the others as they are.
cloudflare.purge_cache writes
Purge cached content from a zone, by URL, cache tag, hostname or prefix, or everything.
cloudflare.api_get
Send a GET request to any Cloudflare API path under https://api.cloudflare.com/client/v4 and return the response. For endpoints the named tools don't cover.
cloudflare.api_request writes
Send a POST, PUT, PATCH or DELETE request to any Cloudflare API path under https://api.cloudflare.com/client/v4.
Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any Cloudflare API path.
Connect
- In the Cloudflare dashboard, open My Profile → API Tokens and create a token with Zone Read, plus DNS Edit and Cache Purge for the zones your workflows change.
- Paste the token on the connection.
- To trigger workflows, open Notifications → Destinations, add a generic webhook with the request URL shown on the connection page and a secret you choose, attach it to the notification policies you want, and paste the same secret on the connection.
Credentials
Triggers
In the Cloudflare dashboard, open Notifications → Destinations, add a generic webhook with this URL and a secret you choose, attach it to your notification policies, and paste the same secret on this connection.
Events
triggerkind: cloudflare connection: cloudflare events: [http_alert_origin_error] policies: [...] states: [...] accounts: [...]
Your next automation is one sentence away.
14-day free trial with $5 of built-in AI included. Cancel anytime.