Cloudflare · Arazzo Workflow

Cloudflare Create Load Balancer

Version 1.0.0

Create a zone load balancer over existing pools and read it back.

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-load-balancer
Create a load balancer then fetch it by id to verify it persisted.
Creates a load balancer for a hostname over the supplied default pools and fallback pool, then retrieves it by id to confirm the stored configuration.
2 steps inputs: defaultPools, fallbackPool, name, proxied, zoneId outputs: loadBalancerId, name
1
createLoadBalancer
Create a load balancer for the hostname over the supplied default and fallback pools.
2
getLoadBalancer
Fetch the load balancer by id to confirm its stored configuration.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Cloudflare Create Load Balancer
  summary: Create a zone load balancer over existing pools and read it back.
  description: >-
    A load balancer distributes traffic for a hostname across origin pools. The
    workflow creates a load balancer in the zone using a set of default pools
    and a fallback pool, then reads it back by id to confirm its configuration.
    Pools are assumed to already exist and are referenced by id. 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-load-balancer
  summary: Create a load balancer then fetch it by id to verify it persisted.
  description: >-
    Creates a load balancer for a hostname over the supplied default pools and
    fallback pool, then retrieves it by id to confirm the stored configuration.
  inputs:
    type: object
    required:
    - zoneId
    - name
    - defaultPools
    - fallbackPool
    properties:
      zoneId:
        type: string
        description: The unique identifier of the zone.
      name:
        type: string
        description: The DNS hostname the load balancer answers for (e.g. www.example.com).
      defaultPools:
        type: array
        items:
          type: string
        description: Ordered list of pool ids used as the default pools.
      fallbackPool:
        type: string
        description: The pool id used when all other pools are unhealthy.
      proxied:
        type: boolean
        description: Whether the hostname should be proxied through Cloudflare.
  steps:
  - stepId: createLoadBalancer
    description: >-
      Create a load balancer for the hostname over the supplied default and
      fallback pools.
    operationId: load-balancers-create-load-balancer
    parameters:
    - name: zone_id
      in: path
      value: $inputs.zoneId
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        default_pools: $inputs.defaultPools
        fallback_pool: $inputs.fallbackPool
        proxied: $inputs.proxied
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.success == true
      type: jsonpath
    outputs:
      loadBalancerId: $response.body#/result/id
  - stepId: getLoadBalancer
    description: Fetch the load balancer by id to confirm its stored configuration.
    operationId: load-balancers-load-balancer-details
    parameters:
    - name: zone_id
      in: path
      value: $inputs.zoneId
    - name: load_balancer_id
      in: path
      value: $steps.createLoadBalancer.outputs.loadBalancerId
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.success == true
      type: jsonpath
    outputs:
      loadBalancerId: $response.body#/result/id
      name: $response.body#/result/name
  outputs:
    loadBalancerId: $steps.getLoadBalancer.outputs.loadBalancerId
    name: $steps.getLoadBalancer.outputs.name

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-load-balancer-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.