Appearance
Cloudflare
Manage DNS records, zones, Workers, and security rules with the Cloudflare API.
| Detail | Value |
|---|---|
| Category | Cloud & Infra |
| Base URL | https://api.cloudflare.com/client/v4 |
| Authentication | Bearer Token |
| Endpoints | 6 |
| Connector key | cloudflare |
Using Cloudflare in a workflow
- Go to Connections and click New Connection.
- Pick Cloudflare from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — the full list is below.
Available endpoints
| Endpoint | Summary |
|---|---|
GET /zones | List zones |
GET /zones/{zone_id}/dns_records | List DNS records |
POST /zones/{zone_id}/dns_records | Create a DNS record |
PUT /zones/{zone_id}/dns_records/{dns_record_id} | Update a DNS record |
DELETE /zones/{zone_id}/dns_records/{dns_record_id} | Delete a DNS record |
GET /zones/{zone_id}/analytics/dashboard | Get zone analytics |
Each endpoint is documented in full below. Use the outline on the right to jump to one.
GET /zones
List zones
| Detail | Value |
|---|---|
| Operation ID | cloud.listZones |
| Method | GET |
| Path | /zones |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
name | query | string | No |
per_page | query | integer | No |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Cloudflare connection from the Connection dropdown.
- In the Operation dropdown, select
cloud.listZones. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Cloudflare API reference.
GET /zones/{zone_id}/dns_records
List DNS records
| Detail | Value |
|---|---|
| Operation ID | cloud.listDnsRecords |
| Method | GET |
| Path | /zones/{zone_id}/dns_records |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
zone_id | path | string | Yes |
type | query | string | No |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Cloudflare connection from the Connection dropdown.
- In the Operation dropdown, select
cloud.listDnsRecords. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Cloudflare API reference.
POST /zones/{zone_id}/dns_records
Create a DNS record
| Detail | Value |
|---|---|
| Operation ID | cloud.createDnsRecord |
| Method | POST |
| Path | /zones/{zone_id}/dns_records |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
zone_id | path | string | Yes |
Request Body
| Field | Type |
|---|---|
type | string |
name | string |
content | string |
proxied | boolean |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Cloudflare connection from the Connection dropdown.
- In the Operation dropdown, select
cloud.createDnsRecord. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Cloudflare API reference.
PUT /zones/{zone_id}/dns_records/{dns_record_id}
Update a DNS record
| Detail | Value |
|---|---|
| Operation ID | cloud.updateDnsRecord |
| Method | PUT |
| Path | /zones/{zone_id}/dns_records/{dns_record_id} |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
zone_id | path | string | Yes |
dns_record_id | path | string | Yes |
Request Body
| Field | Type |
|---|---|
type | string |
name | string |
content | string |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Cloudflare connection from the Connection dropdown.
- In the Operation dropdown, select
cloud.updateDnsRecord. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Cloudflare API reference.
DELETE /zones/{zone_id}/dns_records/{dns_record_id}
Delete a DNS record
| Detail | Value |
|---|---|
| Operation ID | cloud.deleteDnsRecord |
| Method | DELETE |
| Path | /zones/{zone_id}/dns_records/{dns_record_id} |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
zone_id | path | string | Yes |
dns_record_id | path | string | Yes |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Cloudflare connection from the Connection dropdown.
- In the Operation dropdown, select
cloud.deleteDnsRecord. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Cloudflare API reference.
GET /zones/{zone_id}/analytics/dashboard
Get zone analytics
| Detail | Value |
|---|---|
| Operation ID | cloud.getAnalytics |
| Method | GET |
| Path | /zones/{zone_id}/analytics/dashboard |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
zone_id | path | string | Yes |
since | query | string | No |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Cloudflare connection from the Connection dropdown.
- In the Operation dropdown, select
cloud.getAnalytics. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Cloudflare API reference.