Iterate over an array of objects in my action module

My problem is the following: I have a /get route that gets information, and this information is an array of objects (JSON).

With this, I need to iterate over an array of objects, which has more than one element and several fields returned, but I want to return only the id and the name in my output.

{
  "url": "/my-url",
  "method": "GET",
  "headers": {
    "Authorization": "Bearer {{connection.MYCONNECTION}}"
  },
  "response": {
    "output": {
      "results": "{{body[].id}}"
    }
  }
}

Hi @Antonio_Fernando,

Iteration of responses are explained here, with examples too :slight_smile:

Cheers,
Henk