Get startedGet started for free

Run and read a JavaScript Code node

Edit Fields nodes work well for simple transformations, but sometimes you need more power — loops, calculations, or adding computed fields. That's where Code nodes come in. In this exercise, you won't write any code. Instead, you'll run a provided JavaScript Code node and study how it transforms data by comparing its input and output.

You'll import a workflow with a Code node that flattens nested weather data, execute it, and analyze the Input vs. Output panels to understand exactly what the code does.

This exercise is part of the course

Intermediate Workflow Automation with n8n

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise