Spec-driven call — OpenAPI
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.
What’s inside
3 nodes — every type links to its full reference page.
| Step | Node | Type |
|---|---|---|
| Lookup | Inject | input.inject |
| getStatus() | OpenAPI | utility.openapi |
| Result | Console | utility.console |
Import it
- Studio → Import — paste the JSON below (or the URL
/docs/templates/spec-driven-call-openapi.json). - Or ask the AI Copilot with the JSON pasted after the phrase:
import this workflow json into a new workflow named "Spec-driven call — OpenAPI" - Any credentials the nodes need are
${credential.…}references — add them once in Admin → Credentials and the template picks them up. Nothing secret ships in a template.
The workflow document (flowdrome.workflow.v1, 3 node types)
{
"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."
}
} Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: spec-driven-call-openapi.json.