Integration-Make-map-and-reduce

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 is required. By using Map and Reduce via our service, you can easily process complex data structures in Make.com.

Input-Field

Input-Field

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

JS-Code-Field

JS-Code-Field

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

Output-Field

Output-Field

{ output: 'Henrik Foo; Moritz doo' }

Make.com Custom JavaScript Map & Reduce Example
Make.com Custom JavaScript Map & Reduce Example