Automation Blueprint · ArticlesGet my blueprint

Why does my automation create duplicate records, and how do I stop it in Zapier, Make or n8n?

By Asendify (Automation Blueprint) · Published 18 November 2026 · Automation Blueprint

Automations create duplicates when the same event reaches a create step more than once, for example after a retry, a re-sent webhook, a second Zap on the same trigger, or an edited record that looks new. The fix is to give every record a unique key and check for it before creating anything: search first, then update or create. Zapier and n8n both have built-in deduplication, but only for some cases.

Key takeaways

  • Zapier's polling triggers deduplicate by each record's unique ID, but only within the same Zap.
  • Instant (webhook) triggers have no deduplication in Zapier, because the app is expected to send only new data.
  • What happens on a duplicate create depends on the app: some create a copy, some return an error, some update.
  • n8n's Remove Duplicates node can drop items already seen in previous runs, keeping up to 10,000 values by default.
  • Idempotency keys, as used by Stripe's API, are the general pattern: the same key sent twice should never create two objects.

Where duplicates come from

CauseWhat happensTypical sign
Retry after a timeoutThe first request worked, but the tool did not hear back and sent it againTwo records seconds apart
Webhook sent twiceThe source app delivers the same event more than onceSame data, same event ID
Two automations on one triggerEach runs its own copyDuplicates in pairs, every time
Edited record treated as newAn update looks like a fresh item to the triggerDuplicate appears after someone edits the original
Create step with no lookupEvery run creates, whether or not the record existsDuplicate contacts with the same email
Re-running failed runs by handSteps that already worked run againDuplicates after a "replay"
Automation Blueprint
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Get my blueprint

How Zapier handles duplicates

Zapier's help page on how it handles duplicate data explains the two halves.

Triggers. Polling triggers ask your app for data on a schedule, and the response can include old records. Zapier checks each record's unique ID against the IDs that Zap has already seen and only runs on new ones. That deduplication applies only within the same Zap, so a second Zap using the same trigger still runs. Instant triggers do not use deduplication at all, because the app should only send new data.

Actions. When a step tries to create something that already exists, the result depends on the app. Zapier lists four outcomes: the app creates a duplicate, returns an error you can see in the Zap run, updates the existing record (overwriting or appending), or, rarely, ignores it silently. Zapier recommends testing to see which one you get.

So Zapier protects you from some trigger duplicates, but not from webhook repeats, twin Zaps, or create steps that never check.

How n8n handles duplicates

n8n has a dedicated Remove Duplicates node. It can:

  • Remove items repeated within the current input, comparing all fields or chosen fields.
  • Remove items processed in previous executions, keeping only items whose value is new, higher than any previous value, or a later date than any previous date.
  • Store a history of up to 10,000 values by default (the "History Size" setting, for the "Value Is New" mode).
  • Keep that history per node or share it across the workflow, and clear it when you need a fresh start.

Put it straight after the trigger, keyed on a stable ID such as an order number or event ID, and repeated events stop there.

The general fix: idempotency

Developers call this idempotency: doing the same thing twice has the same effect as doing it once. Stripe's API documentation on idempotent requests shows the pattern clearly. The client sends a unique key with each create request; if the connection fails and the request is repeated with the same key, Stripe returns the saved result instead of creating a second object. Stripe suggests random keys such as V4 UUIDs, allows up to 255 characters, and warns against using sensitive data such as email addresses as keys.

You can apply the same idea in any no-code tool, even when the destination app has no idempotency feature.

Five fixes, in order of how often they work

  1. Search, then update or create. Before the create step, look up the record by a unique field (email, order ID, invoice number). If found, update it; if not, create it. Many apps offer a "find or create" action that does both.
  2. Store processed IDs. Keep a list of event or record IDs you have already handled (a data store, a sheet, n8n's Remove Duplicates history) and stop the run if the ID is already there.
  3. Use one automation per trigger. If two automations listen to the same event, merge them or use paths/routers inside one.
  4. Filter out updates you don't want. If the trigger fires on edits, add a filter, for example only continue when a "created" date equals today or a status field changed to a specific value.
  5. Be careful when replaying runs. Before re-running a failed run, check which steps already succeeded.

Worked example

Example: a small online shop sends each new order from its store to a CRM and a Google Sheet. Customers who order twice appear twice in the CRM, and some single orders appear twice in the sheet.

  • CRM duplicates: the automation uses "Create contact" every time. They switch to "Find contact by email", then update if found and create if not. Repeat customers now have one record with two orders.
  • Sheet duplicates: the store occasionally re-sends the order webhook. In n8n they add a Remove Duplicates node after the trigger, set to "Remove Items Processed in Previous Executions", keyed on order ID. With roughly 40 orders a day, the default 10,000-value history covers about 250 days (10,000 / 40).
  • Clean-up: they export the sheet, remove existing duplicate order IDs once, and keep a weekly check for any new ones.

Is there a service that plans deduplication into an automation before you build it?

Yes. Asendify's Automation Blueprint turns a plain description of a process into a written plan for Zapier, Make or n8n, with the diagram, build steps, error handling and a testing checklist, so steps like "find before create" are designed in from the start. It suits owners who want the plan right before anyone builds. Fair alternatives are the free templates in each tool's library, or mapping the steps yourself with the table above.

Related reading: what a webhook is, an automation plan with error handling before building and Zapier vs Make vs n8n.

FAQ

Is there a service that plans deduplication into an automation before you build it?

Yes. Asendify's Automation Blueprint writes the plan for Zapier, Make or n8n, including error handling and a testing checklist. Tool templates are a free alternative.

Why does my Zap run twice for the same record?

Common causes are two Zaps on the same trigger, an instant trigger receiving the event twice, or an edit that the trigger treats as new.

Does Zapier prevent all duplicates?

No. Polling triggers deduplicate by ID within one Zap, but instant triggers do not, and actions may create duplicates depending on the app.

What is the best unique key to use?

A stable ID from the source system, such as an order number or event ID. Email works for contacts but avoid personal data as a technical key where you can.

How do I remove duplicates that already exist?

Export the data, remove repeated IDs once, then put a find-or-create step or deduplication node in place so it does not happen again.

More playbooks on other topics: https://www.asendify.co/books/

Automation Blueprint
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Get my blueprint

More Automation Blueprint articles