AI for business · Practical guide
Check what happens when the same request arrives twice.
Prepare a repetition test for a workflow that creates tasks. The output is a specification to review with its implementer, not a production-ready protection mechanism.

The process at a glance
First input
S-17 creates a task
Second input
S-17 identifies the same operation
Expected result
One task, not two
01Define when two inputs mean the same operation
Fictional example: request S-17 should create one task. Use its request identifier to recognise that operation. Different requests from the same person are not necessarily duplicates.
Agree on what happens if S-17 arrives again with a different quantity. It might be a correction or a conflict; do not discard the change solely because the identifier matches.
02Separate repeating a call from repeating its effect
MDN defines idempotency through the intended effect staying the same when an identical request is repeated, and notes that POST does not guarantee it. A retry button or HTTP method alone does not resolve duplication across a workflow.
For this example, request that a recognised repetition returns access to the existing task. Implementation must also handle simultaneous inputs; a manual check followed by creation does not establish that behaviour.
Reference [1]: MDN Web Docs
03Rehearse three situations in testing
First, submit S-17 twice and check that only one task exists. Second, simulate task creation followed by a lost response; retrying should locate the earlier result.
Third, deliver two copies simultaneously with the technical team’s help. Check the actual task count, not just success messages. Record what the workflow returns to the sender of the second copy.
04Document conflict investigation
Keep the relationship between input identifier and result, plus the status needed by the operator. Define how differing data under one identifier is handled and when a person intervenes.
If your tool cannot demonstrate safe repetition, limit automatic retries and leave a review procedure. Include these cases whenever the workflow or its destination changes.
Sources and further reading
These references expand on the concepts indicated. The examples and exercises are original editorial material.
[1] MDN Web Docs
Idempotent ↗
Effects of repeating an HTTP request.
Back to the related section
Frequently asked questions
Can a person’s name or email identify the operation?
It may group many legitimate operations by the same person. This exercise needs a reference to the specific request, not only its sender.
Keep reading
AI for business
How to document an automation so someone else can maintain it ↗
Write an operating note covering inputs, rules, owners, failures and recovery. Test the handover with a practical exercise that reveals missing information.
AI for business
Rules or AI? How to choose for an automation task ↗
Break down a business task, identify explicit rules and test where AI may help. Work through a request-routing example with a practical decision checklist.
AI for business
How to write a brief for an internal application ↗
Define users, tasks, data and scope before building an app. Complete a practical brief using a fictional office-supply request.