Dear community, is there an easier way to check for updates from an RSS feed by upserting Supabase?
The feed items come in as an array which is why I am iterating these, but then I need to loop over these to go over each item and check for it in Supabase one by one. If I would skip the loop node, let’s say my array has 100 items, then after the Supabase node, I would only have 99 (assuming one is new). And right now I am processing them one by one and if an error happens (record not found due to a new item) then I am creating the record in Supabase and pingin in Slack.
Is there an easier way to use this upserting mechanism? I am still quite new to n8n and would appreciate any help!
Sorry I am still quite new to n8n and don’t really get it to be honest.
I had the output data even if empty setting turned on before. How exactly do I process the empty ones? Since in my example from 10 items there is only 1 left
Unfortunately that is not the behavior but inestead it returns an empty array in the case of not finding one and if some are found the others are being ignored and only the found ones are being returned. That’s my main point why i did it the way i did it, to take each item one by one and loop through them.
Oh, I see. Yeah you are right. That’s the expected behavior.
After taking a closer look, here’s a better approach.
I’ve replaced the FIlter node for a Merge node that keeps the Non-matching items.
See how it keeps only the items that were not found in Supabase: