Person comparing two identical printed task cards and removing the duplicate.

Why Retrying a Failed Automation Can Create Duplicates And How to Design a Safe Recovery Path

November 01, 2026•6 min read

When an automated workflow reports that an action failed, the instinct is to try again. It seems obviously sensible: the booking did not go through, so send the request a second time. But in many cases the first request did succeed. The destination system created the record, and the confirmation simply never made it back before the workflow stopped waiting. A retry in that situation does not fix anything. It creates a second booking, a second task, or a second message, and a person then has to notice the duplicate, work out which one is real, and remove the other.

This is why the recovery path should be designed before a workflow is allowed to create bookings, tasks, or any other customer-facing record. A reliable workflow is not one that never fails. It is one that knows what to do when the outcome is uncertain.

Give Every Source Event a Stable Identity

The foundation of safe recovery is a reference that connects the original event to whatever the workflow creates at the destination. If a form submission triggers a task, the task should carry an identifier traceable back to that submission. That reference is what lets you ask a precise question later: has this event already produced a record?

Where the platform supports duplicate-prevention features, such as unique keys or idempotency settings on requests, use them. They exist for exactly this problem. But do not assume every system offers the same mechanism, or that one works the way another does. Check what each platform actually supports rather than carrying assumptions across tools.

Equally, do not treat a contact’s name as a unique identifier. Two people can share a name, one person can submit under different spellings, and a duplicate submission from the same person looks identical to a genuine second enquiry unless something more reliable ties each event to its outcome. A stored source reference does that job; a name does not.

Why Timeouts Are the Tricky Case

A clear rejection is the easy case. The destination system returns an error, the action plainly did not happen, and a retry is reasonable. A timeout is different. The workflow stopped waiting, but the request may have completed afterwards. The result is uncertain, and uncertainty should not be handled by the same rule as a rejection.

If the retry logic treats every timeout as a failure, the typical outcome is a duplicate that reaches a customer or a staff member. A customer receives two confirmations. A team member sees two identical tasks and is unsure which to action. The workflow was trying to be reliable and produced confusion instead.

The safer pattern is to check before acting again. Look up the destination using the reference stored with the original event. If the record is there, mark the step complete. If it is missing, retry once, and if that also fails, hand the case to a person. That small read step costs little and prevents the duplicate.

Inspect Uncertain Results Before Doing Anything Else

When an outcome is uncertain, five actions give the workflow, or the person recovering it, a sound basis for deciding.

Check for the mapped destination record. Look in the destination system for the record the original action should have created.

Search using the agreed source reference. Use the stored identifier rather than a name or a guess, so the search finds the right record rather than a similar one.

Compare the intended content with the observed result. A record can exist but be incomplete or different from what was intended. Confirm that what is there matches what the workflow meant to create.

Retry only when the original action is confirmed missing. The retry is a response to confirmed absence, not to the mere appearance of failure.

Record any manual decision. If a person decides to retry, skip, or correct a record, note what they did and why, so the history is accurate for whoever looks next.

A practical example: a task-create request times out, but the task has in fact appeared in the CRM. Reading the destination first shows the task exists, so no second request is sent, and the responsible person sees one task rather than two.

Test the Three Different Outcomes

Normal completion, explicit rejection, and uncertain timeout are different outcomes and should not all follow the same retry rule. Before relying on a workflow, test each one deliberately.

Normal completion should create exactly one record and mark the step done. An explicit rejection should be recognised as a clear failure and handled according to its cause, which may be a retry or may be a correction to the input. An uncertain timeout should trigger the check-first path rather than an automatic repeat. If a test shows the same behaviour for all three, the recovery design is not yet doing its job.

Keep Retries Limited and Visible

Retrying should have a limit. A workflow that loops indefinitely against a persistent problem adds load, hides the underlying cause, and can quietly generate large numbers of duplicates or failed attempts. Set a small, defined number of retries, make each attempt visible in the record, and escalate to a person when the limit is reached.

The person who receives that escalation needs to be able to inspect what happened: what the original event was, which attempts were made, what the destination currently shows, and what has already been decided. That connects directly to a good failure alert, which names the process, the stage, and a safe reference to the item, and tells the recipient what to check before retrying.

What a Reliable Recovery Design Looks Like

A reliable workflow needs three things in place. A clear definition of success, so everyone agrees what a completed step looks like. An accurate record of previous attempts, so recovery starts from what actually happened. And a recovery route that respects what already exists, checking the destination before adding to it.

None of this requires sophisticated infrastructure. It requires deciding, before the workflow goes live, how an uncertain result will be handled, and building that decision into the process rather than leaving it to a default retry.

At ejnconnect.com.au, we help Australian small businesses design automated workflows with recovery paths built in from the start, including stable references, check-before-retry logic, limited retries, and clear escalation to a person. If your current automation has ever produced a duplicate booking or task, we would be glad to discuss how to make it safer. You can also read more on writing a useful failure alert and handing over an automated workflow.

General business-process education. Check current product capabilities and seek appropriate professional advice for privacy, security, legal or specialist decisions.

Back to Blog

© 2026 EJN Connect | All Rights Reserved

EJN Connect™ is a trademark of EJN Services Pty Ltd (ABN 98652271773)