Make.com LabAdvanced
Sum a Field Across Line Items with sum(map()) in Make.com
An order has multiple line items. Calculate the order total without using an Iterator and Aggregator.
Live Execution Simulator
Idle
📥
Incoming Data
⚙️
Make.com Node
🎯
Next Step
> Ready. Type your expression below and click "Check Answer" to run the node.
Incoming Payload / Data:
{
"items": [
{ "name": "Plan", "price": 10 },
{ "name": "Add-on", "price": 25 }
]
}
Press Enter or click Check Answer. +30 XP
✅ Solution & explanation
sum(map(items; price))
Output: 35
map(items; price) returns [10, 25]; sum() then adds them. Nesting functions like this replaces an Iterator + Numeric Aggregator and saves operations.💡 Pro tip: The same pattern works for average(), max() and min().