Code-Powered Data Processing

Code-Powered Data Processing

How the Function Item Node Transforms Your Data

JavaScript Processing for Each Item

The Function Item node is fundamentally different from most n8n nodes:

  • Processes each item individually using your custom JavaScript code
  • Provides a pre-defined function structure with the item as a parameter
  • Returns the processed item after your code executes
  • Maintains access to all standard JavaScript methods and libraries
  • Supports both synchronous and asynchronous operations

Key Technical Features:

  • Pre-defined variables (item, $node, $items) for easier coding
  • Full access to the item's properties for manipulation
  • Ability to create entirely new data structures
  • Support for try/catch error handling
  • n8n-specific helpers for common operations

This JavaScript-powered approach gives you unprecedented flexibility in how you process and transform your workflow data.