⚡ Only 300 spots remaining • Closes in 2d 14h 32m

Back to Workflow Library
Cloud Services

Cloudflare DNS Update via Webhook

Manage your infrastructure with code. This workflow provides a public webhook endpoint that, when triggered with a new IP address, instantly updates your specified Cloudflare DNS A-record. Great for home labs and dynamic dev environments.

#Cloudflare
#DNS
#Networking
#Cloud
#Webhook

Automation Logic

n8n JSON Blueprint

This workflow is pre-configured and ready for deployment. Simply import the JSON template into your n8n instance and configure your credentials.

This is an exclusive blueprint. Copy the JSON below to use it.

QUICK DEPLOY

  • 1
    Download the .json file
  • 2
    Open n8n & click "Import"
  • 3
    Configure your API keys

PRO TIP

Always test your workflow in a development environment before pushing to production.

JSON BLUEPRINT

n8n-workflow.json
{
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "update-dns",
        "options": {}
      },
      "name": "DNS Update Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "operation": "update",
        "zoneId": "YOUR_ZONE_ID",
        "dnsRecordId": "YOUR_RECORD_ID",
        "type": "A",
        "name": "dynamic.yourdomain.com",
        "content": "={{$node[\"DNS Update Webhook\"].json[\"body\"][\"ip\"]}}"
      },
      "name": "Update Cloudflare",
      "type": "n8n-nodes-base.cloudFlare",
      "typeVersion": 1,
      "position": [
        500,
        300
      ]
    }
  ],
  "connections": {
    "DNS Update Webhook": {
      "main": [
        [
          {
            "node": "Update Cloudflare",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

To use this, copy the JSON above and paste it directly onto your n8n canvas.

IMPLEMENTATION GUIDE

Required Nodes

  • Cloudflare Node
  • DNS Node
  • Networking Node
  • Cloud Node
  • Webhook Node
  • Cron / Webhook Trigger

Core Benefits

  • 100% Automated Execution
  • Reduces Manual Data Entry
  • Infinite Scalability

Need Help Building Your Private Cloud?

Join the elite marketers who have offloaded their entire backend to n8n. Get direct support and custom builds in our private forum.

user