Official n8n Expressions

•
305
•

Master n8n's expression language with stable data references, advanced JavaScript transformations, and Luxon date handling.

This skill provides comprehensive guidance for crafting robust n8n expressions, emphasizing stability and performance in automation workflows. It enforces the critical best practice of referencing data by node name rather than volatile $json context to prevent workflow breakage during refactors. Users can learn to implement complex transformations using native JavaScript array methods, handle sophisticated date math with Luxon, and optimize workflow architecture by identifying and removing redundant Set nodes. It is an essential companion for developers building production-grade n8n automations that need to be both maintainable and efficient.

主な機能

01Advanced JS array methods (.map, .filter, .reduce) for data shaping
02Multi-line logic support via IIFE (Immediately Invoked Function Expressions)
03Optimization patterns to eliminate redundant Set nodes
04305 GitHub stars
05Native Luxon date manipulation and formatting within expressions
06Stable node-name data referencing ($('Node').item.json)

ユースケース

01Performing advanced date math and timezone conversions using Luxon
02Normalizing and merging data shapes from multiple branching workflow paths
03Transforming complex API responses into clean objects without adding extra nodes