Airtable Filter by Formula and IF node

Hey Guys,

I’m scratching my head about something that is supposed to be really simple

I’m doing an API call, and store ID into an Airtable

all I want is to have a Filterbyformula where if ID is not found then consider this as a new post → go through the LLM, however since I have a bundle of 239 items, I need to iterate 1 by 1

I think I have the Filter and the IF branch right - basically ID is present on Airtable, this post is already in Airtable then evaluate False → skip

If the ID is not found then evaluate to True → go through the LLM

here is my filter and my IF - I’ve tested, if I pass an known ID it evaluate to False, if I pass an ID not known it evaluate to true

my concern is that since my IF statement is empty, I cannot pass any information from that node to the LLM

the issue is that the system cannot determinate which item to use

Any suggestion on how I can fix this?

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:

On the openAI node, try this

instead of .item.jsom
try eg {{ $('DebugHelper').first().json.email }}

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