Prevent duplicate automation actions by giving each business event an identity, recording what has already succeeded, and checking that record before repeating an action. A retry is a normal delivery mechanism. It should not automatically become a second email, task or customer record.
This guide explains the design questions a business owner can ask an implementer. The examples are hypothetical and do not describe a particular GGTAMOL customer.
Understand why the same event can arrive twice
Imagine a website sends an enquiry to a CRM. The CRM saves it, but the acknowledgement does not reach the website in time. The sender cannot tell whether the request failed, so it tries again. Two deliveries may represent one customer enquiry.
Stripe’s webhook documentation explicitly discusses repeated event delivery, retries and event ordering. Its instructions apply to Stripe integrations; other providers have their own behavior. The broader engineering question is relevant wherever two systems exchange business events: what happens when a delivery is repeated?
This problem does not require AI to solve. It needs state, explicit rules and an accountable integration design.
Identify the event, not just the customer
A customer’s email address alone is not a suitable identity for every action. The same person can send two legitimate enquiries on different days. Blocking every later event from that address would lose real work.
Ask which identifier represents this specific submission or upstream event. Preserve it through the workflow. If a provider supplies an event identifier, understand its scope and whether separate event types may describe the same underlying business change.
Also distinguish intentional resubmission from delivery retry. If a person edits an enquiry and sends it again, your team needs a defined rule for whether that updates the first record or creates a new request.
Record each destination’s outcome
Consider a hypothetical workflow with three steps: create a CRM enquiry, create a staff task, then send an acknowledgement. The task service fails after the CRM step succeeds.
A safe recovery process should know that the CRM step is complete. Restarting the whole workflow without that information may duplicate the enquiry. Track the outcome of each step and retry the unresolved step according to the agreed rules.
| Question for the implementer | Why it matters |
|---|---|
| Where is the processed-event record stored? | It must survive a browser refresh or worker restart. |
| Can two workers process the same event together? | A simple check followed by a write can race. |
| What happens after partial success? | Recovery must preserve completed steps. |
| How long is duplicate protection retained? | Retention should reflect the provider’s replay behavior and business needs. |
| Who reviews exhausted retries? | A permanently failed event needs an owner. |
Verify the sender before trusting its identifier
Duplicate protection does not prove an event is genuine. Validate the provider’s signature and delivery rules before accepting instructions. Keep authentication secrets on the server and use the provider’s documented verification method.
The OWASP webhook security guidance covers authenticated deliveries, replay defenses and processed-event records. Exact signature formats and timestamp rules differ by provider; do not copy one service’s verification code into another integration without checking its documentation.
Test recovery before switching it on
In a controlled test, replay the same event, simulate a destination timeout, and stop processing between two steps. Check the resulting CRM records, staff tasks and messages. A successful test should show both that repeated deliveries are handled and that a genuinely new enquiry can still proceed.
Avoid claiming that a system has universal exactly-once delivery. Ask instead which duplicate and recovery cases the design handles and how those cases were verified.
GGTAMOL’s business automation service starts with these process rules and exception paths, alongside the connections themselves.
Common questions
Does disabling retries prevent duplicates?
It may remove one cause while creating lost deliveries. Define retry and duplicate handling together.
Can a spreadsheet track processed events?
It may suit a small, controlled process, but concurrent access and recovery behavior need evaluation. Storage choice should follow the workload and consequences of errors.
Should every duplicate be deleted?
No. Preserve enough evidence to explain what happened. Use the business’s record-management policy rather than automatically deleting data.
