Skip to content
microsoft_teams Icon

Microsoft Teams

Collaborate with teams, send messages, manage channels, and automate team workflows

Category
Communication
GAIA
Created by
GAIA Team
Auth
OAuth

What you can do with GAIA

GAIA connects to it via MCP (Model Context Protocol) and exposes every action as a natural-language command. Tell GAIA what you want and it handles the rest, automatically.

  • Send messages to any Teams channel or person directly from GAIA chat
  • Get a summary of what was discussed in a Teams channel while you were away
  • Post automated updates from other tools into Teams channels
  • Search Teams conversations for past decisions, links, or files
  • Run scheduled workflows that scan your Teams channels for keywords and send you a digest

Available Tools (32)

Add Member To Team

Tool to add a user to a team. Use when granting or updating membership for a user.

Archive Team

Tool to archive a team. Use after confirming the team ID; returns 202 if accepted.

Chats Get All Chats

Retrieves all chats a specified user is part of, supporting filtering, property selection, and pagination.

Chats Get All Messages

Retrieves all messages from a specified chat using the Microsoft Graph API, automatically handling pagination; ensure chat_id is valid and OData expressions in filter or select are correct.

Create Meeting

Use to schedule a new standalone online meeting, i.e., one not linked to any calendar event.

Create Team

Tool to create a new team. Use when you need to provision a team with optional template, channels, and members.

Delete Team

Tool to delete a team. Use after confirming the target team ID.

Get Channel

Tool to get a specific channel in a team. Use after obtaining valid team and channel IDs to fetch channel details.

Get Chat Message

Tool to get a specific chat message. Use after confirming chat_id and message_id.

Get Team

Tool to get a specific team. Use when full details of one team by ID are needed.

Get Team Operation

Tool to retrieve the status of a Teams async operation using teamId and operationId. Use when you need to poll and track the progress of long-running operations like team creation or archiving. Microsoft recommends waiting at least 30 seconds between polling requests.

List Message Replies

Tool to list replies to a channel message. Use after obtaining team, channel, and message IDs.

List Team Members

Tool to list members of a team. Use when you need to retrieve the members of a specific team, for auditing or notifications.

List Teams Templates

Tool to list available templates. Use when retrieving templates for team creation or customization workflows.

List User Joined Teams

Tool to list the Teams that a specified user is a direct member of (joined teams). Use for access/membership audits when enumerating team members is access-restricted.

List Users

Tool to list all users in the organization. Use when you need to retrieve directory users with filtering, pagination, and field selection.

Search Files

Search files using KQL syntax. Find files by name, type, content, author, and modification date across all Teams and channels. Supports boolean logic and date ranges. Examples: 'filetype:pdf AND lastmodifiedtime>=2024-10-01', 'contract AND budget', 'filename:report AND author:user@example.com'

Search Messages

Search messages using powerful KQL syntax. Supports sender (from:), date filters (sent:), attachments, and boolean logic. Works across all Teams chats and channels the user has access to. Examples: 'from:user@example.com AND sent>=2024-10-01', 'punchlist OR termination', 'sent>today-30 AND hasattachment:yes'

Teams Create Channel

Creates a new 'standard', 'private', or 'shared' channel within a specified team.

Teams Create Chat

Creates a new chat; if a 'oneOnOne' chat with the specified members already exists, its details are returned, while 'group' chats are always newly created.

Teams Get Message

Retrieves a specific message from a channel using its Team, Channel, and Message IDs.

Teams List

Retrieves accessible by the authenticated user, allowing filtering, property selection, and pagination.

Teams List Channels

Retrieves channels for a specified team ID (must be valid and for an existing team), with options to include shared channels, filter results, and select properties.

Teams List Chat Messages

Retrieves messages (newest first) from an existing and accessible one-on-one chat, group chat, or channel thread, specified by chat_id.

Teams List People

Retrieves a list of people relevant to a specified user from Microsoft Graph, noting the search parameter is only effective if user_id is 'me'.

Teams Post Channel Message

Posts a new text or HTML message to a specified channel in a team.

Teams Post Chat Message

Sends a non-empty message (text or HTML) to a specified, existing chat; content must be valid HTML if content_type is 'html'.

Teams Post Message Reply

Sends a reply to an existing message, identified by message_id, within a specific channel_id of a given team_id in Microsoft Teams.

Unarchive Team

Tool to unarchive a team. Use when you need to restore an archived team to active state.

Update Channel Message

Tool to update a message in a channel. Use when you need to modify an existing channel message after confirming channel and message IDs.

Update Chat Message

Tool to update a specific message in a chat. Use when you need to correct or modify a sent chat message.

Update Team

Tool to update the properties of a team. Use when you need to modify team settings such as member, messaging, or fun settings.

How it works

Set up the automation in three simple steps, no code required.

  1. 1

    Connect Microsoft Teams to GAIA

    Open the GAIA Marketplace, find Microsoft Teams, and click "Add to your GAIA". Authorise via Microsoft OAuth, which takes under two minutes.

  2. 2

    Tell GAIA what to send or find

    Say "post a message in the Engineering channel saying the deployment is complete" or "summarise what was discussed in the Product channel today". GAIA handles the Teams API.

  3. 3

    GAIA becomes your Teams automation layer

    Connect Teams with GitHub, Linear, or other tools: GAIA can automatically post PR notifications, issue updates, or daily briefings to the right Teams channel.

Frequently asked questions

Everything you need to know about connecting it to GAIA.

Yes, as long as the connected Microsoft account has access to the private channel. GAIA posts with the permissions of the authorised account.

GAIA connects this integration with your entire stack

This integration is just one piece of the puzzle. GAIA integrates with the rest of your tools across communication, communication, productivity, and more, letting you build cross-tool automations in plain English without writing a single line of code.

Browse all integrations

Related integrations

Automate this integration with other tools

Step-by-step guides for connecting it to the tools you already use.

Guides in the docs