Overview
Agent Slack Integration lets conversational agents work in Slack channels. Messages are handled in Slack, and conversation data is tracked in your Elementum app where you configure permissions and workflows. Slack is configured per channel, with a different agent per channel if you want. The Microsoft Teams integration instead uses one-on-one conversations and a single agent configuration.Prerequisites
You also need:- Active agent: At least one agent in your app, with training appropriate for the channel
- Slack access: Ability to install or request apps in your workspace (see your workspace’s app policies)
- Channel access: Permission to add apps to the channels where the agent should run
Setting Up Slack Integration
Install Elementum App from Slack Marketplace
- Click Add to Slack to install the Elementum app
- Review the permissions the app is requesting
- Click Allow to proceed with the installation
Complete Setup in Elementum
- On the Elementum setup page, select the organization to associate with this Slack installation.
- Click Complete Installation.
- Wait for the Installation Successful confirmation.
Add Elementum to Your Channel
- Type:
/invite @Elementum Intelligence - Press Enter to add the bot to the channel
- Simply mention the Elementum bot (
@Elementum Intelligence) in a message - The app will automatically be added to the channel
- Click the channel name at the top of the channel
- Click the More icon, then select Open channel details
- Select Integrations → Add an app
- Search for and select the Elementum app you installed
Open setup in the channel
/elementum setup and press Enter. The configuration dialog opens. The following steps mirror the sections in the dialog: Agent Selection, Conversation Settings, then Channel Messages.Agent Selection
- Choose the Elementum app that contains the agent you want to use
- This determines which app environment the agent operates within
- Select the specific agent that will respond to messages in this channel
- Different channels can use different agents based on their purpose
Conversation Settings
- Choose how long conversations remain active before automatically expiring
- Options range from minutes to hours depending on your needs
- Helps manage agent workflows and conversation context
- Enable to send users warnings before conversations expire
- Provides better user experience by setting clear expectations
- Quick Answers: Brief, direct responses to questions without creating app records.
- Full Conversations: Multi-turn conversations with full context. Creates an app record to store the conversation and maintain workflow state across interactions.
Channel Messages
Interact with all messages
Interact with all messages
- Dedicated agent support channels
- Low-traffic channels where agent participation is expected
- Channels specifically created for agent interactions
Interact with messages detected as questions
Interact with messages detected as questions
- Responds: “What is our current inventory status?”
- Does not respond: “Please update the inventory report”
- General team channels where selective agent participation is desired
- Channels with mixed conversation types
- On-demand agent assistance
Interact with questions where there is a high level confidence answer
Interact with questions where there is a high level confidence answer
- Channels requiring high accuracy standards
- Reducing agent noise in busy channels
- Ensuring quality over quantity of responses
Do not interact
Do not interact
- Temporarily disabling the agent without removing it
- Testing other configuration options
- Maintaining agent presence while troubleshooting
/remove @Elementum IntelligenceUsing Slack Integration
Channel-Based Agent Deployment
Each channel has its own agent, timeout, and Channel messages behavior. Match agent training to the channel’s purpose (for example, support vs. general questions). Example combinations appear in Managing multiple channel configurations.Starting Conversations
For end users:- Open the channel where the Elementum agent is present.
- Post according to the channel’s Channel messages setting (any message, questions with
?, or other rules you configured). - The agent replies in the channel or a thread; context lasts for the active conversation.
Conversation Management
Quick Answers and Full Conversations are set in/elementum setup in the Conversation Settings step (see Setting up Slack integration). In short:
- Quick Answers: Short replies, no app record, no multi-turn state between questions.
- Full Conversations: App record per conversation, full transcript and context, suitable for automations and follow-up.
Configuration Best Practices
Matching Settings to Channel Purpose
Dedicated Support Channels
Dedicated Support Channels
- Interaction Mode: Full Conversations
- Channel Messages: Interact with all messages
- Timeout: 30-60 minutes for extended support interactions
General Team Channels
General Team Channels
- Interaction Mode: Quick Answers
- Channel Messages: Interact with questions only
- Timeout: 15 minutes
High-Stakes Channels (Legal, Compliance, Executive)
High-Stakes Channels (Legal, Compliance, Executive)
- Interaction Mode: Full Conversations
- Channel Messages: High confidence answers only
- Timeout: 45 minutes
FAQ/Knowledge Base Channels
FAQ/Knowledge Base Channels
- Interaction Mode: Quick Answers
- Channel Messages: High confidence answers only
- Timeout: 10 minutes
Agent Training for Slack
Train agents for public or semi-public channels: shorter replies, Slack formatting when it helps, threaded replies for long exchanges, and clear guidance to move sensitive topics to DM or email when appropriate.Conversation Timeout Strategy
Timeout Duration Recommendations:Quick FAQs
Standard Support
Complex Issues
Integration with Workflows
Automatic Record Creation (Full Conversations Mode)
In Full Conversations mode, starting a conversation creates an app record that typically holds Slack user details, start time, assigned agent, and channel or thread context. Use that record for review and downstream automations.Workflow Triggers
Use the Agent Conversation Ended trigger in your automations to process Slack conversation outcomes. The trigger exposes the transcript, user details, timing and counts, messages, and channel metadata. Automation Examples:- Create follow-up tasks based on unresolved issues
- Send summary notifications to relevant team members
- Update CRM or support systems with interaction details
- Generate analytics reports on agent performance
- Route urgent matters to appropriate departments
- Trigger approval workflows for agent recommendations
Viewing Slack Conversations
After a Slack conversation ends (in Full Conversations mode), you can view the complete interaction: Conversation Interface:- Navigate to the automatically created record in your app
- Access the Chat/Conversation interface in record details
- View the conversation marked as a Slack conversation type
- Review complete transcript with timestamps and participant details
- See channel context and threading information
Managing Multiple Channel Configurations
Channel-Specific Agent Strategy
Pilot in low-traffic or internal channels before wider rollout. Strategic Agent Deployment:- Specialized Agents: Deploy domain-specific agents to relevant channels
- Consistent Agents: Use the same agent across related channels for consistency
- Hybrid Approach: Mix specialized and general-purpose agents based on needs
| Channel | Agent | Mode | Interaction |
|---|---|---|---|
| #customer-support | Support Agent | Full Conversations | All messages |
| #product-questions | Product Expert | Quick Answers | Questions only |
| #general | General Assistant | Quick Answers | High confidence only |
| #engineering | Technical Agent | Full Conversations | Questions only |
| #sales | Sales Assistant | Full Conversations | All messages |
Reconfiguring Channels
To modify agent configuration for a channel:- Navigate to the channel where the agent is configured
- Type
/elementum setupto open the configuration dialog - Update any settings (agent selection, timeout, interaction mode)
- Click Next to save the new configuration
- The agent immediately adopts the new settings
Monitoring Channel Performance
- Metrics to Track
- Optimization Based on Metrics
- Response Rate: How often the agent responds to messages
- Conversation Duration: Average length of agent conversations
- User Satisfaction: Feedback on agent helpfulness
- Channel Activity: Volume of messages and agent interactions
- Timeout Frequency: How often conversations expire before natural completion
Troubleshooting
Common Issues
Bot not responding in channel
Bot not responding in channel
- Verify the agent is properly configured using
/elementum setup - Check interaction mode settings (agent may be set to Do not interact)
- For Questions only mode, ensure messages include
?question marks - Confirm the agent is active and functioning in your Elementum app
- Verify the bot has been added to the channel successfully
Agent responding to wrong messages
Agent responding to wrong messages
- Review the Channel messages setting and adjust interaction mode
- Consider switching from All messages to Questions only or High confidence only
- Refine agent training to better identify relevant questions
- Check if multiple agents are configured in the same channel (may cause conflicts)
Conversation records not creating
Conversation records not creating
- Verify you’re using Full Conversations mode (Quick Answers doesn’t create records)
- Check that the target app is active and accessible
- Ensure proper permissions for record creation
- Review field mappings and data capture configuration
Timeout issues
Timeout issues
- If conversations expire too quickly, increase timeout duration
- If timeouts are too long, reduce duration to better match actual usage
- Enable timeout reminder messages to improve user experience
- Monitor actual conversation patterns to optimize timeout settings
Configuration not saving
Configuration not saving
- Ensure you have proper permissions to configure the channel
- Verify the selected app and agent are valid and active
- Check that all required fields are completed
- Try removing and re-adding the bot to the channel if issues persist
Performance Optimization
High-traffic channels
High-traffic channels
- Use Questions only or High confidence only interaction modes
- Implement shorter conversation timeouts (10-15 minutes)
- Consider Quick Answers mode to reduce overhead
- Monitor agent load and adjust configuration as needed
Low-response channels
Low-response channels
- Switch to All messages or Questions only mode to increase engagement
- Reduce confidence threshold if using high confidence mode
- Review agent training to improve question detection
- Adjust timeout to match actual interaction patterns
Agent training for Slack channels
Agent training for Slack channels
Security and Compliance
Data Protection
Data Protection
- User Information: Slack user data is handled according to your data retention policies
- Conversation Storage: All interactions are stored securely within your Elementum environment
- Access Control: Conversations are only accessible to authorized users within your organization
- Channel Privacy: Agents respect Slack channel privacy settings (public vs private channels)
Slack Security
Slack Security
- Organization Control: Aligns with who can install apps in your workspace (see Prerequisites)
- User Permissions: Follows your organization’s Slack app installation policies
- Data Residency: Conversations remain within your configured data boundaries
- Channel Permissions: Agents only access channels they’re explicitly added to
Conversation Monitoring
Conversation Monitoring
- All agent interactions are logged and auditable
- Conversation transcripts available for compliance review
- Agent responses can be configured to meet regulatory requirements
Data Retention
Data Retention
- Configure retention policies for conversation records
- Archive or delete conversations according to company policies
- Export conversation data for compliance reporting