🎯

n8n-code-javascript

🎯Skill

from czlonkowski/n8n-skills

VibeIndex|
What it does
|

Executes custom JavaScript code within n8n workflows, enabling complex data transformations, calculations, and dynamic logic across workflow nodes

Overview

The n8n Code JavaScript skill provides expert guidance for writing JavaScript code within n8n Code nodes. It covers essential patterns like data access with $input/$json/$node syntax, HTTP requests with $helpers, date handling with DateTime (Luxon), and the critical requirement of returning data in the correct [{json: {...}}] format.

Key Features

  • Mode Selection Guide - Clear decision framework for choosing between "Run Once for All Items" (recommended for 95% of cases) and "Run Once for Each Item" modes
  • Essential Data Access Patterns - Instructions for using $input.all(), $input.first(), and $input.item for different execution modes
  • Built-in Helpers - Coverage of $helpers.httpRequest(), DateTime (Luxon), and $jmespath() utilities available in Code nodes
  • Critical Gotchas - Warnings about common pitfalls including webhook data being under $json.body and the mandatory [{json: {...}}] return format
  • Practical Templates - Ready-to-use code templates for aggregation, filtering, batch processing, and per-item transformations

Who is this for?

This skill is for n8n workflow builders who need to write custom JavaScript logic within Code nodes. It is particularly helpful for developers transitioning from other automation platforms to n8n who need to understand the specific syntax and data access patterns unique to n8n's Code node environment.

πŸ“¦

Same repository

czlonkowski/n8n-skills(9 items)

n8n-code-javascript

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add czlonkowski/n8n-skills --skill n8n-code-javascript
skills.sh Install⚠ Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add czlonkowski/n8n-skills --skill n8n-code-javascript
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/n8n-code-javascript/SKILL.md

SKILL.md

1,238Installs
2,428
-
AddedJan 31, 2026

More from this repository8

πŸ”Œ
n8n-mcp-skillsπŸ”ŒPlugin

Seven complementary Claude Code skills for building production-ready n8n workflows using the n8n-mcp MCP server, covering expression syntax, workflow patterns, and validation error handling.

πŸͺ
czlonkowski-n8n-skillsπŸͺMarketplace

Expert skills for building n8n workflows

🎯
n8n-workflow-patterns🎯Skill

Provides proven architectural patterns for building n8n workflows including webhook processing, HTTP API integration, database operations, AI agent workflows, and scheduled tasks.

🎯
n8n-mcp-tools-expert🎯Skill

Expert guide skill for using n8n-mcp MCP tools to build workflows, covering node discovery, configuration validation, workflow management, and a library of 2,700+ templates

🎯
n8n-node-configuration🎯Skill

Operation-aware node configuration guidance for n8n covering property dependencies, required field determination, progressive disclosure detail levels, and common configuration patterns by node type.

🎯
n8n-validation-expert🎯Skill

Expert guide for interpreting and fixing n8n validation errors, covering error severity levels (errors, warnings, suggestions), false positives, operator structure issues, and the iterative validation loop process.

🎯
n8n-expression-syntax🎯Skill

Skill for validating and writing correct n8n expression syntax, covering double curly brace format, $json/$node variables, webhook data access, and common error fixes

🎯
n8n-code-python🎯Skill

Skill for writing Python code in n8n Code nodes, covering _input/_json/_node syntax, standard library usage, and Python-specific limitations compared to JavaScript nodes