Overview
Outbound Voice connections simulate your agent making calls to users.
Configuration Requirements
Trigger Call Endpoint
- Field:
trigger_call_endpoint - Type: String (required)
- Format: Valid HTTPS URL
- Purpose: The webhook endpoint where outbound calls are initiated
- Example:
https://your-endpoint.com/webhook
Trigger Call Headers
- Field:
trigger_call_headers - Type: String (optional)
- Format: Valid JSON string
- Purpose: HTTP headers to include in trigger requests
- Example:
{"Content-Type": "application/json", "Authorization": "Bearer token123"}
Phone Number Key
- Field:
phone_number_key - Type: String (optional)
- Default:
"phone_number" - Purpose: Key used to identify the phone number in the trigger payload
- Example:
"phone_number","recipient_phone","target_number"
Trigger Call Payload
- Field:
trigger_call_payload - Type: String (optional)
- Format: Valid JSON string
- Purpose: Additional data to send with the trigger request
- Example:
{"sequence_code": "ABC123", "campaign_id": "summer2024"}
Setup Instructions
- Configure webhook endpoint URL that can receive HTTP POST requests
- Set authentication headers as JSON string
- Define phone number key and payload structure
- Test webhook response and call initiation
Technical Details
Call Initiation Flow- Coval sends HTTP POST request to trigger endpoint
- Your system receives webhook and initiates call
- Agent connects to specified phone number
- Conversation proceeds with real-time monitoring
Troubleshooting
Common Issues:- Webhook Not Triggering: Verify endpoint URL and accessibility
- Invalid JSON Format: Validate headers and payload syntax
- Authentication Failures: Check authorization headers and tokens
- Call Connection Issues: Verify phone number format and availability
Outbound Voice Simulations
Coval’s Outbound Voice Simulation feature enables you to test your voice agents by having Coval simulate realistic customer interactions. Instead of your agent calling a test phone number, Coval triggers your system to initiate an outbound call to our simulated customer, creating a more realistic testing environment that mirrors your production call flows.How It Works
- You configure an endpoint that Coval can call to trigger outbound calls
- Coval starts a simulation and sends a request to your trigger endpoint
- Your system receives the request and initiates an outbound call to our simulated customer
- The simulation runs with realistic customer responses based on your test scenarios
- Coval provides detailed transcripts, recordings, and analysis of the interaction
Getting Started
Prerequisites
Before setting up outbound voice simulations, ensure you have:- An endpoint that can receive HTTP POST requests
- The ability to initiate outbound calls from your phone system
- API authentication mechanism (recommended)
- Phone system capable of dialing phone numbers
Quick Setup
- Prepare Your Trigger Endpoint
- Create an endpoint that accepts POST requests
- Implement authentication (API key, bearer token, etc.)
- Add logic to extract phone number and initiate calls
- Configure in Coval
- Navigate to your simulation settings
- Select “Outbound Voice” as the simulation type
- Enter your trigger endpoint URL
- Configure headers and payload format
- Test the configuration
- Run Your First Simulation
- Create a test scenario
- Start the simulation
- Monitor the call initiation and interaction
Configuration Details
Trigger Call Endpoint
Purpose: The URL where Coval will send requests to trigger outbound calls from your system. This is a required field. Requirements:- Must be a valid HTTP/HTTPS URL
- Should be publicly accessible or whitelisted for Coval’s IP ranges
- Must respond within 30 seconds
- Should return 2xx status codes for successful requests
Trigger Call Headers
Configure HTTP headers that Coval will include with every trigger request. This typically includes authentication and content type headers. This is an optional field. Format: Valid JSON objectAuthorization: API keys, bearer tokens, or basic authContent-Type: Usuallyapplication/jsonX-API-Key: Alternative authentication method- Custom headers for routing or identification
Trigger Call Payload
The base JSON payload that Coval will send to your endpoint. Coval automatically adds the phone number field to this payload. This is an optional field. Format: Valid JSON objectphone_number field will be automatically added by Coval.
Phone Number Key
Customize the field name used for the phone number in the payload. This allows integration with systems that expect different field names. Default: phone_number Common Alternatives:phoneNumberphonenumberphoneNumberToCalldestination
destination, configure this field as destination, and the payload will include: