czlonkowski avatar

N8n Code Javascript

This one's a lifesaver if you're building n8n workflows that need custom JavaScript logic. It handles the tricky bits like properly accessing webhook data under the `.body` property, returning the correct `[{json: {...}}]` format that trips up most people, and choosing between "Run Once for All Items" versus "Run Once for Each Item" modes. The skill covers real patterns like multi-source data aggregation, batch processing with SplitInBatches, and using built-ins like `$helpers.httpRequest()` and DateTime. Most useful when you need to transform data, make API calls, or do any custom logic that the standard nodes can't handle.

skills.sh installs
7.4K
GitHub stars
6.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add czlonkowski/n8n-skills --skill n8n-code-javascript --agent claude-code

Installs into .claude/skills of the current project.

Files

JavaScript Code Node

Expert guidance for writing JavaScript code in n8n Code nodes.


Before you write a Code node

A new Code node has to pass this gate first:

Sponsors

Details

Repository
github.com/czlonkowski/n8n-skills
Categories
Backend & APIs, Documentation, Code Review & Quality, AI & Agent Building, Debugging, Automation & Workflows, Marketing & SEO

More from czlonkowski/n8n-skills

All 7
1google avatargke-storagegoogle/skillsManages GKE storage, including PVCs, PersistentVolumes, Filestore, and GCS FUSE. Use when configuring GKE storage, creating PVCs, or setting up GCS FUSE on GKE.7.4Kskills.sh installs
2google avatargke-backup-drgoogle/skillsConfigures GKE Backup Plans and restore workflows. Use for backup policies, disaster recovery, or GKE cluster restores. Don't use for database backups.7.4Kskills.sh installs
3google avatarbigquery-bigframesgoogle/skillsGenerates Python code using BigQuery DataFrames (BigFrames), the pandas/scikit-learn-style API over BigQuery. Use when writing BigFrames code or doing pandas-st7.3Kskills.sh installs
4analogjs avatarangular-formsanalogjs/angular-skillsBuild signal-based forms in Angular v21+ using the new Signal Forms API. Use for form creation with automatic two-way binding, schema-based validation, field st7.2Kskills.sh installs
5pproenca avatarvitestpproenca/dot-skillsVitest testing framework patterns for test setup, async testing, mocking with vi.*, snapshots, and test performance (formerly test-vitest). This skill should be7.2Kskills.sh installs
6alpic-ai avatarchatgpt-app-builderalpic-ai/skybridgeGuide developers through creating and updating ChatGPT apps. Covers the full lifecycle: brainstorming ideas against UX guidelines, bootstrapping projects, imple7.2Kskills.sh installs