Create Teams channel
Action ID:tools.microsoft_teams.create_channel
Create a new channel in a Microsoft Teams team. Can create either public (standard) or private channels.
Reference: https://learn.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-1.0
Secrets
Required secrets:microsoft_teams_oauth: OAuth tokenMICROSOFT_TEAMS_USER_TOKEN.
Input fields
string
required
The display name for the channel.
string
required
The ID of the team.
string
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.string | null
Description for the channel.Default:
null.boolean
Whether to create a private channel (requires members).Default:
false.array[string] | null
List of user IDs to add as owners (required for private channels).Default:
null.Delete Teams channel
Action ID:tools.microsoft_teams.delete_channel
Delete a channel from a Microsoft Teams team.
Reference: https://learn.microsoft.com/en-us/graph/api/channel-delete?view=graph-rest-beta&tabs=http
Secrets
Required secrets:microsoft_teams_oauth: OAuth tokenMICROSOFT_TEAMS_USER_TOKEN.
Input fields
string
required
The ID of the channel.
string
required
The ID of the team.
string
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.List channel messages
Action ID:tools.microsoft_teams.list_channel_messages
Retrieve the list of messages (without the replies) in a channel of a team.
Reference: https://learn.microsoft.com/en-us/graph/api/channel-list-messages?view=graph-rest-beta&tabs=python
Secrets
Required secrets:microsoft_teams_oauth: OAuth tokenMICROSOFT_TEAMS_USER_TOKEN.
Input fields
string
required
The ID of the channel.
string
required
The ID of the team.
string
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.boolean
Whether to expand replies for each message.Default:
false.integer | null
Number of messages to return per page (default 20, max 50).Default:
null.Send adaptive card
Action ID:tools.microsoft_teams.send_adaptive_card
Send a message with Adaptive Cards to a Microsoft Teams channel.
Reference: https://learn.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-1.0
Secrets
Required secrets:microsoft_teams_oauth: OAuth tokenMICROSOFT_TEAMS_USER_TOKEN.
Input fields
array[object]
required
List of Adaptive Card elements.
string
required
The ID of the channel.
string
required
The ID of the team.
string
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.string | null
Title for the card (appears as subject).Default:
null.Send replies to a Teams message
Action ID:tools.microsoft_teams.post_replies
Send a reply to a Microsoft Teams message.
Reference: https://learn.microsoft.com/en-us/graph/api/chatmessage-post-replies?view=graph-rest-1.0
Secrets
Required secrets:microsoft_teams_oauth: OAuth tokenMICROSOFT_TEAMS_USER_TOKEN.
Input fields
string
required
The ID of the channel.
string
required
The reply message to send.
string
required
The ID of the message to reply to.
string
required
The ID of the team.
string
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.string
The content type of the reply message.Default:
"html".Send Teams message
Action ID:tools.microsoft_teams.send_message
Send a message to a Microsoft Teams channel.
Reference: https://learn.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-1.0
Secrets
Required secrets:microsoft_teams_oauth: OAuth tokenMICROSOFT_TEAMS_USER_TOKEN.
Input fields
string
required
The ID of the channel.
string
required
The message to send.
string
required
The ID of the team.
string
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.