IF node: How do I create a condition to check if the current record already exist?

I got addicted with the possibilities but got stuck with likely just a simple logic twist in my mind. Someone can help to unwind my brain please?

  • Using the brandfetch sample workflow I need to add a simple IF clause to decide whether to
    • append (a new record to the table)
    • or update (an existing) record in Airtable.

How do I create a condition to check if the current record already exist?
Using the “name” would be good enough but whatever I condition I use I end up with “false” getting and a new record created (append flow runs after IF clause)

That is great to hear!

Yes what you want to do is sadly not that simple. Here how it can be done:

And the workflow:

@jan, thanks! Get some rest. :wink:

I believe that’s going to make things really complex and hard to maintain. Isn’t there a node that could stringify an object and have the IF node “comparing against it”?

So the flow could be: Brandfetch >> Set >> Get (Data/ID as Object from target) & Stringify >> IF (to Compare > …

I could imagine, such a Get (&Compare) node would also impact execution time, reduce server ressources and improve readability & maintainabillity of larger “beasts” over time.

No stress, at this time I am just playing to understand the options I got to apply some magic here and there.

I’m also trying to do a post check to see if its been posted before but using Wordpress.

This is where I am so far, but not quite working yet

also realised IF node doesn’t work like IF/ELSE (which would be handy)

Where is the issue exactly?

im not using the wokflow above, i’ll start my own thread I think to be cleaner.