Getting Started
1. Connect Your Slack Bot
In the UserTrace dashboard, navigate to Agent Setup and select Slack Integration. Required Information:- Slack Bot Token or App credentials
- Workspace URL or ID
2. Set Evaluation Context
Define your pass and fail criteria for what constitutes successful interactions: Example Pass/Fail Criteria:Important Simulation Details
Sequential Testing
How it works:- Simulation 1 completes entirely before Simulation 2 starts
- Each simulation appears as a separate conversation thread or DM
- No message overlap or confusion between different test scenarios
Test User Management
Our Test User: All simulations will come from a designated UserTrace test user account. This user will:- Send messages as different personas
- Complete full conversation scenarios
- Reset between simulations for clean testing
Best Practice: Use Test Workspace
Recommended Approach: Use a test Slack workspace instead of your production workspace to avoid any concerns about triggering real business actions during testing.
- Meeting bookings - Don’t schedule real meetings
- Task assignments - Don’t create actual work items
Testing Process
Inbound Bot Testing
For bots that respond to incoming messages:- Our test user sends the first message to your Slack bot
- Your bot responds based on the scenario
- The conversation continues until completion
- Results are analyzed and scored
Outbound Bot Testing
For bots that initiate conversations (proactive messaging):- UserTrace sends a webhook request to your system
- Your bot initiates the conversation by sending the first message
- Our simulated user responds according to the scenario
- The conversation continues until completion
- Results are analyzed and scored
2. Between Simulations
- 30-second delay between different scenarios
- New conversation thread starts fresh
- Previous context is cleared
3. View Results
Each simulation provides:- Complete conversation transcript
- Response time analytics
- Success/failure against your criteria
- Persona-specific behavior analysis
Best Practices
Response Timing
Natural Conversation Flow• Respond within 30 seconds for best results
• Handle message bursts gracefully
• Use threading for complex discussions
Slack Features
Platform Integration• Use interactive buttons and menus
• Support file sharing and attachments
• Handle mentions and reactions appropriately
Common Scenarios
Workplace Productivity Examples:- “Schedule a meeting for tomorrow at 2 PM”
- “What’s the status of the Q4 project?”
- “I need help with the expense report process”
- “Can you remind me about my upcoming deadlines?”
- “How do I request time off?”
- “Where can I find the employee handbook?”
- “I’m having trouble with my laptop”
- “Who should I contact about benefits?”
Troubleshooting
Common Issues:- Messages not delivering: Check Slack app permissions and OAuth scopes
- Slow responses: Optimize your webhook response time
- Test actions triggering: Verify you’re using test workspace or proper safeguards
- Thread mixing: Ensure proper conversation threading
Need help with Slack setup? Our team can assist with bot configuration and testing best practices. Contact [email protected].Next Steps: Create test scenarios for your Slack bot and run simulations to validate performance.