Skip to content

Start building

Integration · Cloud and hosting

AI agents for Cloudflare

List zones, read, create and update DNS records, purge the cache and read a zone's daily traffic, with a Cloudflare API token.

Actions
6
Read
3
Write
3

Actions

What your agents can do in Cloudflare

6 actions. Each one is a tool your agents can call and a step your workflows can run.

Read 3

Look things up. Nothing changes.

  • List zones

    Lists the zones (domains) the token can reach, as result.

  • List DNS records

    Lists a zone's DNS records, as result: each with its ID, type, name, content, TTL (1 means automatic), whether it is proxied through Cloudflare, priority and comment.

  • Get a zone's daily traffic

    Reads a zone's traffic per day between two dates (UTC, at most 31 days) from Cloudflare's GraphQL Analytics API.

Write 3

Create, change or send.

  • Create a DNS record

    Adds a DNS record to a zone: an A or AAAA record pointing at an IP address, a CNAME to another host name, an MX mail server (with a priority), a TXT value.

  • Update a DNS record

    Changes an existing DNS record by its ID: its content (like a new IP address), TTL, proxy status, priority or comment.

  • Purge the cacheDeletes data

    Removes cached content from Cloudflare's edge for a zone, so the next visitors get fresh copies from the origin.

A person can approve first

Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything. Actions that delete data ask first by default.

Connection

How it connects

Connect it once in the console, then give it to the agents and workflows that need it.

API key

Paste an API key from your Cloudflare account.

What you enter

  • API token

Kept safe

  • Credentials are stored encrypted with your organization's own keys.
  • They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
  • Calls go only to the tool's own servers.

How we protect your data

Ideas

Ideas to start with

Starting points made only from the actions above. Mix them with any other tool your agents can use.

  • 01

    Ask about your Cloudflare data

    Ask a question in plain words. The agent can list zones, list DNS records or get a zone's daily traffic in Cloudflare, then answers with what it found.

  • 02

    Let an agent update Cloudflare

    Have the agent create a DNS record or update a DNS record in Cloudflare as part of a larger task. Turn on approval and a person signs off on each change first.

  • 03

    Share what it finds in Slack

    Give one agent Cloudflare and Slack: it can list zones in Cloudflare and post a summary to a Slack channel in the same run.

FAQ

Cloudflare and MyDeepAgents

Can MyDeepAgents connect to Cloudflare?

Yes. The Cloudflare connector has 6 actions: 3 read and 3 make changes. Your agents can call them as tools, and your workflows can run them as steps.

How do I connect Cloudflare?

Paste an API key from your Cloudflare account. You'll need: API token. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.

Can an agent change data in Cloudflare without asking?

Only if you let it. Each of the 3 actions that change data can be set to wait for a person's approval before it runs, and the one that deletes data asks first by default.

Can I use Cloudflare in workflows as well as agents?

Yes. Every Cloudflare action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put Cloudflare to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.