Get number of items returned by the previous node
To get the number of items returned by the previous node:
Get number of items returned by the previous node
To get the number of items returned by the previous node:
if (Object.keys(items[0].
To get the number of items returned by the previous node:
To get the number of items returned by the previous node:
if (Object.keys(items[0].
The output will be similar to the following.
[
{
"results": 8
}
]
if len(items[0].json) == 0:
return [
{
"json": {
The output will be similar to the following.
[
{
"results": 8
}
]Last updated on
Get the binary data buffer
The binary data buffer contains all the binary file data processed by a workflow. You need to access it if you want to perform operations on the binary data, such as:
Examples using n8n's HTTP Request node
The HTTP Request node is one of the most versatile nodes in n8n. Use this node to make HTTP requests to query data from any app or service with a REST API.