GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Windmill Hub
  • Discord
  • Discussions
  • Windmill
  • Login

This view

  • Original page
  • New address

GeezerVison is showing hub.windmill.dev — Cloudflare integration | Windmill Hub

Set up in 3 steps

1

Create an API token

In the Cloudflare dashboard, open My Profile then API Tokens. Create a token, granting only the permissions and zones your scripts need, and copy it.

2

Add the resource in Windmill

Open Resources, add a resource of type cloudflare, and paste the token and your account ID (from the dashboard URL). Account-level scripts such as KV, R2 and Workers need the account ID; leave email and key empty.

3

Run your first script

Run List Zones to check the token, then fork any script below. Zone and KV namespace inputs are dropdowns filled from your account.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Submit a script →

Write KV Pairs

Script cloudflare Verified

Update DNS Record

Script cloudflare Verified

Send Queue Message

Script cloudflare Verified

Scrape Elements

Script cloudflare Verified

Revoke Origin CA Certificate

Script cloudflare Verified

Read KV Value

Script cloudflare Verified

Query Workers Observability

Script cloudflare Verified

Query D1 Database

Script cloudflare Verified

Purge Cache

Script cloudflare Verified

List Zones

Script cloudflare Verified

List Workers

Script cloudflare Verified

List Worker Deployments

Script cloudflare Verified

List R2 Buckets

Script cloudflare Verified

List Origin CA Certificates

Script cloudflare Verified

List KV Keys

Script cloudflare Verified

List DNS Records

Script cloudflare Verified

List D1 Databases

Script cloudflare Verified

Import DNS Records

Script cloudflare Verified

Get Screenshot

Script cloudflare Verified

Get PDF

Script cloudflare Verified

Get Page as Markdown

Script cloudflare Verified

Get Rendered HTML

Script cloudflare Verified

Export DNS Records

Script cloudflare Verified

Delete DNS Record

Script cloudflare Verified

Create Zone

Script cloudflare Verified

Create R2 Bucket

Script cloudflare Verified

Create Origin CA Certificate

Script cloudflare Verified

Create KV Namespace

Script cloudflare Verified

Create IP Access Rule

Script cloudflare Verified

Create DNS Record

Script cloudflare Verified

Resource type

The shape of the credential every script on this page expects.

cloudflare

View raw schema →
FieldTypeRequiredWhat it is
tokenstringYesAPI token from dash.cloudflare.com/profile/api-tokens. Grant only the permissions your scripts need (e.g. Zone: DNS Edit, Account: Workers KV Storage Edit).
account_idstringNoYour Cloudflare account ID, shown on the dashboard's Account home and in the URL (dash.cloudflare.com/<account_id>). Required by account-level scripts.
emailstringNoDeprecated (legacy Global API Key auth). Leave empty.
keystringNoDeprecated (legacy Global API Key). Leave empty.

Questions

What are the email and key fields?

The deprecated Global API Key pair, which authenticates as your whole account with no scoping. Use an API token instead.

Which token permissions do the scripts need?

Only those for what you run: for example Zone DNS Edit for DNS records, Cache Purge for purges, or Workers KV Storage Edit for KV.

A call returns 403 on one zone but works on another

API tokens are scoped per zone and per permission. Edit the token in Cloudflare to include the zone.

How do I read and write R2 objects?

Through R2's S3-compatible API: create an R2 API token and use the S3 integration with endpoint https://<account_id>.r2.cloudflarestorage.com.

Can Cloudflare events trigger a Windmill flow?

Yes, without polling: add a webhook destination under Notifications pointing at a Windmill webhook or HTTP route trigger.

Is my token stored on the hub?

Never. It lives only in your own Windmill workspace, encrypted at rest.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.