Nested Array Items (used with Zendesk workflow 62)

PHOTO EMBED

Thu Aug 19 2021 16:56:17 GMT+0000 (Coordinated Universal Time)

Saved by @jhambach #n8n #halo #json #zendesk

const results = []

for (const item of items[0].json["tickets"]) {

      results.push({
        json: item
      })
    
}

return results;
content_copyCOPY

https://community.n8n.io/t/remove-parent-field-in-json-response/2106/4