Overview
Add Cloudflare to any ModuleX agent or workflow. Cloudflare v4 API integration: DNS, WAF lists, zones, firewall rules, load balancer monitors & pools, account discovery. All againstapi.cloudflare.com/client/v4.
Authentication
API Token Authentication
Authenticate using your Cloudflare API Token (recommended)Required Credentials
Available Actions
list_zones — List, search, sort, and filter your Cloudflare zones
list_zones — List, search, sort, and filter your Cloudflare zones
Parameters
1)20)asc)Response
create_dns_record — Create a new DNS record within a specific zone
create_dns_record — Create a new DNS record within a specific zone
Parameters
1)false)Response
update_dns_record — Update an existing DNS record. Only provided fields are modified.
update_dns_record — Update an existing DNS record. Only provided fields are modified.
delete_dns_record — Delete a DNS record within a specific zone
delete_dns_record — Delete a DNS record within a specific zone
list_waf_lists — Fetch all WAF lists (no items) for an account
list_waf_lists — Fetch all WAF lists (no items) for an account
create_waf_list — Create a new empty WAF list for the account
create_waf_list — Create a new empty WAF list for the account
update_waf_list — Update the description of a WAF list (cannot update items)
update_waf_list — Update the description of a WAF list (cannot update items)
delete_waf_list — Delete a WAF list
delete_waf_list — Delete a WAF list
list_accounts — List all accounts accessible to the user
list_accounts — List all accounts accessible to the user
list_account_members — List members of a given Cloudflare account
list_account_members — List members of a given Cloudflare account
Parameters
1)20)status)asc)Response
list_firewall_rules — List firewall rules for a specific zone
list_firewall_rules — List firewall rules for a specific zone
list_monitors — List all load-balancer monitors in a Cloudflare account
list_monitors — List all load-balancer monitors in a Cloudflare account
Limits & Quotas
- Cloudflare wraps every response in
{"success", "errors", "messages", "result", "result_info"}. The shared_callhelper checks the envelope’ssuccessflag (not just HTTP status), pullserrors[0].messageon failure, and liftsresult_infopagination (total_count,page,per_page) onto the output’s top-leveltotal/page/per_pagefields for list actions. - Most list endpoints cap
per_pageat 50; firewall rules cap at 100. resultis open: list endpoints return a JSON array; CRUD endpoints return the object directly. Mirrors the upstream shape.