## When to activate

Activate this runbook when webhook queue size exceeds threshold and processing latency degrades.

## Strategy

- Preserve idempotency before increasing throughput.
- Prioritize critical billing and payment-state events.
- Avoid blind replay without filtering windows.

## Procedure

<Steps>
  <Step title="1) Measure backlog">Quantify delay by event type and organization.</Step>
  <Step title="2) Increase capacity">Scale workers in controlled batches and monitor error rate.</Step>
  <Step title="3) Apply controlled replay">Reprocess with clear tagging and active deduplication.</Step>
  <Step title="4) Validate reconciliation">Confirm convergence between processed events and dashboard final state.</Step>
</Steps>

## Expected outcome

- Backlog returns to nominal window.
- No duplicated business side effects.
- Complete audit trail for reprocessed events.
