How to stop duplicate when sending API data to sheets

Can someone give me the easiest way to send data from API to Google Sheets without duplicate

1 Like

so easiest way is to add a Remove Duplicates node before your Google Sheets node - it’ll filter out any items that match on whatever field you choose (like an ID or email). you can find it in the node menu, set it to track based on whatever makes your rows unique.

if you need persistence across workflow runs (so it remembers what it sent last time), check out the [deduplication docs](https://docs.n8n.io/flow-logic/looping/remove-duplicates/) - theres a setting to store the list so duplicates dont come back even if the workflow restarts

lmk if that works