n8n-code-javascript - Write JavaScript in n8n Code nodes
Provides guidance for writing, debugging, and selecting execution modes for JavaScript in n8n Code nodes.
Tags
Updated: 2026-09-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write JavaScript code
- Select Code node modes
- Access workflow input data
- Transform and aggregate items
- Make HTTP requests with helpers
- Handle webhook body data
- Return n8n item arrays
- Troubleshoot Code node errors
Inputs
- Workflow input items
- Referenced node data
- JavaScript processing requirements
Outputs
- JavaScript code snippets
- n8n workflow item arrays
- Troubleshooting guidance
Requirements
- n8n Code node
- JavaScript runtime
- n8n built-in helpers
