Testing
Custom Integration Provider
Learn how to use your own backend system for simulation testing with Cekura by integrating a custom transcript provider.
Overview
The custom transcript provider feature allows you to use your own backend system or third-party service for simulation testing while maintaining full control over your conversation data.
Setup
In Cekura Dashboard
- Create or edit an agent in the Cekura dashboard
- Set the transcript provider to “Custom”
- Configure your custom provider credentials:
- API endpoint (where Cekura will fetch calls)
- API key value for authentication
API Endpoint Requirements
Your API endpoint should:
- Accept GET requests
- Return a list of calls in the expected format (see below)
- Support authentication via the
Authorization
header
Call Format
Your API should return a JSON array of call objects. Each call object should include:
Important Considerations
For successful integration, ensure:
- The phone number in your API response matches the scenario’s inbound number
- Call timestamps are in ISO 8601 format
- Your server time is accurate and synchronized
- Message timing is relative to the start of the call (in seconds)
Function Calls and Advanced Features
To include tool usage in your evaluations, add function calls and results:
- Use
role: "function_call"
for tool invocations - Use
role: "function_call_result"
for tool responses - Include a
data
object with function details
Testing Your Integration
To verify your custom transcript provider is working correctly:
- Set up your API endpoint and ensure it’s accessible
- Create an agent with the custom provider configured
- Create a scenario with an inbound phone number
- Run the scenario
- Check the results in the Cekura dashboard
Troubleshooting
If your integration isn’t working as expected:
- No calls appear in results: Verify your API endpoint is returning data and check the response format
- Authentication issues: Confirm your API key and header configuration
- Missing calls: Ensure your API returns calls that match the scenario’s requirements
Next Steps
- Learn about custom metrics
- Explore predefined metrics
- Set up critical workflow metrics