Templates / Manage Cloudflare DNS records with AI-powered chat assistant

Manage Cloudflare DNS records with AI-powered chat assistant

Needs changes

by KPendic ✓ · 1,457 views · created 2025-08-02 · DevOps, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects OpenAI Chat Model and Postgres Chat Memory. It also calls api.cloudflare.com over HTTP.

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. Chat Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (CloudFlare tool); memory: Postgres Chat Memory
  2. Json (Code): runs custom JavaScript code
  3. Switch: routes items into 3 branches
  4. Get TLDs (HTTP Request): calls api.cloudflare.com
  5. Getter (HTTP Request): calls an HTTP API
  6. Setter (HTTP Request): calls an HTTP API (PATCH)
  7. Host details (Split Out): splits a list into separate items

Services it uses

OpenAI Chat ModelPostgres Chat Memory

HTTP calls to: api.cloudflare.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Chat Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Chat Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

This n8n flow demos basic dev-ops operation task, dns records management. AI agent with light and basic prompt functions like getter and setter for DNS records. In this special case, we are managing remote dns server, via API calls - that are handled on…

Excerpt from KPendic's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.