To view the n8n flow demo and copy the JSON you need to purchase our Bundle... don't worry, it's FREE

Go to the BUNDLE

Count the items returned by a node

This workflow provides a simple approach to counting the items returned by a node.

It uses a Set node with the Execute Once option:

image.png

The expression uses $input.all() (documented here ) to fetch all incoming items at once, and .length (documented for example here ) to count them.

Do you want to automate your business?

Let's talk about your project