{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "Spec-driven call — OpenAPI",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "seed",
      "type": "input.inject",
      "label": "Lookup",
      "category": "trigger",
      "config": {
        "contentType": "application/json",
        "payload": {}
      },
      "position": {
        "x": 0,
        "y": 23
      }
    },
    {
      "id": "op",
      "type": "utility.openapi",
      "label": "getStatus()",
      "category": "io",
      "config": {
        "api": {
          "spec": "{\"openapi\":\"3.0.0\",\"info\":{\"title\":\"GitHub status\"},\"servers\":[{\"url\":\"https://www.githubstatus.com\"}],\"paths\":{\"/api/v2/status.json\":{\"get\":{\"operationId\":\"getStatus\"}}}}",
          "operation": "getStatus",
          "params": {},
          "body": null
        },
        "baseUrl": "",
        "credentialId": "",
        "authType": "none",
        "authUser": "",
        "authPassword": "",
        "authToken": "",
        "authName": "",
        "authValue": "",
        "expectOk": true,
        "parseResponse": true
      },
      "position": {
        "x": 530,
        "y": 23
      }
    },
    {
      "id": "out",
      "type": "utility.console",
      "label": "Result",
      "category": "utility",
      "config": {
        "message": "inventory: {{ $json }}"
      },
      "position": {
        "x": 1060,
        "y": 0
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "seed",
      "sourcePort": "output",
      "targetNodeId": "op",
      "targetPort": "input"
    },
    {
      "id": "e1",
      "sourceNodeId": "op",
      "sourcePort": "output",
      "targetNodeId": "out",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "seed"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "Paste an OpenAPI document and call operations by id — no hand-built requests. This demo carries a mini spec for the GitHub status API (needs internet); paste your own spec to drive it the same way."
  }
}