A connection drops after campaign creation, so the integration retries with a new key. A second campaign may appear despite the first being stored. Elsewhere, reusing a key after changing the audience causes conflict. The key must identify intent, not merely a network attempt.
Preserve business intent identity
Taloo's current campaign endpoint accepts intent_key and can read Idempotency-Key when the body does not provide it. Retain it for retries of the same contracted operation rather than generate one per transport attempt.
Do not confuse it with tracing request_id elsewhere or generalise this behaviour to every endpoint. Each route needs its own contract.
Content participates in matching
Campaign creation checks the key within the organisation and compares the content fingerprint on replay. Different content under the same key can produce conflict instead of creating another campaign or silently amending the first.
For changed audiences, parameters or material settings, decide whether this is a retry or a new campaign decision. Changing keys simply to bypass unexplained conflict may create two operations rather than correct the intended one.
Separate creation from sending
Creation returns a campaign reference and relevant state, schedule and audience information. Successful creation does not establish every message was sent or delivered. Scheduling, eligibility, processing and recipient outcomes remain separate stages.
Test identical replay, intentionally changed content and a connection interruption leaving an uncertain result, using separate authorised data. Inspect the existing reference before creating new intent, especially when processing may have begun.
See retries with uncertain outcomes for the operating principle. Document how intent keys map to records and content. This reduces duplicate campaigns and makes conflict a useful protection of meaning rather than an error the integration bypasses at random.
