Provides expert guidance and implementation patterns for writing robust JavaScript within n8n Code nodes.
This skill empowers developers to master n8n's Code node by providing clear instructions on data access patterns, return format requirements, and built-in helper functions. It addresses common pitfalls like incorrect webhook data nesting and return structures, ensuring automation workflows run reliably. Whether you are performing complex data transformations, making custom API calls via $helpers.httpRequest, or managing dates with Luxon, this skill offers the specific syntax and best practices needed to build production-grade n8n automations.
Key Features
01Common error prevention patterns for webhooks and expression syntax
020 GitHub stars
03Standardized data access patterns using $input.all, $input.first, and $input.item
04Mode selection guidance for 'All Items' versus 'Each Item' execution
05Built-in support for $helpers.httpRequest and Luxon (DateTime) operations
06Strict return format validation to prevent workflow execution failures
Use Cases
01Normalizing and transforming data from disparate API sources into a unified format
02Aggregating large datasets from webhooks for custom reporting and statistics
03Implementing complex conditional logic and data filtering not possible with standard nodes