OpenAPI Operation
OpenAPI Operation calls one operation of an API you imported as an OpenAPI
schema. You pick the operation from the spec; its method, URL path, and
parameter definitions come with it, so you fill in named parameters instead of
assembling a URL by hand. You find it on the node picker’s
API & integrations shelf.
Import the spec first under API schemas; see API schemas. The node has one input handle and one output handle.
Authentication
Section titled “Authentication”Set the Credential field to a saved Connection
or Secret. A Connection attaches its resolved
credential as request headers, honouring the provider’s placement; a Secret’s
value is sent as the Authorization header. Either one overrides an
Authorization header you write into the headers map yourself.
Configuration
Section titled “Configuration”

| Field | Type | Default | Description |
|---|---|---|---|
Operation (operation) | string ✦ (required) | — | The specific API endpoint to call, chosen from an imported OpenAPI spec. |
Parameters (parameters) | key-value map ✦ (optional) | — | Values for the operation’s path and query parameters, keyed by parameter name. |
Headers (headers) | header rows ✦ (optional) | — | Extra HTTP request headers to send with the call, as name/value pairs. |
Body (body) | string ✦ (optional) | — | The JSON request body to send; when empty the previous node’s output is sent instead. |
Base URL (baseUri) | string ✦ (optional) | — | Send this call somewhere other than the schema’s own Base URI; the operation path is appended to it. Leave empty to use the schema’s. |
Credential (credential) | string ✦ (optional) | — | The saved credential that authenticates the request — a Connection or a Secret. |
Method (method) | one of get, post, put, delete, patch ✦ (optional) |
— | The HTTP method for the request; defaults to GET when unset. |
Timeout (seconds) (timeoutSeconds) | integer ✦ (optional) | — | Maximum seconds to wait for the API to respond before failing. |
Approval (requiresApproval) | one of inherit, always, never (optional) |
— | Whether a human must approve this before it runs. “Follow the agent’s approval mode” is almost always right: the agent’s mode already decides, based on what this node actually does. Override it only to pin this one node — always ask (even on Autopilot), or never ask. |
On error (onError) | string ✦ (optional) | — | What to do when the API call fails: stop the flow or continue with an error envelope. |
Body from a file (bodyFromFile) | string ✦ (optional) | — | Send a file as the request body — give the reference of a file the flow already has. |
Files to upload (uploadFiles) | header rows ✦ (optional) | — | Files to upload as multipart form parts — form field name on the left, a file reference on the right. |
Response (responseTo) | one of output, file ✦ (optional) |
output |
What to do with the response: use it as this node’s output, or save it as a file. |
File store (responseObjectStoreId) | string ✦ (optional) | — | The file store the response is saved into. Required when saving the response as a file. |
Path (responseKey) | string ✦ (optional) | — | Where in the store to save it, e.g. invoices/2026/08/inv-1042.pdf. |
Delete after (days) (responseExpiresInDays) | integer ✦ (optional) | — | When saving the response as a file: days until it is deleted. Empty or 0 keeps it. |
Fields marked ✦ accept expressions.
Try this node — run it once against your own workspace, with your credentials, without building a flow first.
Three behaviours worth knowing:
- The verb comes from the imported operation. Set the Method field, under Advanced, only to override it, for the rare path that answers more than one verb under a single imported operation.
- Parameters fill the path and the query. Each entry in Parameters
replaces the matching
{placeholder}in the operation’s path or becomes a query-string argument, as the spec declares. - An empty body forwards
$prev. For methods that send a body (POST, PUT, PATCH), leaving Body empty sends the previous node’s output as the JSON body. GET and DELETE send no automatic body; a body you write yourself is sent whatever the verb.
Body from a file picks a stored file to send as the request body. Type part
of its path, and the field lists the matching files of every file store in your
workspace as Store › path, the newest first, 50 at most. A picked file is saved
as its object id. For an email attachment or a file another node produced, click
Insert a value ({x}) and write an expression.
Output
Section titled “Output”A 2xx response emits the response body verbatim. A 3xx response is not
followed; the node emits { "redirect": 302, "location": "https://..." } so a
downstream node can act on it deliberately. A 4xx/5xx response fails the node
unless On error is Continue with an error envelope, in which case it completes with the same
error envelope as REST Request
(error, upstreamStatus, circuitOpen, message). Retries and the circuit
breaker are covered in
Handle unreliable APIs.
Worked example
Section titled “Worked example”The OpenApi / Operation template in the gallery imports the Petstore spec
and calls GET /pet/findByStatus, with the status coming from the upstream
node:
-
Import your OpenAPI schema under API schemas.
-
Add an OpenAPI Operation node and pick the operation from the dropdown.
-
Fill the parameters the operation declares, for example
status:{{ $prev->status }} -
Set Credential to the Connection or Secret that authenticates the call.
Limitations
Section titled “Limitations”- The node sends
get,post,put,delete, andpatch. An imported operation declaring another verb (such ashead) fails with a clear error rather than quietly sending a different request. - Redirects are surfaced, never followed, and outbound requests are firewalled against private and internal addresses.
- When an agent calls this node as a tool, the call is treated as an external write (the verb is not inspected), so it can be approval-gated by the agent’s approval mode. See Approvals.
Related
Section titled “Related”- OpenAPI GET and OpenAPI POST: named variants of this node.
- OpenAPI Operation Pack: expose several operations to an agent as tools.
- API schemas: import and manage specs.
- REST Request: for endpoints no spec covers.
- Handle unreliable APIs: retries, circuit breaker, onError.