How to join paged records again?

Hello,

I’m new to n8n and I’m having problems with the aggregate node

I have searched for information on the internet about the aggregate node but I cannot find it since it is a new node. All information is centered on the previous item list node.

As you can see in the left part of the image, with the htt request1 node I make a query to an API that returns 4000 paginated records of 50 objects within an array (data).

I want to have the 4000 together again. That’s why I used the aggregate node to join them. But it gives me the result on the right side of the image.

I don’t know if I’m using the wrong node or doing it wrong.

Please help. Thanks

Information on your n8n setup

  • n8n version: 1.66.
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu

Hi @juanfeorar,

Welcome to the community :tada:

Could you describe in a bit more detail what your end goal is? What do you mean by “I want to have the 4000 together again.”? It would be great if you can share your workflow or parts of it too:

Tip for sharing your workflow in the forum

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!