Overview
Conversational agents can interact with users in Microsoft Teams. Messages stay in Teams; conversation data is stored and managed in your Elementum app according to your routes and permissions. Teams conversations are one-to-one with the bot (not channel-based). You configure routes in Organization Settings to choose which app and agent handle Teams chats and how user fields map to records.Prerequisites
You need:- Organization admin access — to connect the Elementum Teams app to Microsoft Teams
- Active agent — at least one agent in your app with training appropriate for Teams
- Microsoft Teams access — permission to install or use apps in your tenant, per your organization’s policies
Permissions & Data Access
The Elementum Intelligence Teams app requests minimal permissions so the bot can chat with users and connect to Elementum.Required Permissions
Personal Chat Access
Personal Chat Access
What it means: The app can be used in 1:1 chats with individual usersWhy we need it: To provide direct assistance to team membersWhat we DON’T access: Team channels, group chats, or organization-wide data
Notifications
Notifications
What it means: The app can send notifications to users’ devicesWhy we need it: To deliver responses and updatesYour control: Users can manage notification settings in Teams
Basic User Information
Basic User Information
What it means: When you interact with the bot, we receive:
- Your display name
- Your Teams user ID
- Your email address
- Your organization’s tenant ID
Network Access to Elementum Services
Network Access to Elementum Services
What it means: The app connects to
*.elementum.io domainsWhy we need it: To communicate with your Elementum backend and return responsesSecurity: All connections use encrypted HTTPSWhat We Don’t Access
Setting Up Microsoft Teams Integration
Install Microsoft Teams App
Install the Elementum Teams app in your Microsoft Teams environment.Installation Process:
- Receive App Package: Your Elementum contact will provide a ZIP file containing the Teams app package
- Upload to Microsoft Teams: Follow Microsoft’s documentation to upload the custom app to your Teams environment:
- Upload an app package to Microsoft Teams
- You can upload the app for yourself, your team, or your entire organization
- App Availability: Once uploaded, the Elementum bot will be available in your Teams environment
- Receive Verification Code: When you first open the Elementum app in Teams, you will receive a verification code as the first message. Copy this code—you will need it in the next step.
Keep the verification code handy. You’ll enter it in Elementum to complete the connection between your Teams environment and Elementum.
Connect and Configure Elementum Teams App
Organization administrators complete the connection between Elementum and Microsoft Teams using the verification code from the previous step:How to Access:
- Navigate to Organization Settings → Integrations → Microsoft Teams → Configuration
- Select an AI Service from the dropdown
- This determines which model powers agent responses in Teams
- If no AI services are available, use the AI Services link to set up a new service first (see AI Services)
- Configure the Default Conversation Timeout (e.g., 15 minutes)
- This sets how long conversations remain active before automatically closing
- After timeout, users receive a warning before the conversation closes
- Click Save to apply the configuration
- Once saved, the Verification Code field will appear
- Enter the verification code you received in Teams when you installed the app
- Click Verify to validate the connection
- Once verified, click Save to complete the setup
- Verify the connection status shows as Active on the page
This step only needs to be completed once per organization by an administrator.
Create Agent Routes
Routes determine which agents handle Teams conversations and how user data is captured:How to Access:Configuration Steps:
- In the Microsoft Teams integration page, locate the Routes section
- Click Create Route to open the route configuration dialog
- Basic Route Settings
- Field Mapping
Fill in:
- App Selection — The app that will receive and manage conversations
- Route Name — A descriptive name (e.g., “Support Team Route”)
- Agent Assignment — The agent that will handle conversations for this route
- Route Responsibility — Short description of what this route handles (e.g., “Route conversations from Teams”)
- Fill in Route Name and Route Responsibility
- Select the Agent that will handle Teams conversations
- Configure field mappings to capture relevant user information
- Click Save to create the route
Using Microsoft Teams Integration
Starting Conversations
After an administrator has installed the app and completed integration setup, users can open the Elementum app in Teams:- Find the App: Search for “Elementum” in Microsoft Teams apps or your organization’s app catalog
- Add the App: Install the Elementum app if it is not already installed
- Start Chatting: Open the app and send a message to begin interacting with your agent
- Chat as you would with any other Teams contact
- Messages are processed by the agent assigned on the route
- Responses appear in Teams in real time
- Context is maintained for the active session
- User fields are populated according to your route mappings
Conversation Behavior and Records
When a user starts a conversation in Teams, the system creates a record in the app selected on the route, captures mapped user information, associates the conversation with that record, and tracks the interaction for workflows. Session rules:- Single active conversation: Only one active conversation per user at a time
- Timeout: Conversations close after the configured timeout; users get a warning before closure
- After timeout: New messages start a new conversation and new record
Agent Tools for Teams
You configure agent tools—including endConversation—while you build and configure the agent. The behavior below applies to Teams.EndConversation Tool
Agents can use the endConversation tool to close a Teams session when the interaction is complete. Purpose:- Allows agents to end conversations when appropriate
- Provides clear closure for support-style interactions
- Avoids leaving sessions open when no longer needed
Managing Teams Integration
Viewing and Editing Routes
In the Routes section of the Microsoft Teams integration settings you can see all routes, which agent each route uses, and edit mappings or assignments. Use the Edit action (pencil icon) on a route to change configuration, then Save.Integration with Workflows
Agent Conversation Ended Trigger
When a conversation ends (timeout, endConversation, or equivalent), you can run automations with the Agent Conversation Ended trigger. The trigger exposes data such as the transcript, captured user fields, timing, and agent messages—similar to other agent channels. Use it to create tasks, send email, update records, or call other actions your organization needs. Add this to an automation: In your app, open Automations and create an automation whose trigger is Agent Conversation Ended. Set Conversation Type to Teams when you only want Microsoft Teams conversations. For trigger options, variables, and examples, see Agent Conversation Ended in the triggers reference. Nothing is sent to Teams automatically when a conversation ends unless you add an automation that posts to Teams (for example Send Message to Teams).Viewing Teams Conversations
After a conversation ends:- Open the record that was created for the session
- Use the Chat/Conversation area in record details
- Confirm the conversation type is Microsoft Teams and review the transcript and metadata
Troubleshooting
Bot Not Appearing in Teams
Bot Not Appearing in Teams
- Verify your Teams administrator has uploaded the Elementum app package (ZIP file) to your Teams environment
- Ensure users have permission to install apps in Teams
- Contact your Teams administrator if app installation is restricted or if the app package has not been uploaded yet
Connection Not Working
Connection Not Working
- Confirm that you entered the verification code correctly in Organization Settings → Integrations → Microsoft Teams → Configuration
- The verification code is provided as the first message when you open the Elementum app in Teams
- Check that the integration status shows as Active in your organization settings
Agent Not Responding
Agent Not Responding
- Verify the agent is configured and active
- Check that the AI service is available
- Review agent training for Teams-appropriate tone and closure behavior
- Ensure the route is saved and points at the correct app and agent
Field Mapping Not Working
Field Mapping Not Working
- Verify source fields map to existing target fields with compatible types
- Confirm the target app is accessible to the integration
Conversations Not Creating Records
Conversations Not Creating Records
- Verify the route includes the correct app selection
- Check that field mappings are saved
- Ensure the target app allows record creation for the integration identity
Timeout and Training Tips
Timeout and Training Tips
- Adjust Default Conversation Timeout to match typical interaction length (shorter for high volume, longer for complex support)
- Prefer concise, workplace-appropriate replies; train agents when to use endConversation
Security and Compliance
- User Information: Teams user data follows your organization’s retention and access policies in Elementum
- Conversation Storage: Interactions are stored in your Elementum environment with your usual access controls
- Microsoft Teams: App installation follows your tenant’s policies; the initial org connection requires an administrator
Best Practices
- Routes: Prefer one primary route until you need separate apps or agents for different audiences
- Timeouts: Revisit timeout values after you see real conversation patterns
- Automations: Use Agent Conversation Ended for follow-up work (tasks, notifications, CRM updates)—include a Teams notification only where it helps your process
- Training: Align agent tone with your organization; use endConversation when the thread is done