Cloudflare Api Key

25 tools available

Cloudflare provides a suite of services to enhance the security, performance, and reliability of websites and applications.

Connect Cloudflare Api Key to Definable to automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas call Cloudflare Api Key's 25 tools directly from chat or scheduled flows. You can wire it into any persona to read, write, and react when an event fires.

Common workflows with Cloudflare Api Key

01

Trigger on event

  1. Listen for a new event
  2. Parse and validate the payload
  3. Take an action with the linked tool
02

Daily summary

  1. Pull yesterday's activity
  2. Summarise with the model of your choice
  3. Send the digest via email or Slack
03

Cross-tool sync

  1. Read records from one app
  2. Transform with a persona
  3. Write the result back via this integration

Cloudflare Api Key actions 25

Every Cloudflare Api Key action below is a callable tool any Definable persona can invoke.

Create DNS Record

Tool to create a new DNS record in a Cloudflare zone. Use when you need to add a record (A, CNAME, TXT, MX, etc.) to a specified zone.

Create Zone Lockdown Rule

Tool to create a Zone Lockdown rule. Use when you need to restrict access to specific URL patterns to defined IPs/CIDR ranges. Use after confirming zone_id.

Create Rule in Ruleset

Tool to add a rule to an existing ruleset. Use when you need to append or insert a new rule in a Cloudflare ruleset.

Create Ruleset

Creates a new Cloudflare ruleset at account or zone scope. Rulesets contain rules that control traffic behavior (firewall, rate limiting, redirects, etc.). First use List Zones to get a zone_id, then specify the phase (e.g., 'http_request_firewall_custom' for WAF rules).

Delete DNS Record

Tool to delete a DNS record. Use when you need to remove a specific DNS record from a zone after confirming both zone and record IDs.

Delete DNSSEC

Tool to delete DNSSEC records for a zone. Use after disabling DNSSEC at the registrar to remove DNSSEC configuration.

Delete Rule from Ruleset

Tool to delete a specific rule from a ruleset. Use when you need to remove an outdated or incorrect rule from an account or zone ruleset after confirming IDs.

Delete Ruleset

Tool to delete all versions of a ruleset. Use when you need to remove a ruleset from an account or zone after confirming no references exist.

Delete a zone

Tool to delete an existing zone. Use after confirming the zone_id to permanently remove the zone.

Get Cloudflare IP Addresses

Tool to retrieve IP addresses used on the Cloudflare or JD Cloud network. Use when you need to obtain the list of IPv4 and IPv6 CIDR blocks used by Cloudflare's infrastructure or JD Cloud data centers.

Get Entrypoint Ruleset Version

Retrieves a specific historical version of an entry point ruleset from Cloudflare. Entry point rulesets are phase-specific and define the rules that execute during a particular phase of request/response processing. This tool fetches a specific version, allowing you to view rules as they existed at a particular point in time. Use cases: - Audit historical rule configurations - Compare rule changes between versions - Rollback analysis (view what rules looked like before a change) - Debug issues by examining past ruleset states Prerequisites: - Requires a valid account_id or zone_id (use List Zones to get zone IDs) - Requires knowing the ruleset phase (e.g., 'http_request_firewall_custom') - Requires knowing the version number to fetch

Get Lockdown Rule

Tool to get a Zone Lockdown rule. Use when you need to fetch details of a specific lockdown rule by its ID within a Cloudflare zone.

Get Regional Tiered Cache

Tool to get the regional tiered cache setting for a zone. Use when you need to verify if regional tiered cache is enabled for performance optimization after zone activation.

Get Ruleset

Tool to fetch the latest version of a ruleset by ID. Use after you have the ruleset scope and ID.

Get Zone Details

Tool to get details for a specific zone. Use when you need detailed zone metadata by ID.

List DNS Records

List, search, sort, and filter DNS records for a Cloudflare zone. Use this tool to retrieve DNS records (A, AAAA, CNAME, TXT, MX, etc.) for a zone. Supports filtering by record type, name, content, and proxy status. Results are paginated; use page and per_page parameters for large record sets. Requires a valid zone_id which can be obtained from the List Zones action.

List Cloudflare Zones

Tool to list, search, sort, and filter Cloudflare zones. Use when you need to retrieve a paginated list of zones available to the authenticated user.

Overwrite DNS Record

Tool to completely overwrite a DNS record. Use when you need to replace all record details after confirming record type and name.

Rerun Zone Activation Check

Triggers a new activation check for a zone with 'pending' status. Use this after creating a zone or updating nameservers to verify that DNS propagation is complete and the zone can be activated. Rate limits apply: once every 5 minutes for paid plans (paygo/Enterprise) or once per hour for Free plans.

Update DNSSEC Status

Tool to update DNSSEC configuration for a zone. Use when you need to enable or disable DNSSEC or adjust DNSSEC options after confirming the zone ID.

Update Lockdown Rule

Tool to update a zone lockdown rule. Use when you need to modify the IP or URL settings of an existing Zone Lockdown rule after confirming the rule exists.

Update Rule in Ruleset

Tool to update a specific rule in a ruleset. Use when you need to modify a rule's configuration or reorder it after reviewing its current settings.

Update Ruleset

Update a Cloudflare ruleset, creating a new version. Use this to modify ruleset description, name, or rules. IMPORTANT: When updating rules, you must include ALL rules you want to keep - any rules not included will be removed. Cannot modify managed rulesets directly - use overrides instead.

Update Cloudflare Zone

Tool to edit a Cloudflare zone. Use when you need to update a single zone property at a time. Ensure only one of paused, type, or vanity_name_servers is provided per call.

Upload File to S3

Tool to upload arbitrary file content to temporary storage. Use when you need to stage files for actions requiring FileUploadable.

Frequently asked questions

What can I automate with Cloudflare Api Key on Definable?

Anything Cloudflare Api Key exposes through its API. Common security & identity tools workflows on Definable include automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas can call any of the 25 Cloudflare Api Key tools directly, then chain the result into another integration without you writing code.

How does Cloudflare Api Key authentication work?

Cloudflare Api Key uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

Is the Cloudflare Api Key integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 25 Cloudflare Api Key tools. You only need a separate Cloudflare Api Key subscription if Cloudflare Api Key itself charges per seat or per API call.

Is using Cloudflare Api Key through Definable secure?

Every call from a persona to Cloudflare Api Key is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

How do I get started with Cloudflare Api Key on Definable?

Sign up for Definable, open the integrations page, find Cloudflare Api Key, and connect via OAuth or API key. You can immediately attach Cloudflare Api Key to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

What Cloudflare Api Key actions does Definable expose?

Definable exposes all 25 Cloudflare Api Key actions as callable tools — including `Create DNS Record`, `Create Zone Lockdown Rule`, `Create Rule in Ruleset`, plus 22 more. Each tool gets a typed parameter schema so personas know exactly how to call it.

Ready to automate with Cloudflare Api Key?

Wire it up in minutes. No coding required.

← All integrations