Slack Integration
Beta Feature: The Slack integration is currently in beta. Some features may be unstable or subject to change.
Value Proposition
Bringing AI agents to Slack enhances team productivity and information access:- Internal Knowledge Base: Give employees instant access to company documentation and procedures
- IT Support Automation: Handle common IT requests automatically within Slack
- Community Management: Automate responses in public Slack communities
- Onboarding Assistance: Help new team members find information quickly
- Reduce Interruptions: Answer common questions automatically, freeing up experts
- Earn Time Back: Employees spend ~8 hours / week just searching internal information
Prerequisites
Before setting up the Slack integration:- A botBrains project with configured knowledge and behavior
- Slack workspace admin permissions (to install apps)
- An active Slack workspace (free or paid tier)
Setup Instructions
Step 1: Navigate to Channels
- Open your botBrains project
- Go to Channels in the sidebar
- Click on the Slack tab
Step 2: Install the Bot
- Click the “Add to Slack” button
- A new window opens redirecting you to Slack’s authorization page
- Select the workspace where you want to install the bot (if you have multiple workspaces)
- Review the permissions requested by the botBrains app
- Click Allow to authorize the integration
- The window closes and you return to botBrains
Step 3: Verify Installation
After authorization:- The page refreshes automatically
- The Slack integration appears in your Active Slack Integrations list
- You’ll see:
- Team name and Team ID
- Installation date
- Bot icon placeholder (or default icon if already customized)
Configuring Your Slack Bot
Customize Bot Icon
Make your agent recognizable in Slack:- Find your integration in the Active Slack Integrations list
- Click the Upload icon button next to the bot image placeholder
- Select a square image (PNG or JPEG)
- Images must have equal width and height (square aspect ratio)
- Images larger than 512x512 pixels will be automatically compressed
- Supported formats: PNG, JPEG
- Use your company logo or a custom agent avatar
Bot Behavior
The agent uses the same profile and knowledge configured in your botBrains project:- Profile Settings: Navigate to Profiles to adjust tone and behavior
- Knowledge Sources: Manage in Data Providers and Snippets
- Escalation Rules: Configure in Escalations
Using the Bot in Slack
Your AI agent responds to interactions in three types of Slack conversations: direct messages, public channels, and private channels.Direct Messages
Users can have one-on-one conversations with the agent:- Find the bot in your Slack workspace’s apps list
- Click to open a direct message
- Ask questions naturally
- The agent responds using your configured knowledge
Public Channel Mentions
The agent responds when mentioned in public channels:- Invite the agent to a channel:
/invite @YourBotName - Mention the agent in a message:
@YourBotName how do I reset my password? - The agent responds in the channel
Private Channels
The agent works the same way in private channels as in public channels:- Invite the agent to the private channel
- Mention the agent with
@YourBotName - The agent responds to the team members in that private channel
Common Use Cases
Internal IT Support
Deploy the agent for employee IT requests:- Password resets
- Software installation guides
- Troubleshooting common issues
- Access request procedures
HR and Onboarding
Help new employees get up to speed:- Company policies and benefits
- Onboarding checklists
- Team structure and contacts
- Common procedures
Developer Documentation
Support engineering teams:- API documentation lookup
- Code examples and snippets
- Architecture decisions
- Deployment procedures
Community Support
Manage Slack communities:- Answer common questions automatically
- Guide users to resources
- Moderate discussions
- Track popular topics
Managing the Integration
View Active Integrations
All connected Slack workspaces appear in the Active Slack Integrations list, showing:- Team name and ID
- Installation date
- Current bot icon
Update Bot Icon
To change your agent’s appearance:- Locate your integration in the Active Slack Integrations list
- Click the upload icon button
- Select a new square image (PNG or JPEG)
- The icon updates immediately
Monitor Usage
Track how your team uses the agent:- Navigate to Conversations in botBrains
- Filter by channel to see Slack conversations
- Each conversation shows:
- Workspace name
- Channel type (Direct Message, Public Channel, or Private Channel)
- Channel name (for channel conversations)
- Direct links to view in Slack
- Review questions and responses
- Identify knowledge gaps
Update Bot Behavior
Improve responses over time:- Review conversation history in the Conversations view
- Add missing knowledge to Data Providers
- Refine profile instructions
- Test changes in a private Slack channel first
How It Works
The Slack integration connects your botBrains project to Slack using OAuth authentication:- OAuth Installation: When you click “Add to Slack”, you authorize botBrains to access your workspace
- Event Handling: The integration receives events when users mention the agent or send direct messages
- Context Preservation: Conversations maintain thread context, allowing multi-turn interactions
- Project Configuration: The agent uses your project’s profiles, knowledge sources, and escalation rules
- Conversation Tracking: All interactions are logged in the Conversations view with metadata (channel type, workspace, links to Slack)
- Direct messages (DMs) from any user in the workspace
- Mentions (
@YourBotName) in public channels where the agent has been invited - Mentions in private channels where the agent has been invited
Beta Limitations
As a beta feature, please note:- No self-service uninstall: To remove a Slack integration, contact support@botbrains.io
- Limited configuration options: Additional settings and customization options are planned
- Features and functionality may change based on feedback
Troubleshooting
Bot Not Responding
If the agent doesn’t respond:- Check Installation: Verify the integration appears in your Active Slack Integrations list
- Invite Bot: For channels, make sure the agent is invited (
/invite @YourBotName) - Check Mentions: In channels, the agent only responds when explicitly mentioned with
@YourBotName - Bot Permissions: Ensure the agent has permission to read and write in the channel
- Project Status: Verify your botBrains project has active knowledge sources configured
Bot Gives Wrong Answers
If responses are inaccurate:- Review Knowledge: Check that your Data Providers are up to date
- Refine Profile: Adjust instructions in your Profile settings
- Test in botBrains: Use the conversation interface to test responses before deploying
- Add Context: Provide more specific documentation for common questions
- Review Conversations: Check the Conversations view to see what the agent is receiving and responding
Authorization Issues
If you can’t authorize the integration:- Workspace Permissions: Confirm you have admin rights in your Slack workspace
- App Approvals: Check if your workspace requires app approval from an admin
- Browser Issues: Try a different browser or clear your cache
- Popup Blockers: Ensure popups are allowed for the botBrains platform
- Contact Support: Reach out to support@botbrains.io for assistance
Best Practices
Providing Feedback
Since this is a beta feature, we value your input:- Report bugs or issues to support@botbrains.io
- Suggest features you’d like to see
- Share your use cases and success stories
Next Steps
After setting up Slack integration:- Configure Escalations - Set up human handoff for complex questions
- Monitor Conversations - Review agent interactions
- Analyze Topics - Discover what your team asks about most
- Add Knowledge - Expand your agent’s capabilities
Support
Questions about the Slack integration?- Email: support@botbrains.io
- Documentation: Browse our guides
- Community: Join our Slack community (coming soon!)