All projects · Automation & Data Pipelines
Format Active Usernames
A pure data-transformation pipeline that starts from a hardcoded list of six user records, keeps only the active ones, extracts just the username,…
A pure data-transformation pipeline that starts from a hardcoded list of six user records, keeps only the active ones, extracts just the username, sorts them alphabetically, and collapses them into a single comma-separated, quoted text string (e.g. "alex_dev", "charlie_ai", ...).
- Clean linear ETL chain: Filter (status == active) -> Set (pluck username) -> Sort (A-Z) -> Code (map + join)
- Uses the Filter node for row-level status filtering rather than an IF branch
- Final Code node aggregates all items into one output item via $input.all().map().join()
- No external services — self-contained demo of n8n's core list-processing primitives
Built with: n8n, Manual Trigger, Code node (JavaScript), Filter node, Set node, Sort node