n8n-expressions

Official

Write reliable n8n expressions the first time.

Authorn8n-io
Version1.0.0
Installs0

System Documentation

What problem does it solve?

n8n expression errors and brittle data references waste time by producing wrong or non-deterministic results when workflows branch, refactor, or clear item context.

Core Features & Use Cases

  • Node-name references over $json: Use $('Node Name').item.json.field to keep data stable across refactors, branching, and context-clearing nodes.
  • Safe, maintainable expression patterns: Prefer Luxon for date math, inline expressions in consumers instead of extra nodes, and format multi-line logic with comments.
  • Correct iteration behavior: Use executeOnce appropriately when leveraging $source.all().map/filter/reduce aggregations inside expressions.
  • Type-safe returning with ={{ ... }}: Ensure objects/arrays/booleans/numbers aren’t accidentally treated as strings when fields require structured types.

Quick Start

Ask for expressions that reference upstream nodes by name, use Luxon for date operations, and avoid $json in branched workflows so the result remains correct after refactors.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: n8n-expressions
Download link: https://github.com/n8n-io/skills/archive/main.zip#n8n-expressions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.