Cloudflare · Arazzo Workflow

Cloudflare Create and Activate Zone

Version 1.0.0

Create a zone, trigger an activation check, and poll its status.

1 workflow 1 source API 1 provider
View Spec View on GitHub AI GatewayAPI GatewayArtificial IntelligenceCDNCloudContainersDDoS ProtectionDNSEdgeEdge ComputingObject StoragePlatformReal-Time CommunicationSecurityServerlessWeb PerformanceArazzoWorkflows

Provider

cloudflare

Workflows

create-and-activate-zone
Create a zone, request activation, and poll until it is active.
Provisions a new zone, triggers an activation check, and repeatedly reads the zone details until the activation status becomes active.
3 steps inputs: accountId, zoneName outputs: status, zoneId
1
createZone
Create a new full zone for the domain under the supplied account.
2
triggerActivationCheck
Request an activation check so Cloudflare re-validates the zone's name server delegation.
3
pollZoneStatus
Read the zone details and confirm the activation status has become active, retrying while it is still pending.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Cloudflare Create and Activate Zone
  summary: Create a zone, trigger an activation check, and poll its status.
  description: >-
    Brings a new domain onto Cloudflare and drives it toward activation. The
    workflow creates a zone, requests an activation check so Cloudflare
    re-validates the domain's name servers, and then polls the zone details
    until it reports an active status. Each step inlines its request and asserts
    both the documented HTTP 200 status and the Cloudflare {success, result}
    envelope flag.
  version: 1.0.0
sourceDescriptions:
- name: zonesApi
  url: ../openapi/cloudflare-zones-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-and-activate-zone
  summary: Create a zone, request activation, and poll until it is active.
  description: >-
    Provisions a new zone, triggers an activation check, and repeatedly reads
    the zone details until the activation status becomes active.
  inputs:
    type: object
    required:
    - accountId
    - zoneName
    properties:
      accountId:
        type: string
        description: The account identifier that will own the new zone.
      zoneName:
        type: string
        description: The domain name for the new zone (e.g. example.com).
  steps:
  - stepId: createZone
    description: Create a new full zone for the domain under the supplied account.
    operationId: zones-post
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.zoneName
        account:
          id: $inputs.accountId
        type: full
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.success == true
      type: jsonpath
    outputs:
      zoneId: $response.body#/result/id
  - stepId: triggerActivationCheck
    description: >-
      Request an activation check so Cloudflare re-validates the zone's name
      server delegation.
    operationId: put-zones-zone_id-activation_check
    parameters:
    - name: zone_id
      in: path
      value: $steps.createZone.outputs.zoneId
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.success == true
      type: jsonpath
    outputs:
      checkedZoneId: $response.body#/result/id
  - stepId: pollZoneStatus
    description: >-
      Read the zone details and confirm the activation status has become active,
      retrying while it is still pending.
    operationId: zones-0-get
    parameters:
    - name: zone_id
      in: path
      value: $steps.createZone.outputs.zoneId
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.success == true
      type: jsonpath
    - context: $response.body
      condition: $.result.status == "active"
      type: jsonpath
    onFailure:
    - name: retryStatus
      type: retry
      retryAfter: 30
      retryLimit: 10
      stepId: pollZoneStatus
    outputs:
      status: $response.body#/result/status
  outputs:
    zoneId: $steps.createZone.outputs.zoneId
    status: $steps.pollZoneStatus.outputs.status

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/cloudflare-create-and-activate-zone-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.