Microsoft Teams
App · Messaging · 10 actions
Send messages in Microsoft Teams chats and channels, schedule meetings, and manage teams and members.
Actions
| Action | What it does |
|---|---|
| Add member to team | Add a member to a Teams team. |
| Create channel | Create a new channel in a Teams team. |
| Get IDs from a Teams link | Get the team, channel, and organization (tenant) IDs from a Microsoft Teams link. |
| List joined teams | List all Teams the current user has joined. |
| List team channels | List channels in a Teams team. |
| List user chats | List chats for a user. |
| Schedule meeting | Schedule a Teams meeting. |
| Search team members | Search for members of a Teams team by name. |
| Send channel message | Send a message to a Teams channel. |
| Send chat message | Send a message to a Teams chat. |
Add member to team
Add a member to a Teams team.
Inputs
- Team ID
ms_team_idtextRequired - The ID of the team. You can find it with the List joined teams or Get IDs from a Teams link actions.
- User ID or email
ms_user_idtextRequired - The user ID or email address of the person to add. You can find the ID with the Search team members action, or simply enter their email address.
- Role
roletext - Optional role for the member (e.g., owner).
Outputs
ms_team_idtext- The team ID.
ms_user_idtext- The user ID.
resultobject- The member result.
statustext- Operation status.
Example output
{
"ms_team_id": "team123",
"ms_user_id": "user123",
"result": {},
"status": "success"
}Create channel
Create a new channel in a Teams team.
Inputs
- Team ID
ms_team_idtextRequired - The ID of the team. You can find it with the List joined teams or Get IDs from a Teams link actions.
- Channel name
display_nametextRequired - The name for the new channel.
- Description
descriptiontext - Optional description for the channel.
Outputs
channel_idtext- The created channel ID. Use as channel_id in send_channel_message.
ms_team_idtext- The team ID.
resultobject- The created channel.
statustext- Operation status.
Example output
{
"channel_id": "channel123",
"ms_team_id": "team123",
"result": {},
"status": "success"
}Get IDs from a Teams link
Get the team, channel, and organization (tenant) IDs from a Microsoft Teams link.
Inputs
- Link
linktextRequired - A Microsoft Teams URL (team or channel link).
Outputs
channel_idtext- The channel ID extracted from the link, if present. Use as channel_id in send_channel_message.
ms_team_idtext- The team (group) ID extracted from the link. Use as ms_team_id in other Teams actions.
statustext- Operation status.
tenant_idtext- The tenant ID extracted from the link, if present.
Example output
{
"channel_id": "19:abc123@thread.tacv2",
"ms_team_id": "72602e12-78ac-474c-99d6-f619710353a9",
"status": "success",
"tenant_id": "aaaabbbb-0000-cccc-1111-dddd2222eeee"
}List joined teams
List all Teams the current user has joined.
Inputs
- Maximum results
topnumber - Optional maximum number of teams to return.
Outputs
statustext- Operation status.
team_countnumber- Number of teams.
teamslist- List of teams.
Example output
{
"status": "success",
"team_count": 1,
"teams": [
{
"description": "Engineering team",
"displayName": "Engineering",
"id": "72602e12-78ac-474c-99d6-f619710353a9"
}
]
}List team channels
List channels in a Teams team.
Inputs
- Team ID
ms_team_idtextRequired - The ID of the team. You can find it with the List joined teams or Get IDs from a Teams link actions.
- Maximum results
topnumber - Optional maximum number of channels to return.
Outputs
channel_countnumber- Number of channels.
channelslist- List of channels.
ms_team_idtext- The team ID.
statustext- Operation status.
Example output
{
"channel_count": 1,
"channels": [
{
"description": "General discussion",
"displayName": "General",
"id": "19:general@thread.tacv2"
}
],
"ms_team_id": "team123",
"status": "success"
}List user chats
List chats for a user.
Inputs
- User ID
ms_user_idtext - The user ID. Defaults to 'me', the signed-in user.Default:
me.
Outputs
chat_countnumber- Number of chats.
chatslist- List of chats.
ms_user_idtext- The user ID.
statustext- Operation status.
Example output
{
"chat_count": 1,
"chats": [
{
"chatType": "group",
"id": "19:abc123@thread.v2",
"topic": "Project Discussion"
}
],
"ms_user_id": "me",
"status": "success"
}Schedule meeting
Schedule a Teams meeting.
Inputs
- Organizer ID
organizer_idtext - The organizer's user ID. Defaults to 'me', the signed-in user.Default:
me. - Subject
subjecttextRequired - The meeting subject.
- Start date and time
start_datetimedate and timeRequired - When the meeting starts, for example 2026-07-15T09:00:00.
- End date and time
end_datetimedate and timeRequired - When the meeting ends, for example 2026-07-15T10:00:00.
- Timezone
timezonetextRequired - Time zone for the meeting (e.g., 'America/New_York').
- Attendees
attendeeslistRequired - List of attendee email addresses.
Outputs
meeting_idtext- The created event ID.
organizer_idtext- The organizer user ID.
resultobject- The created event.
statustext- Operation status.
Example output
{
"meeting_id": "event123",
"organizer_id": "me",
"result": {},
"status": "success"
}Search team members
Search for members of a Teams team by name.
Inputs
- Team ID
ms_team_idtextRequired - The ID of the team. You can find it with the List joined teams or Get IDs from a Teams link actions.
- Name to search for
querytextRequired - The person's name to search for. Matches any part of the name and ignores capitalization.
- Maximum results
topnumber - Optional maximum number of results to return.
Outputs
member_countnumber- Number of matching members.
memberslist- List of matching members.
ms_team_idtext- The team ID.
statustext- Operation status.
Example output
{
"member_count": 1,
"members": [
{
"displayName": "John Doe",
"email": "john@contoso.com",
"id": "user123"
}
],
"ms_team_id": "team123",
"status": "success"
}Send channel message
Send a message to a Teams channel.
Inputs
- Team ID
ms_team_idtextRequired - The ID of the team. You can find it with the List joined teams or Get IDs from a Teams link actions.
- Channel ID
channel_idtextRequired - The ID of the channel. You can find it with the List team channels, Get IDs from a Teams link, or Create channel actions.
- Message
messagetextRequired - The message content.
Outputs
channel_idtext- The channel ID.
ms_team_idtext- The team ID.
resultobject- The sent message.
statustext- Operation status.
Example output
{
"channel_id": "channel123",
"ms_team_id": "team123",
"result": {},
"status": "success"
}Send chat message
Send a message to a Teams chat.
Inputs
- Chat ID
chat_idtextRequired - The ID of the chat. You can find it with the List user chats action.
- Message
messagetextRequired - The message content.
- Subject
subjecttext - Optional message subject.
Outputs
chat_idtext- The chat ID.
resultobject- The sent message.
statustext- Operation status.
Example output
{
"chat_id": "chat123",
"result": {},
"status": "success"
}