Prevent Duplicate Actions in AI Automations
A retry and duplicate-prevention plan for a practical business AI workflow, with steps, an acceptance test, and a reusable prompt.
By Dr. Connor Robertson · Published October 24, 2026 · Implementation playbook
Deliverable: A retry and duplicate-prevention plan. Use this playbook when your team needs a repeatable operating decision with evidence that another person can inspect.
The business situation
A scheduled assistant that creates a follow-up task after an approved sales call. This is an illustrative scenario, not a reported client result. Start with a small approved sample and the actual constraints of your team.
The operating approach
A timeout does not prove that an action failed. Assign a durable operation key to the business event and store the outcome so a retry can recover the existing result instead of creating a second task.
Build it step by step
- Choose a key from event ID, action type, and intended version.
- Persist the key before attempting the external action.
- Use provider idempotency support or a durable action ledger.
- Retry transient failures with a bounded policy; send uncertain outcomes to review.
A concrete acceptance test
Simulate a task created successfully followed by a network timeout. Retrying the same event should find the original task. A revised approved action should use a new explicit version.
Record the input, expected behavior, actual result, reviewer, and version tested. Repeat this case after a prompt, source, model, or integration change. Include the cases that failed in the next regression run.
The mistake to avoid
Checking a text log after an action leaves a race window. Use transactional storage or provider support appropriate to the system.
A reusable working prompt
Design a retry policy for this action. Define the operation key, durable states, timeout recovery, retry limits, and manual resolution path. Show how two concurrent requests avoid duplicate work.
Replace general descriptions with your approved process details. The prompt helps prepare an artifact; the process owner verifies the finished result before it changes a live workflow.
What to keep in the handoff
Save the accepted a retry and duplicate-prevention plan, its source versions, test evidence, unresolved questions, and a named owner. Set a review trigger tied to a meaningful business change, rather than leaving the pilot without maintenance.
Continue implementation
- Design an Approval Inbox for AI-Proposed Actions
- Create an AI Agent Failure and Recovery Runbook
- Copy the implementation templates
- Calculate review-adjusted AI ROI
Explore AI Agents and Integrations or contact Dr. Connor Robertson about your business workflow.