This guide explains how to set up the Microsoft Teams integration in Airia, allowing your agents to interact with Microsoft Teams by retrieving information and sending messages.

Prerequisites

To enable full Microsoft Teams functionality, you will need to configure the following three Microsoft Teams tools in Airia:

  • Retrieve Channels
  • Retrieve Teams
  • Send Teams Message

💡 Note: Before proceeding, ensure you have reviewed and set up the general Authenticate Microsoft Tools guide. The Teams tools leverage this same OAuth 2.0 authentication method.

Add and Configure Teams Tools

To enable comprehensive Microsoft Teams functionality, you must add and configure each of the three required tools:

  1. Add Each Teams Tool:
    • Navigate to the Tools section in your Airia dashboard.
    • From the library, find and select each of the following tools one by one:
      • Retrieve Channels
      • Retrieve Teams
      • Send Teams Message
  2. Configure Authentication:
    • For each tool, follow the authentication steps outlined in the Authenticate Microsoft Tools guide.
    • When prompted for permissions during the OAuth flow, ensure you grant the necessary permissions, especially for Sending a Teams message, and any other required scopes for retrieving channels and teams.
  3. Save Each Tool:
    • After configuring authentication for each tool, click Save to add it to your library.

Create a Teams Agent

Once all three Microsoft Teams tools are configured and saved, you can combine them with a Large Language Model (LLM) to create a powerful Teams agent.

  1. Add a Model:
    • Navigate to the Agents section and select a Large Language Model (LLM) from the library to add to your agent.
  2. Add Teams Tools to the Agent:
    • In your agent’s configuration, add the three previously configured Teams tools: Retrieve Channels, Retrieve Teams, and Send Teams Message.
  3. Query the Agent:
    • You can now query your agent to perform Teams-related actions.

💡 Note: For improved responses, it is recommended that you add a prompt to your model providing details on your organization, specific channels, or terminology relevant to your Teams usage.