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:

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

0
Downloads
3205
Views
8.24
Quality Score
beginner
Complexity
Created:8/14/2025
Updated:11/17/2025

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments