Aggregate Node not aggregating

Describe the problem/error/question

I tried to aggregate the 3 items (json format from LLM output parser) into a 1 items (or 1 single table with 3 rows). I am not able to achieve this using the Aggregate Node (All item data into single list). Instead I may only get 1 item but only 1 (latest) row or it will output 3 items.

Information on your n8n setup

  • **n8n version: 1.97.1
  • **Database (default: SQLite):
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • **Operating system: MacOS

Hello @Eric_Ng hope all is well.

Do you mean you need to aggregate the results after ALL iterations of the loop are done? If so you may want to use the ‘Done’ branch of the Loop over Items.

2 Likes

That’s because it run 3 times and so it will not be aggregate.

There should be a total output in done and connect from there to get 3 items in one run.

1 Like

Hello @jabbson, I am good. Hope you are well. Thanks for helping again. Your solution works.

Hi @darrell_tw, also appreciate your help :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.