Skip to main content

Invoke OpenAPI with Input

Overview

The Invoke OpenAPI with Input node sends an HTTP request through a configured OpenAPI service and outputs the JSON response as a DataObject. It includes an input port so the API call can be connected after another node in the workflow.

Purpose

Use this node when an API call should run after, or be connected to, upstream workflow data. The request configuration is the same as Invoke OpenAPI.

Configuration

All configuration options are the same as Invoke OpenAPI:

FieldDescription
OpenAPI ServiceSelect an existing OpenAPI service, or create one inline. See Open API Service.
OperationFor services without an uploaded OpenAPI specification, choose the HTTP method manually.
PathFor services without an uploaded OpenAPI specification, enter the request path manually.
Select PathFor services with an OpenAPI specification, choose the operation path from the service definition.
HeadersOptional request headers as key/value pairs. Values can use workflow properties.
Body TypeRequest body mode: None, Raw (JSON), or Form-Data.
Body (JSON)JSON request body used when Raw (JSON) is selected.
Body (Form-Data)Form-data key/value pairs used when Form-Data is selected.
Path ParametersValues that replace placeholders in the URL path.
Query ParametersQuery string parameters appended to the request URL.

Inputs

InputData TypeInput TypeDescription
InputAnyMultipleAny Input

Outputs

OutputData TypeCollectionDescription
DataObjectDataObjectFalseJSON response body returned by the API.

Properties

PropertyFlowDataTypeDescription
OPEN_API_INFOJsonNode
OPEN_API_OPERATIONJsonNode
REQUEST_URLStringRequest URL
REQUEST_METHODStringRequest Method
REQUEST_HEADERSJsonNodeRequest Headers
REQUEST_BODYStringRequest Body
RESPONSE_CODEIntegerResponse Code
RESPONSE_STATUS_TEXTStringResponse Status Text
RESPONSE_HEADERSJsonNodeResponse Headers

Processing Logic

At runtime, the node builds and sends the API request from its configured service, operation/path, headers, body settings, path parameters, and query parameters. It validates that the response body is non-empty JSON, adds request and response metadata properties, and emits the response JSON as a DataObject. Non-success HTTP responses fail the node.

Examples

Connect a file reader, import node, or transformation upstream when the API call should be part of a connected processing chain, then configure the request the same way you would configure Invoke OpenAPI.

Notes / Limitations

  • The response body must be valid JSON.
  • Non-success HTTP responses fail the node.
  • The current processor builds the request body from the configured Body (JSON) or Body (Form-Data) settings.