Use idempotency

When triggering outbound calls, protect your system from duplicate requests. Store the campaign ID, customer ID, and call ID.

Handle webhooks safely

Webhook delivery can be retried. Verify signatures when available and make handlers idempotent.

Separate environments

Use separate agents or tags for development, staging, and production. Do not test risky prompt changes on a live production number.

Log the full lifecycle

Track:
  • Call created
  • Call started
  • Call completed
  • Transfer triggered
  • Tool call failed
  • Summary generated