Example

Map & Reduce

This functionality is most useful for processing data in forms or lists where fast and efficient filtering, transformation and consolidation of information in Make.com is required. By using Map and Reduce via our service, you can easily process complex data structures in Make.com.

Input-Field

[{"First name": "Henrik", "Last name": "Foo"}, {"First name": "Moritz", "Last name": "doo"}]

JS-Code-Field

return input.filter( i => i['Last name']).map(i => `${i['First name']} ${i['Last name']}`).join('; ');

Output-Field

{ output: 'Henrik Foo; Moritz doo' }

Make.com Custom JavaScript Map & Reduce Example
?