Portal Community

Output Ports

PortTriggerDescription
successCloudflare API returned 2xxOperation completed successfully. All response data is available in the output object.
errorAPI error or network failureThe Cloudflare API returned an error code, the API Token was invalid or lacked permissions, or a network failure occurred. The error object includes Cloudflare error codes and messages.

Zone Object Schema

Returned by zone/list (as array items) and zone/get.

FieldTypeDescription
idstringCloudflare Zone ID (32-character hex). Use this as ZoneId in all zone-scoped operations.
namestringThe domain name, e.g. example.com.
statusstringZone status. Values: active, pending, initializing, moved, deleted.
nameserversarrayArray of Cloudflare nameserver hostnames assigned to this zone. Example: ["ada.ns.cloudflare.com", "lee.ns.cloudflare.com"].
original_nameserversarrayNameservers before the domain was delegated to Cloudflare.
planobjectThe Cloudflare plan for the zone. Contains id, name (e.g. Free Website), and price.
created_onstringISO 8601 timestamp when the zone was added to Cloudflare.
modified_onstringISO 8601 timestamp of last modification.
pausedbooleanWhen true, Cloudflare is not proxying or protecting the zone. Traffic goes directly to origin.
typestringZone type. full (Cloudflare-authoritative) or partial (CNAME setup).

Example: zone/list Output

[
  {
    "id": "023e105f4ecef8ad9ca31a8372d0c353",
    "name": "example.com",
    "status": "active",
    "paused": false,
    "type": "full",
    "nameservers": ["ada.ns.cloudflare.com", "lee.ns.cloudflare.com"],
    "plan": { "id": "0feeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "name": "Free Website", "price": 0 },
    "created_on": "2024-01-15T09:22:00Z",
    "modified_on": "2025-03-10T14:05:31Z"
  }
]

DNS Record Object Schema

Returned by dns/list (as array items), dns/get, dns/create, and dns/update.

FieldTypeDescription
idstringDNS record ID (32-character hex). Use as RecordId in get/update/delete operations.
zone_idstringThe Zone ID this record belongs to.
zone_namestringThe domain name of the zone.
typestringRecord type: A, AAAA, CNAME, MX, TXT, SRV, NS, etc.
namestringFull DNS name of the record (always fully qualified). Example: api.example.com.
contentstringRecord value — IP address, hostname, or text string depending on type.
ttlintegerTTL in seconds. Value 1 means Automatic (Cloudflare-managed TTL).
proxiedbooleanWhether traffic to this record is proxied through Cloudflare.
priorityintegerPriority for MX and SRV records. Lower value = higher priority.
created_onstringISO 8601 timestamp when the record was created.
modified_onstringISO 8601 timestamp of last modification.

Example: dns/create Output

{
  "id": "372e67954025e0ba6aaa6d586b9e0b59",
  "zone_id": "023e105f4ecef8ad9ca31a8372d0c353",
  "zone_name": "example.com",
  "type": "A",
  "name": "api.example.com",
  "content": "198.51.100.42",
  "ttl": 1,
  "proxied": true,
  "created_on": "2025-05-23T10:00:00Z",
  "modified_on": "2025-05-23T10:00:00Z"
}

SSL Certificate Object Schema

Returned by ssl/listCerts (as array items) and ssl/getCert.

FieldTypeDescription
idstringCertificate ID. Use as CertificateId in getCert/deleteCert.
typestringCertificate type: universal or dedicated_custom.
statusstringCertificate status: active, pending_validation, pending_issuance, expired.
hostsarrayHostnames covered by the certificate.
expires_onstringISO 8601 expiry timestamp. Use in a scheduled workflow to trigger cert renewal alerts.
issuerstringCertificate authority name.

Cache Purge Output

Returned by cache/purgeByUrl, cache/purgeByTag, cache/purgeAll, and zone/purgeAll.

{
  "id": "9a7806061c88ada191ed06f989cc3dac"
}

The id field is the purge job identifier. Cloudflare cache purges propagate within seconds across all edge PoPs. No polling is required — the response confirms the purge has been queued.

Cloudflare Error Codes

When an operation routes to the error port, the output object includes errors (array) and messages (array). Each error has a code integer and a message string.

Error CodeConstantMeaning & Common Cause
1000INVALID_ZONE_IDThe ZoneId is malformed or does not exist in the account accessible to the provided API Token.
1003INVALID_OR_MISSING_ZONEThe zone was not found. Check that the ZoneId belongs to the account associated with the token.
7000DNS_RECORD_NOT_FOUNDThe specified RecordId does not exist in the zone.
9003MISSING_REQUIRED_PARAMETERA required parameter (e.g. Name or Content in dns/create) was omitted.
9109INVALID_DNS_RECORD_TYPEThe Type field contains an unsupported or misspelled record type. Valid values: A, AAAA, CNAME, MX, TXT, SRV, NS.
9102DNS_RECORD_ALREADY_EXISTSA record with the same name, type, and content already exists in the zone.
6003INVALID_API_TOKENThe API Token is invalid, expired, revoked, or lacks the required permission scope for this operation.
10000CACHE_PURGE_URL_INVALIDOne or more URLs in the Urls array are not valid fully-qualified URLs, or do not belong to the specified zone.
1200SSL_MODE_NOT_SUPPORTEDThe requested SSL mode is not supported for the zone's current plan or configuration.
Accessing output downstream: If your Cloudflare node is named createDnsRecord, access the new record ID via {{ nodes.createDnsRecord.output.id }} and the record content via {{ nodes.createDnsRecord.output.content }}.

Error Output Schema

{
  "success": false,
  "errors": [
    {
      "code": 9109,
      "message": "Invalid DNS record type 'ANAME'. Valid types are: A, AAAA, CNAME, MX, TXT, SRV, NS."
    }
  ],
  "messages": []
}