Introduction
Introduction
A brief arrives twice. Two drafts appear, each with a different edit history, and nobody knows which one should be reviewed. Preventing that confusion starts at intake: decide whether this is new work, the same work arriving again, or a revision.
This guide proposes a platform-neutral ledger and five fictional arrivals. GitHub documentation supplies one bounded example of webhook delivery behavior; the ledger and recovery decisions are our own design, not a product test or a verified social trend.
Separate a delivery from the work it requests
A creator intake might ask for one draft from an approved brief. Receiving the trigger twice should not quietly create two competing drafts. Begin by distinguishing the notification that arrived from the business request it describes. These identifiers answer different questions.
GitHub provides a useful documented example: its X-GitHub-Delivery header identifies an event, and a requested redelivery retains the original header value. Its guidance also says to check the event type and action, and to acknowledge a webhook promptly; background processing can be queued. These are GitHub-specific details, not promises about every form, email tool or automation platform.
For your own intake, use a stable request key supplied by your trusted intake system, plus an explicit revision. Record delivery identifiers separately. A timestamp generated each time a trigger arrives is a receipt label; it cannot tell you that two arrivals refer to the same request. An email address alone is also unsuitable because one person can make multiple requests.
Keep a small work ledger
The following ledger is our proposed design for a draft-only workflow. It has not been run as a client experiment. Its purpose is to make a repeat, revision and uncertain result lead to different decisions. Keep the request key, revision, input fingerprint, current state, claimed-by field, last checked time and output reference together.
The input fingerprint should cover only fields that affect the draft, such as the approved brief version, language and output format. Decide that field list in advance. A fingerprint is a comparison aid, not permission to store a complete client submission. Keep sensitive source material in its existing approved location.
Proposed ledger states; COMPLETE means the draft exists and has been recorded, not that it is approved for publication.
| State | Meaning | Action on the same request and revision |
|---|---|---|
| NEW | No draft work has been claimed | Claim once, then start |
| IN_PROGRESS | A worker already owns this attempt | Record the repeat; do not start another worker |
| COMPLETE | A specific draft output has been verified | Return or reference that existing output |
| NEEDS_REVIEW | Input changed or the outcome is uncertain | Reconcile before authorizing another attempt |
Make claiming the work a single decision
A check followed later by a separate write leaves a race: two workers can both see an empty row and start. An automated implementation needs a storage operation that enforces one claim for the request key and revision, such as a unique-key insertion with a controlled state transition. Verify that capability in the chosen system before relying on it.
For a small manual pilot, assign one operator to claim work in a shared ledger. Do not describe a spreadsheet lookup as a concurrency guarantee. If the chosen tool cannot reliably prevent simultaneous claims, keep intake in a review queue until it can.
Treat a revised brief as a new explicit revision, not a reason to overwrite the original draft silently. If the same key and revision arrive with a different fingerprint, hold the mismatch for review. After approval, create the new revision and retain the link between versions.
Walk through five fictional arrivals
This tabletop exercise describes expected decisions, not measured test results. R-42 and R-77 are invented identifiers. The draft workflow ends before any external sending or publishing.
Five fictional arrivals for a draft intake. No live automation was activated.
| Arrival | What the ledger shows | Expected decision |
|---|---|---|
| 1. R-42, revision 1 | No row | Claim and create one draft; verify it before recording COMPLETE |
| 2. R-42, revision 1, same inputs | COMPLETE with output D-42-1 | Reference D-42-1; create nothing |
| 3. R-42, revision 1, changed brief | Fingerprint mismatch | NEEDS_REVIEW; ask for an explicit approved revision |
| 4. R-77, revision 1 | IN_PROGRESS, recent owner claim | Record duplicate receipt; do not start a parallel draft |
| 5. R-77, revision 1, after an interrupted attempt | Output may exist; completion was not recorded | Reconcile the output destination before deciding whether to retry |
Recover an uncertain result without multiplying drafts
The awkward failure happens after a draft is created but before its output reference is saved. A missing COMPLETE marker does not prove that nothing happened. Look for an existing output tied to the request and revision, inspect whether it is usable, and attach its reference to the ledger when confirmed.
If the output cannot be found or identified reliably, leave NEEDS_REVIEW with an owner and next check. Do not blindly repeat a create step merely because a timer elapsed. A stale claim should trigger investigation; reclaiming it requires knowing whether the earlier worker can still finish.
For implementation, decide how the output destination will recognize the same request key and revision. If it supports a documented idempotency mechanism, verify its scope and retention period. If it does not, the ledger alone cannot guarantee exactly-once side effects across two systems. Keep that limitation visible in your runbook.
Define the pilot acceptance check
Use a synthetic brief with no client data for a later authorized test. Save the expected decisions before running it, then record observed results separately. This article supplies a design and a tabletop check; it does not claim saved hours, successful deployment or a universally safe retry setting.
The same request and revision produces one identified draft across repeat arrivals.
A changed input is held or explicitly versioned, never silently treated as the old request.
Concurrent claims cannot both start work, or the pilot is kept under a single operator.
An interrupted attempt is reconciled against existing outputs before retry.
COMPLETE has a verified output reference; publication approval remains a separate step.
