n8n community nodes for Cloudflare - DNS, Workers, R2, KV, D1, Pages, AI, Zero Trust and more
npm install n8n-nodes-cloudflare














Comprehensive n8n community nodes for Cloudflare - manage your entire Cloudflare infrastructure from n8n workflows.
| Category | Services |
| ----------------------- | -------------------------------------------------------------- |
| Core Infrastructure | DNS, Zones, Cache, SSL/TLS, Page Rules |
| Developer Platform | Workers, Pages, D1, KV, R2, Queues, Durable Objects, Vectorize |
| Security | Firewall, WAF, Bot Management, Rate Limits, Zero Trust, Access |
| Media | Stream, Images, Calls |
| Analytics | Radar, Logpush, RUM, DEX |
| Networking | Load Balancer, Argo, Tunnels, Spectrum, Magic Transit |
100+ Cloudflare API operations with dynamic dropdowns for accounts, zones, and resources.
1. Go to Settings ā Community Nodes
2. Click Install
3. Enter: n8n-nodes-cloudflare
4. Click Install
``bash`
npm install n8n-nodes-cloudflare
Create Cloudflare API credentials in n8n:
1. Go to Credentials ā New
2. Search for Cloudflare API
3. Enter your Cloudflare API Token or API Key + Email
Recommended: Use API Tokens with minimal required permissions.
| Node | Description |
| ------------------------- | -------------------------------------------------------------- |
| Cloudflare DNS | Manage DNS records, analytics, firewall, secondary DNS |
| Cloudflare Workers | Deploy scripts, KV bindings, AI inference, dispatch namespaces |
| Cloudflare Zones | Zone settings, cache, page rules, waiting rooms, snippets |
| Cloudflare Zero Trust | Access apps, tunnels, devices, DEX, gateway rules |
| Cloudflare Security | WAF rulesets, bot management, rate limits, page shield |
| Cloudflare SSL | Certificates, mTLS, Origin CA, Total TLS |
R2 Storage, D1 Database, Pages, Stream, Images, Queues, Load Balancer, Registrar, Email Routing, Logpush, Radar, and 50+ more specialized nodes.
`json`
{
"nodes": [
{
"parameters": {
"zoneId": "2454f994f1057a933cf06857ea485578",
"returnAll": true,
"filters": {
"proxied": true
}
},
"type": "CUSTOM.cloudflareDns",
"typeVersion": 1,
"position": [208, 0],
"id": "ba613500-5af9-4a88-8334-1230e875c060",
"name": "Get many DNS records",
"credentials": {
"cloudflareApi": {
"id": "46t5YxHZ7Xygke2Z",
"name": "Cloudflare account"
}
}
}
],
"connections": {}
}
All nodes feature dynamic dropdowns that load data from your Cloudflare account:
- Accounts - Select from your Cloudflare accounts
- Zones - Choose domains from your account
- Workers - Pick deployed worker scripts
- R2 Buckets - Select storage buckets
- KV Namespaces - Choose key-value stores
- And more...
n8n requires that all installed nodes have unique internal names. If you have other community node packages installed that register a node with the same name as a node in this package, n8n may throw an installation error.
If you hit this, uninstall the conflicting package and restart n8n.
Example report: https://github.com/Automations-Project/n8n-nodes-cloudflare/issues/2
The Cloudflare Vectorize node includes a built-in RAG (Embed + Store) resource that combines Workers AI embeddings with Vectorize storage in a single operation:
- Insert Documents: Text ā Embeddings ā Vector Storage
- Search Documents: Query ā Embedding ā Similarity Search
š See docs/RAG-WORKFLOW-GUIDE.md for complete workflow examples.
> Note: Native LangChain cluster node integration (Document Loader, AI Agent tool connectors) requires n8n core support and is not available in community nodes. See the documentation for details and how to request this feature from n8n.
- n8n >= 1.0.0
- Node.js >= 18.17.0
- Cloudflare Account with API access
`bashRun all tests
npm test
Test Structure:
-
nodes/shared/GenericFunctions.test.ts - Utility functions
- credentials/CloudflareApi.credentials.test.ts - Credential validation
- nodes/CloudflareDns/CloudflareDns.test.ts - Node structure template$3
`bash
npm run build # Build for production
npm run dev # Watch mode for development
npm run lint # Run ESLint
npm run format # Format with Prettier
`š¤ Contributing
Contributions welcome! Please:
1. Fork the repository
2. Create a feature branch
3. Run tests:
npm test`See CONTRIBUTING.md for detailed guidelines.
Found a bug? Open an issue
nskha - @automations-project
- npm Package
- GitHub Repository
- Cloudflare API Docs
- n8n Community Nodes