Deployments
Deployments are how you make your AI configuration available to users. Think of them as versioned releases - each deployment is an immutable snapshot of your AI’s complete configuration at a specific point in time. Understanding how deployments work ensures smooth, controlled updates without disrupting live customer interactions.Why Deployments Matter
Deployments enable:- Safe updates - Test changes before going live
- Version control - Track what changed and when
- Easy rollback - Revert to previous versions if needed
- Consistency - All channels use the same version simultaneously
- Audit trail - See complete history of your AI’s evolution
How Deployments Work
The deployment system has three key concepts:1. Versions (Deployments)
Versions are numbered snapshots (#1, #2, #3…) containing:- Profile configuration (guidance, tools, LLM settings)
- Knowledge snapshots (all sources at build time)
- Creation timestamp
- Immutable - never changes after creation
2. Production Alias
Production Alias is a pointer to a specific deployment version:- Represents “currently active” configuration
- Can be updated to point to different versions
- All channels connected to this alias use its current version
- Usually named “Production” or similar
3. Channels
Channels are where users interact with your AI:- Website widgets (Frames)
- Zendesk integration
- Salesforce integration
- Slack integration
- WhatsApp integration
Deployment Architecture
Building and Deploying
The typical workflow for deploying AI changes:Step 1: Make Changes
Edit your AI configuration:- Update guidance instructions
- Add knowledge sources
- Enable/disable tools
- Adjust audiences
Step 2: Build Version
Navigate to Behavior → [Review your changes] and click Build Version, Set Active This process:- Creates new profile (e.g., v0.5 → v0.6)
- Captures knowledge snapshot - Indexes current state of all data providers
- Builds deployment - Compiles everything into deployable package
- Updates Production Alias - Points to new version
- Deploys to all channels - All connected integrations use new version
Building creates an immutable deployment. Once built, versions cannot be modified - you must build a new version for any changes.
Step 3: Monitor Impact
After deployment:- Check conversations for new version
- Monitor metrics (CSAT, resolution rate)
- Review for any issues
- Rollback if needed (see below)
Build Options Explained
Build Version, Set Active (Recommended)- Creates deployment AND sets as production
- All channels immediately use new version
- Takes 30-60 seconds
- Use for: Normal updates
- Creates deployment without setting as production
- Test version before going live
- Manually set as active later
- Use for: Major changes you want to review first
- For deployments affecting many channels
- Runs asynchronously in background
- Email notification when complete
- Use for: Large-scale deployments with 10+ channels
Managing Versions
View and manage all versions in Behavior → General → VersionsVersion List
Each version shows:- Version number (#1, #2, #3…)
- Profile name (v0.0, v0.1, v0.2…)
- Status - “Production” badge if active
- Creation date - When version was built
- Description - Build notes (e.g., “Build for profile v0.5”)
Setting a Version as Active
To switch production to a different version:- Navigate to Behavior → General
- Find the version you want to activate
- Click the ⋮ menu next to the version
- Select Set as Active
- Confirm the change
- Production Alias updates to new version
- All channels switch immediately
- Previous version remains available for rollback
Rolling Back
If a deployment causes issues, roll back quickly:Quick Rollback Process
- Identify the problem - Check conversations, metrics, errors
- Navigate to Versions - Behavior → General → Versions
- Find previous good version - Usually the version before current
- Set as Active - Click ⋮ → Set as Active
- Verify - Test with sample questions
- Investigate - Determine what went wrong
When to Roll Back
Immediate rollback if:- CSAT drops significantly (> 0.5 points)
- High error rates in conversations
- Knowledge sources missing or incorrect
- Tools not working as expected
- User complaints spike
- Minor changes in metrics
- Isolated issues affecting few users
- Issues can be fixed quickly with knowledge updates
Post-Rollback
After rolling back:- Review what changed between versions
- Identify root cause
- Fix in development
- Test thoroughly
- Build and deploy again when ready
Channels and Production Alias
Understanding how channels connect to deployments helps manage updates effectively.Viewing Connected Channels
Navigate to Behavior → General → Channels to see:- All active channels
- Which alias they’re connected to
- Current version each is using
- Links to configure each channel
Channel Display
For each channel, you’ll see:Adding Channels
Channels are configured outside the Behavior section:- Website Widgets: Navigate to Frames
- Zendesk: Navigate to Integrations → Zendesk
- Salesforce: Navigate to Integrations → Salesforce
- Slack: Navigate to Integrations → Slack
- WhatsApp: Navigate to Integrations → WhatsApp
Knowledge Snapshots
Each deployment includes a knowledge snapshot capturing all sources at build time.What’s Included
When you build a version, the knowledge snapshot includes:- All synced data provider sources
- All snippets from collections
- Search table data (references, not copies)
- Current state of all embeddings
Knowledge Staleness Indicator
After data providers sync new content, you’ll see:- Orange indicator: “Knowledge sources updated, rebuild needed”
- Rebuild to update: Build new version to incorporate latest knowledge
- Automatic syncs: If you have scheduled syncs, periodic rebuilds keep knowledge current
Best Practices
Version Management
Build frequently for active development- During initial setup: Build after each significant change
- Test each version before setting as production
- Keep version history clean
- Weekly or monthly builds to incorporate knowledge updates
- Only build for actual improvements, not minor tweaks
- Batch multiple small changes into one version
Naming and Documentation
Profile names (v0.0, v0.1, v0.2):- Increment minor version for small changes (v0.5 → v0.6)
- Increment major version for significant changes (v0.9 → v1.0)
- Major version = new features, major guidance changes
- Minor version = refinements, knowledge updates
Testing Before Production
For major changes:- Build version without setting active
- Test using preview frame in Behavior → Guidance
- Review with team if available
- Deploy to staging channel first (if you have one)
- Set as production when confident
Monitoring After Deployment
After each deployment:- First 30 minutes: Spot-check conversations manually
- First 24 hours: Monitor key metrics (CSAT, escalation rate)
- First week: Review conversation topics and user feedback
- Ongoing: Compare to previous version’s metrics
Troubleshooting
Build Fails
Symptoms: “Build failed” error when creating version Common causes:- TODO items in advanced configuration
- No guidance defined (or system prompt)
- Invalid JSON in tool configuration
- Missing required fields
- Review error message for specific issue
- Check guidance tab has at least one active guidance
- Verify tools configuration is valid JSON
- Remove any TODO placeholders
Knowledge Not Updating
Symptoms: Changes to data providers don’t appear in AI responses Cause: Haven’t rebuilt deployment with new knowledge snapshot Solution:- Verify data provider synced successfully
- Build new version to incorporate changes
- Set new version as active
- Knowledge now available to AI
Channels Not Using New Version
Symptoms: Some channels show old responses after deployment Check:- Verify production alias was updated
- Confirm channels are connected to production alias (not old fixed versions)
- Clear browser cache (for website widgets)
- Check channel configuration hasn’t changed
- Rebuild and redeploy
- Check channel configuration in respective integration settings
- Contact support if issue continues
Deployment Stuck
Symptoms: Build process shows “Building…” for > 5 minutes Solutions:- Wait up to 10 minutes (large knowledge bases take time)
- Refresh page - may have completed
- Check if deployment appeared in versions list
- If still stuck after 15 minutes, try building again
- Contact support if repeatedly failing
Advanced Deployment Patterns
Multiple Environment Setup
For teams with staging/production separation: Staging Environment:- Separate project for testing
- Copy configuration from production
- Test changes here first
- No real customer traffic
- Main project with real customers
- Only deploy tested changes
- Monitor closely after updates
Gradual Rollout
To reduce risk of deploying changes:-
Deploy to one channel first:
- Create separate alias for test channel
- Set test alias to new version
- Monitor for issues
- Update production alias when confident
-
Use separate projects for A/B testing:
- Run two versions simultaneously
- Route percentage of traffic to each
- Compare metrics
- Deploy winner to all channels
Automated Deployment
For advanced teams:- Use API to build versions programmatically
- Trigger builds on knowledge sync completion
- Integrate with CI/CD pipeline
- Automated testing before production
Next Steps
Now that you understand deployments:- Configure Integrations - Connect your AI to channels
- Set Up Website Widget - Add AI to your website
- Monitor Performance - Track deployment impact
- Improve Over Time - Iterate based on results