Microsoft Teams is a collaboration platform that combines workplace chat, video meetings, file storage, and application integration.
With Relevance AI’s Microsoft Teams integration, you can seamlessly connect your Teams workspace to your AI agents, enabling them to monitor channels, respond to messages, and automate communication workflows directly within your team’s collaboration environment.
Connecting your Microsoft account to Relevance AI is a straightforward process. The Microsoft integration provides unified authentication across Teams, Outlook, SharePoint, and OneDrive.
Go to the “Integrations & API Keys” page in the sidebar of your Relevance AI dashboard.
Click on “Microsoft (Teams, Outlook, SharePoint, OneDrive)” from the available integrations.
Click on the “Add Integration” button.
In the pop-up window, sign into your Microsoft account.
Grant the necessary permissions for Relevance AI to access your Microsoft Teams data.
Once authenticated, your Microsoft account will appear as a connected integration.
You may need admin consent depending on your organization’s Microsoft policies. After connecting, you can use Microsoft Teams as a trigger for your agents to automatically respond to messages, or use Teams tool steps in your custom tools to send messages and manage channels.
The Microsoft Teams integration provides actions that your agents can use to send messages and manage Teams. These actions can be incorporated into your agent’s workflows as tool steps, enabling sophisticated communication automation capabilities.
Send Channel Message
Post a message to a specific Teams channel
Send Chat Message
Send a direct message in Teams
Create Channel
Create a new channel in a Team
List Channels
Get all channels in a Team
List Shifts
Retrieve shift information from Teams
Microsoft API Call
Make custom API calls to Microsoft Graph API for advanced use cases
Most Microsoft Teams tool steps are currently in beta. Please report any issues to our support team.
In addition to the pre-built actions available in the tool directory, you can build custom tools that perform Microsoft Teams-specific activities using the Microsoft API Call tool step. This gives you access to the full Microsoft Graph API for advanced Teams operations.
Create a new tool in Relevance AI or open an existing tool you want to add Microsoft Teams functionality to.
2
Add the Microsoft API Call tool step
Scroll down to Tool-steps
Search for “Microsoft API Call” in the tool step search bar
Add the Microsoft API Call tool step to your workflow
3
Select your Microsoft account
Select your connected Microsoft account from the dropdown menu.
4
Configure the API endpoint
Configure the API endpoint, method, and parameters according to your needs. Refer to the Microsoft Graph API documentation for available endpoints and request formats.
5
Test your API call
Test your configuration to ensure it works correctly before deploying.
You can configure your agents to automatically respond to Microsoft Teams messages by setting up Teams as a trigger. Your agent will process messages in real-time as they are posted to the monitored channel or chat.
Teams triggers activate only on new messages. They do not trigger on new chat creation, group creation, or webhooks.
Here are some ways you can leverage the Microsoft Teams integration with your agents:
IT support bot
Create an agent that monitors your IT support channel and automatically responds to common technical questions, provides troubleshooting steps, creates support tickets for complex issues, and escalates urgent problems to human team members.
Meeting scheduler assistant
Build an agent that helps schedule meetings by finding available time slots across team members’ calendars, sending meeting invites, and posting meeting details to relevant Teams channels with agenda and preparation materials.
Onboarding assistant
Deploy an agent in your onboarding channel that welcomes new team members, answers common questions about company policies and tools, shares relevant documentation, and guides new hires through their first week.
Project status bot
Create an agent that monitors project channels, collects status updates from team members, compiles progress reports, identifies blockers, and posts daily or weekly summaries to keep everyone aligned.
Knowledge base assistant
Build an agent that answers questions by searching your company’s knowledge base, documentation, and previous Teams conversations, then provides relevant information with source links directly in the channel.
Standup facilitator
Deploy an agent that runs daily standups by prompting team members for updates, collecting responses, summarizing key points, and posting the standup summary to the team channel.
Announcement distributor
Create an agent that monitors an announcements channel and automatically cross-posts important updates to relevant team channels, ensuring critical information reaches all stakeholders.
Customer success agent
Build an agent for your customer success channel that monitors customer inquiries, provides initial responses, searches for relevant case history, and routes complex issues to the appropriate team member.
Code review notifier
Deploy an agent that monitors your development channels and posts notifications when pull requests are ready for review, code is deployed, or CI/CD pipelines complete, keeping the team informed of development progress.
Sales pipeline assistant
Create an agent that monitors your sales channel, logs important deal updates to your CRM, reminds team members of follow-up tasks, and posts daily pipeline summaries to keep the sales team aligned.
The Microsoft Teams integration in Relevance AI was built by Relevance AI, and is therefore supported by our team, not Microsoft. If you have a question or issue with using Microsoft Teams in Relevance AI, please reach out to our support team. If you have a question or issue that is only about Microsoft Teams, you can reach out to Microsoft support.
What is Microsoft Teams and why should I use it with Relevance AI?
Microsoft Teams is a collaboration platform that combines workplace chat, video meetings, and file storage. Using it with Relevance AI allows you to automate responses to messages, trigger workflows from Teams conversations, and send automated messages to channels or chats, making your team communication more efficient.
Do I need a Microsoft Teams account to use this integration?
Yes, you need a Microsoft account with access to Microsoft Teams. This integration is designed for Microsoft Teams for business and enterprise. You’ll need to authenticate your Microsoft account through Relevance AI to connect the integration.
Can I connect multiple Microsoft accounts?
Yes, you can connect multiple Microsoft accounts to your workspace through the Integrations & API Keys page. Each account can be used for different triggers and tool steps, which is useful for managing different Teams workspaces or separating different projects.
What permissions does the Microsoft Teams integration require?
The integration requires permissions to read messages, send messages, and access team/channel information. The exact permissions will be shown during the OAuth flow when you connect your account. You may need admin consent depending on your organization’s policies.
Do triggers work for private messages?
Yes, Teams triggers can monitor both channel messages and private chats, depending on your configuration. You can set up triggers for specific channels or direct message conversations.
Can I filter which messages trigger my Agent?
Yes, you can configure trigger conditions such as keyword matching to filter which messages activate your workflow. This allows you to have your agent respond only to relevant messages rather than every message in a channel.
How do I prevent my agent from sending messages automatically?
Set your message-sending tools to “approval mode” in the agent settings. This ensures your agent will always ask for permission before sending a Teams message. You can review the draft, make edits if needed, and then approve or reject the send action.
Can my agent access files shared in Teams?
Yes, files shared in Teams channels are stored in SharePoint. You can use the Microsoft Graph API to access these files through the API Call tool step. The files are typically accessible via the channel’s associated SharePoint document library.
What's the difference between the pre-built Teams tool steps and the API Call tool step?
Pre-built tool steps (like “Send Channel Message” or “Create Channel”) are designed for specific, common tasks and have simplified interfaces with guided inputs. The Microsoft API Call tool step gives you full access to Microsoft Graph API, allowing you to implement any functionality available in the API, including advanced operations not covered by pre-built steps.
Are there rate limits for Microsoft Teams API calls?
Yes, Microsoft Graph API enforces rate limits. The specific limits depend on your Microsoft 365 subscription and the type of requests being made. Your agents should be designed to handle rate limiting gracefully. Microsoft typically returns a 429 Too Many Requests status code when limits are exceeded.
Can I use this integration with Microsoft Teams for personal use?
This integration is designed for Microsoft Teams for business and enterprise. Personal Microsoft accounts may have limited functionality. We recommend using a business or enterprise Microsoft 365 account for the best experience.
How do I remove the Microsoft Teams integration?
To remove the Microsoft Teams integration:
Go to the Integrations & API Keys page from the sidebar
Search for Microsoft (Teams, Outlook, SharePoint, OneDrive) from the list
Click ”…” on the account you want to remove
Click “Remove” and confirm your choice
Note: Removing the Microsoft integration will disable all triggers and tool steps using this account across Teams, Outlook, SharePoint, and OneDrive.
Why are my Teams tool steps in beta?
The beta status indicates that while the Microsoft Teams integration is fully functional and available for use, we’re still gathering user feedback and may make refinements to improve the experience. We recommend testing your workflows thoroughly before deploying them in production. If you encounter any issues or have suggestions, please contact our support team.