More items passing through two airtable (listed) nodes but only one item in the final output

Hi,

I want to transfer all my make-automations to n8n.

One fundamental difference I observed so far is, that make passes with one item the whole workflow until the next item starts to pass the whole workflow, too, and so on …
Here on n8n all items pass each node at the same time …

In my current scenario/workflow I’ve got two search-modules/ list-nodes.
The first one is searching for upcoming events, that should be published.
The second one is searching for the right channel and its data where the upcoming event should be published.
(The second one needs some data out of the first one to find the right channel.)

Bildschirmfoto 2023-02-14 um 17.11.30
Bildschirmfoto 2023-02-14 um 16.45.47

And right now I see, that there are three events, that should be published in different channels, but only the channel of the first item got listed.
I used the formula Land='{{ $json["fields"]["Kanal"] }}' in the second airtable node.

What do I have to change in that node, that I get 3 items as output instead of only 1?

Best regards
Martin

Information on your n8n setup

  • n8n version: 0.215.1
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]: own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

Hi @martin23, you would need to loop through your results from the second node. This is because the List operation of the Airtable node (and query operations on other database nodes) won’t run for each item they receive. This is documented here: Looping - n8n Documentation

Looping through multiple items in n8n could look like so:

If you want to “unloop” your items after your loop (as in have a single list of items again), you could use the method show in this workflow.

Hope this helps!

1 Like

Ah, I understand. :bulb:
Thank you very much. :pray:

1 Like

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