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
Secrets
Required secrets:microsoft_teams_oauth: OAuth tokenMICROSOFT_TEAMS_USER_TOKEN.
Input fields
The display name for the channel.
The ID of the team.
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.Description for the channel.Default:
null.Whether to create a private channel (requires members).Default:
false.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
The ID of the channel.
The ID of the team.
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
The ID of the channel.
The ID of the team.
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.Whether to expand replies for each message.Default:
false.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
Secrets
Required secrets:microsoft_teams_oauth: OAuth tokenMICROSOFT_TEAMS_USER_TOKEN.
Input fields
List of Adaptive Card elements.
The ID of the channel.
The ID of the team.
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.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
Secrets
Required secrets:microsoft_teams_oauth: OAuth tokenMICROSOFT_TEAMS_USER_TOKEN.
Input fields
The ID of the channel.
The reply message to send.
The ID of the message to reply to.
The ID of the team.
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.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
Secrets
Required secrets:microsoft_teams_oauth: OAuth tokenMICROSOFT_TEAMS_USER_TOKEN.
Input fields
The ID of the channel.
The message to send.
The ID of the team.
Base URL for the Microsoft Graph API.Default:
"https://graph.microsoft.com".Allowed values: https://graph.microsoft.com, https://graph.microsoft.us.