Make.com sum()
Adds up all numbers in an array or the values passed.
Syntax
sum(array) / sum(value1; value2; ...)
Example
sum(prices)
Result: 135
Equivalent in n8n
reduce() β array.reduce((acc, item) => newAcc, initial)
sum()Adds up all numbers in an array or the values passed.
sum(array) / sum(value1; value2; ...)
sum(prices)
Result: 135
Equivalent in n8n
reduce() β array.reduce((acc, item) => newAcc, initial)
Master the sum() aggregator function in Make.com to total line item amounts.
Combine map() and sum() in Make.com to total a field across an array of collections β no Iterator needed.