Loop -> merge

Describe the problem/error/question

I’d like to merge last output from loop with a simple table.
Everytime, i get a merge only from first run.

The goal is to get all products from my shop, and compare inventory with my sql.

Is there any universal solution to get only last run output as a single data, instead of " 1 of xx" ?

Information on your n8n setup

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

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

I have something like this, in one of my flows:

might be of some use?

I still getting several “runs” on output, but i have no idea how to exctract only the last one, containing all data from loop…

the merge loops code node does that it consolidates them all into one “run” so to speak