Use Cases
Webhook events are ideal for:- Real-time monitoring: Track conversations and agent performance as they happen
- System integration: Sync conversation data with CRMs, analytics platforms, or internal tools
- Automated workflows: Trigger actions based on conversation events or sentiment analysis
- Custom analytics: Build custom dashboards and reporting on top of conversation data
Requirements
Your webhook endpoint must:- Be publicly accessible from the internet
- Accept POST requests with JSON payloads
- Return a
200status code to acknowledge receipt
CORS headers are required because webhook validation currently happens in the browser. This requirement will be removed in a future release.
Configuration
Webhooks are configured through the Studio:- Navigate to Your Settings → Webhooks Tab
- Enter your webhook endpoint URL
- Save to trigger a test event for validation
200 status code to confirm it’s working correctly.
Event Types
Your webhook endpoint will receive POST requests with different event types.Message Events
Triggered whenever a message is sent during a conversation (by either the user or agent).Call Ended Events
Triggered when a conversation concludes, includes full transcript and evaluation.Complete Example
See our webhook processor example for full implementation including event handling, CORS configuration, and deployment scripts:Webhook Processor Example
Complete implementation with deployment scripts