JSON is the primary format for handling complex data structures in Make.com. Understanding how to work with JSON will help you build sophisticated automation scenarios.

You can retrieve JSON data directly from the Input field in a Make.com workflow using the JavaScript variable input. For complex data, create a JSON object in the Input field to structure multiple values.
| Field | Code |
|---|---|
| Input | [{"First name": "Henrik", "Last name": "Foo"}, {"First name": "Moritz", "Last name": "doo"}] |
| JS code | return input.filter(i => i['Last name']).map(i => \ ${i['First name']} ${i['Last name']}\).join('; '); |
| Output | { output: 'Henrik Foo; Moritz doo' } |
You can retrieve JSON data directly from the Input field in a Make.com workflow using the JavaScript variable input. For complex data, create a JSON object in the Input field to structure multiple values.
Example:

The output from the JSON module will be passed into the JavaScript module.

input.json.firstName:
return input.json.firstName;

{ "output": "John Doe" }