// Loop over input items and add a new field called 'myNewField' to the JSON of each one
for (const item of $input.all()) {
item.json.myNewField = 1;
}return $input.all();
AKÜ NAK Tekne Aküleri: Güvenilir Enerji, Sorunsuz Deniz Yolculukları

// Loop over input items and add a new field called 'myNewField' to the JSON of each one for (const item of $input.all()) { item.json.myNewField = 1; }return $input.all();