Skip to content
masterclass Buddy

n8n · Node

Code

Use the Code node to run JavaScript or Python as a workflow step. Select whether it runs once for all input items or once per item.

Last updated

Since
0.198.0

Syntax

$input.all()

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Code in n8n
  • Built-in methods and variables
  • Expressions
  • HTTP Request node
  • Read/Write File From Disk
  • Cookbook

Source: Using the Code node | Build | n8n Docs. Checked 2026-11-03.