Test the Agent
Test your agent before putting it into production
Before connecting your agent to WhatsApp or the widget, it's essential to test it to ensure it responds as expected.
Access the Test
- Go to Agents > [Your Agent] > Settings
- Click on the Test tab
- A chat interface opens, identical to the public widget
Test Features
The test chat includes all agent features in production:
- Streaming - Responses appear in real-time
- RAG - The agent searches in uploaded documents
- Markdown - Rich formatting of responses
- Syntax highlighting - For code blocks
What to Test
Basic Responses
- Greetings and introductions
- Frequently asked questions
- General information requests
Knowledge Base
- Questions about your products/services
- Verify it uses uploaded documents
- Check response accuracy
Limits
- Off-topic questions
- Requests it should refuse
- Edge cases
Language
- Responses in the correct language
- Possible multilingual support
- Consistent tone and style
Interpret Results
During testing you can observe:
- Response - What the agent says
- Speed - Response time
- Formatting - How information is presented
Improve Responses
If responses are not satisfactory:
- Modify the prompt - Add more specific instructions
- Enrich the knowledge base - Upload more relevant documents
- Add examples - Show the agent how to respond
- Use Edit with AI - Let AI optimize the prompt
Pre-Production Checklist
Before going live, verify:
- [ ] Tested greetings and introductions
- [ ] Verified main FAQs
- [ ] Checked limits and restrictions
- [ ] Tested in all supported languages
- [ ] Verified response speed
- [ ] Checked information accuracy
Common Issues
Generic responses
- Add more details to the prompt
- Enrich the knowledge base
Incorrect information
- Check knowledge base documents
- Clarify prompt instructions
Inappropriate tone
- Modify the voice tone in the prompt
- Add specific examples
Tips
- Test regularly, not just at the beginning
- Use real customer questions
- Involve other team members in testing
- Keep track of issues to fix