Portal Community
What this node does: The Cloudflare node provides full Cloudflare API coverage across four resources: zone, dns, ssl, and cache. All access requires a scoped Cloudflare API Token — not an email address and global API key. Tokens grant the minimum-privilege scopes needed (e.g. Zone:DNS:Edit for DNS management).

Resources & Operations (22 total)

zone 5 Operations

OperationDescription
zone/listList all zones accessible to the API token. Returns an array of zone objects including id, name, status, and nameservers.
zone/getRetrieve full details for a specific zone by its ID.
zone/getSettingsGet all settings for a zone including SSL mode, cache level, security level, minification, and more.
zone/updateSettingsUpdate one or more zone settings in a single call. Pass a JSON object of setting keys and values.
zone/purgeAllPurge the entire Cloudflare cache for the zone. All cached assets will be re-fetched from origin on the next request.

dns 8 Operations

OperationDescription
dns/listList all DNS records for a zone. Returns an array of record objects with type, name, content, TTL, and proxied status.
dns/getRetrieve a single DNS record by record ID within a zone.
dns/createCreate a new DNS record. Supports A, AAAA, CNAME, MX, TXT, SRV, and NS record types with optional TTL and proxy settings.
dns/updateUpdate an existing DNS record by ID. Replace content, TTL, proxy status, or type.
dns/deletePermanently delete a DNS record by record ID.
dns/batchCreateCreate multiple DNS records in one operation. Pass a JSON array of record objects.
dns/importImport DNS records from a BIND zone file (RFC 1035 format). Useful for migrating existing DNS configurations.
dns/exportExport all DNS records for a zone as a BIND zone file. Returns the file content as a string.

ssl 6 Operations

OperationDescription
ssl/getSettingsGet the current SSL mode, certificate type, minimum TLS version, and related settings for a zone.
ssl/setModeSet the SSL encryption mode: off, flexible, full, or strict.
ssl/listCertsList all SSL certificates associated with a zone.
ssl/getCertRetrieve details for a specific certificate by its ID.
ssl/orderCertOrder a new SSL certificate for a zone. Supports dedicated_custom and universal certificate types.
ssl/deleteCertDelete an SSL certificate by certificate ID.

cache 3 Operations

OperationDescription
cache/purgeByUrlPurge specific URLs from the Cloudflare cache. Accepts a JSON array of fully-qualified URLs. Immediate effect.
cache/purgeByTagPurge cached assets by cache tag. Accepts a JSON array of tag strings. Requires Cloudflare Enterprise.
cache/purgeAllPurge the entire Cloudflare cache for a zone. Equivalent to zone/purgeAll; provided as a convenience under the cache resource.

Key Use Cases

Authentication

API Token required — not email + global key: This node authenticates exclusively via a scoped Cloudflare API Token. Generate tokens in the Cloudflare dashboard under My Profile → API Tokens. Create a token with only the permissions your workflow needs (e.g. Zone:DNS:Edit and Zone:Cache Purge). Never use the unrestricted Global API Key in automated workflows.

In This Guide

Configuration

Complete property reference for all 22 operations across zone, dns, ssl, and cache resources.

Input & Output

DNS record object schema, zone object schema, output ports, and Cloudflare error codes.

Examples

Five real-world examples: dynamic DNS update, cache purge on deploy, SSL enforcement, BIND import, and zero-downtime DNS switch.