НачатьНачать бесплатно

Run and read a JavaScript Code node

When the payload is deeply nested, mapping fields one by one gets tedious. A JavaScript Code node can reshape everything in one pass and add computed fields like a fetch timestamp.

Import the starter, run it, and compare the Code node's Input and Output to see how the pinned Stockholm data becomes flat fields — this exercise is about reading the transform, not writing it.

Это упражнение является частью курса

Intermediate Workflow Automation with n8n

Посмотреть курс

Практическое интерактивное упражнение

Превратите теорию в практику с помощью одного из наших интерактивных упражнений

Начать упражнение