Hi Diego! This is a really common challenge when starting out with n8n. I ran into the exact same issue when I was building my first workflows with Google Sheets.
What worked for me was using the Merge node set to “Remove Key Matches” mode. After your Google Sheets node that reads existing data, add a Merge node. Connect both your API data and the Sheets data to it, then configure it to compare using your processId field. This will output only the items from your API that don’t already exist in the sheet.
Another approach that some folks prefer is using the Code node to create a simple lookup set of existing IDs, then filter your incoming data against that set. Both work great, so pick whichever feels more intuitive for your workflow!