IF node isn't working as I expected. No result in "true branch"

Hello,
here is my project, i would like to create an automatisation for a task I do everyday : Answer each new thread on a subforum.

I installed n8n localy on my computer to create workflow. I want this worklow to do :

  • Check a sub-forum category, and red the last 25 thread recently posted and filter their “guid” (unique ID) (with a node rss reader ?)
  • Check if the workflow already answered each thread (with their “guid”) previously (stockage on a googlesheet)
  • If yes, then nothing
  • If a thrread hasn’t been answered and don’t appear on the list, then send the message on a chatgptnode to create an answer
  • Then add this answer and guid on the previous googlesheet to update the list.

My problem is that i’m able to see 25 items, on my table I added 5 of them to simulate 5 threads already already answered. But my If Node isn’t properly returning 20 items in “true”

Here is my if node :

What did I do wrong ?

Thanks for your help :slight_smile:

I think You must merge this data and then check in If.

Hum I tried but it doesn’t seem to work
After the merge I have 30 items , it seems ok but i don’t manage to make my “if node” working

Which Mode did you use? Try Combine → Fields to Match → guid

I tried

RSS > Edit field (to keep guid only)
Sheet > Edit field (same)

These to into “merge node”, then “if”.

I’m new on n8n and it’s been 3 days i’m on this haha !
If you can help me i’d be saved :slight_smile:

Ok, so you want something like this?

To be honnest I’m not sure what I need …

I really thought that with this it would work

But with your merge i don’t really understand how it would work

With my IF_node, I need to separate guid that are in my GoogleSheet, from the other guid missing in this GoogleSheet to proceed to the next node on the true branch

This is example but try to arrange nodes like this.

Hum, I think it’ll not work no ?

I need to separate guid that are in my GoogleSheet, from the other guid missing in this GoogleSheet to proceed to the next node on the true branch

If guid exist in my google sheet then nothing
If guid do’nest exist, It’ll go on another node

Do you see what I wanna do ?

(Thanks for your help by the way)

It will. You need to configure the Merge node so that it keeps non-matching items from input A (rss feed). Check the screenshot of the Merge node config by @Kuzry above.