Define the source of truth
Assign ownership for every entity and status before writing code. A written field mapping and lifecycle contract prevent silent divergence between systems.
Design for repeated and failed delivery
Use idempotency, timeouts, bounded retries and a dead-letter or manual-review path. Webhooks may arrive late, out of order or more than once.
Accept by business scenarios
Test create, update, duplicate, partial failure and recovery flows with observable logs. Technical success alone is not proof that the business state is correct.
