n8n Lab

Filter Active Users in n8n Code Node

An API returns a list of users. You only want to pass forward users where 'status' is equal to 'active'.

Incoming Payload / Data:

[
  { "name": "David", "status": "active" },
  { "name": "Emma", "status": "inactive" }
]
items.filter(item =>
Pro Store

Ready-to-Use Make & n8n Blueprints

Stop building from scratch. Download production-ready automation templates, AI agent workflows, and JSON packs.

Explore Blueprints Store →

Looking for another topic?

Use our interactive search drawer to filter exercises by Make.com or n8n.