The issue is that if i select two images it execute two times, if select 3 then execute 3 times
The default behavior is one execution per item.
To process all items together, aggregate them before further processing or sending.
Using a Code node :
return [
{
binary: Object.fromEntries(
$input.all().map((item, index) => [`data_${index}`, item.binary.data])
),
},
];
1 Like