Get record

Get a single record from a data resource.

Get a single record from a data resource.

If the data resource is not a local resource, running this flow function will make a HTTP call to the endpoint defined in the resource configuration.

Input arguments

Label

Key

Type

Required?

Default

Description

Get data record request

request

DataResourceRetrieveRequest

Yes

Configuration required by the selected data resource to get a single data record.

Output arguments

Number of outputs: 2

Label

Key

Type

Description

Record

record

DataResourceRetrieveResponse

The successfully retrieved record.

Events

No events.

Errors

Label

Code

Description

Request failed

requestFailed

Thrown if the entire request failed due to e.g. CORS issues or no network connectivity.

Server error

serverError

Thrown if the server returned an error response.

Unknown error

unknown

Thrown if an unknown error occurred while fetching the record.

Invalid response

responseMustBeObject

Thrown if the server does not return an object as a response for a single data record request.