Every automation builder meets this bug eventually. A form submission comes in, the workflow creates a CRM contact, sends a welcome email, and makes a Drive folder. Then someone messages you: "Why does this lead exist three times, and why did they get two welcome emails?"
Nothing was "broken". A webhook was delivered twice, or an API call timed out after it had already succeeded, and the retry did the work again. Retries are a feature. Duplicates are what you get when the workflow isn't built to be retried.
Here is the pattern I use when I build n8n and Make workflows so a run can happen twice, or fail halfway and be replayed, without doing anything twice.
Why duplicates happen
Three causes cover almost every case I've seen:
At-least-once delivery. Most webhook senders retry if they don't get a fast 2xx. If your workflow does slow work before answering, the sender gives up waiting and sends the same event again.
Timeouts after success.…