Give the business event a stable identity
Before allowing automatic retries, decide how the destination will recognize an event it has already accepted. Use a stable source identifier or a deliberately designed unique key. A new run number identifies another attempt, not another business event.
Zapier’s replay guidance distinguishes ways to rerun work. A replay facility does not itself establish duplicate-safe behavior in the receiving app. Ask what happens if the destination creates the record but the automation never receives the confirmation. That uncertain outcome is the most important retry case to test.
Write a duplicate-prevention decision table
The implementer should explain whether the receiving system supports an enforced unique key, an idempotency mechanism, or a reliable update of an existing record. “Search before create” may help but can still race when two workers search simultaneously. Ask how competing attempts are coordinated.
| Incoming condition | Required decision | Evidence |
|---|---|---|
| New source key EVT-17 | Create one permitted destination record | Returned destination ID |
| EVT-17 delivered again | Use existing result; do not create another | Stored key-to-destination mapping |
| Same amount, different key EVT-18 | Treat as separate unless evidence says otherwise | Distinct source identity |
| EVT-17 changed content | Hold or follow approved revision rule | Version and changed fields |
| Destination result uncertain | Inspect destination before retrying creation | Lookup by stable business key |
Do not combine unrelated events merely because their customer, amount and date match. That would prevent real business activity rather than prevent duplicate processing.
Test one input twice and one lost response
Synthetic example: source event EVT-17 creates draft D-82. The response is lost before the automation stores D-82. A retry receives EVT-17 again. The intended result is one draft D-82 and a recovered mapping, not a new draft D-83.
Use a test destination and a controlled interruption approved by the implementer. Inspect actual destination records before classifying the retry as successful. Then send EVT-18 with the same amount but a different source key; the expected result is a second legitimate draft. Finally send a changed version of EVT-17 and confirm the design raises its revision case instead of silently overwriting an approved result. These are proposed synthetic acceptance cases, not observed production behavior.
Make the retry policy explicit
Microsoft’s cloud-flow error reference distinguishes transient and other execution failures. A temporary connection failure may justify another attempt, while an invalid business field needs correction. Neither decision should bypass the destination-identity check.
- Record the source key, source version and action being attempted.
- Check the destination's supported duplicate-prevention mechanism and its concurrency behavior.
- Keep the destination reference when a result is accepted.
- Classify failed and uncertain outcomes separately.
- Replay the synthetic cases and inspect both run history and destination key counts.
- Require manual review when the destination cannot establish whether a previous attempt completed.
A human reviewer authorizes any correction to real accounting records. This test does not authorize deletion merely because two rows appear similar.
Accept safe repetition as a property of the whole path
The acceptance result should state how many attempts occurred, how many business records exist and which source keys they represent. Two successful runs can be correct if the second reused the first result; one failed run can still leave a created record that needs reconciliation.
Keep the duplicate test in the change checklist whenever a connector or destination action changes. ParseMill can discuss a separately scoped automation design. The retry controls here must be implemented and verified in the chosen systems; they are not a claim that ParseMill ships universal duplicate-safe connectors.
Assisted setup with ParseMill
Make the workflow manageable after launch
Describe the existing flow, its owner and the failure or cost you need to understand. We can assess a bounded improvement with recovery steps and an operating handover.
Discuss this deploymentDescribe your tools, the repeated task, its frequency and the result you need. We agree the scope and any fee before starting. Third-party connections need their own fit assessment; sending a request does not activate an integration.
For supplier invoice PDFs, try the invoice-to-Excel example to see ParseMill’s extraction, source review and workbook export.
Sources and editorial notes
- What is replay?Checked 2026-11-09
- Cloud flow error code referenceChecked 2026-11-09
Written by ParseMill. Worked examples are illustrative process examples, not customer results. Software availability can vary by subscription and region; check the linked documentation for your account. Review decisions and approvals remain with your team.