Test Panel Overview
Every agent has a test panel accessible from the editor:- Open the agent in the editor
- Click the Test button
- Start a test session
Voice Test Panel
The voice test panel simulates phone calls:- Start Call: Begin a test voice session
- End Call: Terminate the session
- Transcript: Real-time conversation display
- Debug View: Tool invocations and model responses
Chat Test Panel
The chat test panel simulates widget conversations:- Message Input: Type test messages
- Conversation View: See agent responses
- Debug Panel: View underlying processing
Testing Workflow
1. Basic Functionality
Start with core functionality:| Test | Verify |
|---|---|
| First message | Greeting plays/displays correctly |
| Simple question | Agent responds appropriately |
| Follow-up | Context is maintained |
| Goodbye | Session ends gracefully |
2. Knowledge Base
Test document retrieval:3. Lead Capture
Verify data collection:4. Custom Actions
Test tool invocations:5. Edge Cases
Test unusual scenarios:| Scenario | Expected Behavior |
|---|---|
| Silence (5+ seconds) | Agent prompts user |
| Interruption | Agent handles gracefully |
| Off-topic question | Redirects to scope |
| Angry customer | De-escalation response |
| Transfer request | Initiates handoff |
Voice-Specific Testing
Audio Quality
| Test | What to Check |
|---|---|
| Speech recognition | Agent understands clearly |
| Voice output | Natural, correct pacing |
| Background noise | Handles ambient sound |
Conversation Flow
- Barge-in: Can you interrupt the agent?
- Turn-taking: Natural pauses between speakers?
- Long responses: Agent breaks up appropriately?
Phone Features
| Feature | Test |
|---|---|
| Hold | ”Can you hold for a moment?” |
| Transfer | ”Let me speak to a human” |
| Voicemail | Call when unavailable |
| Recording | Verify calls are recorded |
Chat-Specific Testing
Widget Functionality
| Test | Verify |
|---|---|
| Widget loads | Appears on page correctly |
| Open/close | Toggle works |
| Minimize | Stays accessible |
| Mobile | Responsive on small screens |
Message Handling
- Long messages: Agent handles appropriately
- Quick succession: Multiple messages in a row
- Links: Clickable and correct
- Formatting: Markdown renders properly
Session Persistence
- Start a conversation
- Navigate to another page
- Return to original page
- Verify conversation continues
Reviewing Test Results
The debug view shows the model’s input and output for each turn, so you can see exactly what the agent received and how it responded. You can see which tools were called, what information was sent, and what response came back. Lead capture data is displayed so you can verify the agent collected the right information.Test Scenarios
Sales Qualification
Technical Support
Escalation
Automated Testing
Test Scripts
Create reusable test scenarios with expected responses. Define a series of messages and what you expect the agent to say or do.Regression Testing
Run tests after changes:- Save test scenarios
- Make agent changes
- Run all scenarios
- Compare results to baseline
Pre-Deployment Checklist
Before going live:Agent Configuration
- System prompt is complete
- First message is appropriate
- Model settings are optimal
- Voice sounds natural (if voice)
Knowledge Base
- All documents uploaded
- Documents are processed
- Test queries return correct info
Custom Actions
- All tools configured
- API endpoints working
- Error handling in place
Lead Capture
- Fields configured correctly
- Data saves to database
- Enrichment triggers (if enabled)
Edge Cases
- Handles silence/pauses
- Handles interruptions
- Handles off-topic questions
- Transfer/escalation works
Compliance
- Recording disclosure (if required)
- Data handling compliant
- Boundaries respected
Troubleshooting Test Issues
Test call won't connect
Test call won't connect
- Check browser microphone permissions
- Verify internet connection
- Try a different browser
Agent doesn't respond
Agent doesn't respond
- Check system prompt isn’t empty
- Verify model is configured
- Look for errors in debug view
Tools not working in test
Tools not working in test
- Verify tool configuration
- Check API endpoints are accessible
- Review tool invocation in debug view
Next Steps
Voice Agents
Voice configuration
Chat Agents
Chat configuration
Evaluations
Quality assessment
Deploy Campaign
Launch outbound calls