Microsoft Teams
The Microsoft Teams package provides comprehensive automation capabilities for Microsoft Teams, enabling you to create teams, manage channels, send messages, and interact with chats programmatically.
Overview
The Microsoft Teams package allows you to:
- Connect to Microsoft Teams using OAuth2 authentication
- Create and manage teams and channels
- Send messages to channels and chats
- Retrieve messages and chat information
- List teams, channels, and chats
- Manage chat members
Authentication
The package supports two authentication methods:
- Connect Node - Use the Connect node to establish a session that can be reused across multiple nodes
- Direct Credentials - Pass OAuth2 credentials directly to individual nodes without using Connect
OAuth2 Credentials Format
To use Microsoft Teams automation, you need to create OAuth2 credentials in your vault with the following structure:
{
"client_id": "your_client_id",
"client_secret": "your_client_secret",
"tenant_id": "common"
}
The package automatically handles:
- OAuth2 authorization flow
- Token refresh when expired
- Token storage in vault
Required Microsoft Graph Permissions
Your Azure AD application needs the following permissions:
Team.ReadBasic.All- Read basic team informationChannel.ReadBasic.All- Read basic channel informationChat.ReadWrite- Read and write chat messagesChannelMessage.Send- Send messages to channelsoffline_access- Maintain access to data
Common Use Cases
Team Communication Automation
- Send automated notifications to teams and channels
- Monitor and respond to chat messages
- Create channels for projects or events
Team Management
- Automatically create teams for new projects
- Organize channels based on workflow
- Archive or delete channels when projects complete
Integration & Reporting
- Post status updates from external systems
- Send alerts and notifications
- Retrieve messages for analysis and reporting
Available Nodes
📄️ Connect
Robomotion.MicrosoftTeams.Connect
📄️ Create Channel
Robomotion.MicrosoftTeams.CreateChannel
📄️ Create Team
Robomotion.MicrosoftTeams.CreateTeam
📄️ Delete Channel
Robomotion.MicrosoftTeams.DeleteChannel
📄️ Disconnect
Robomotion.MicrosoftTeams.Disconnect
📄️ Get Channel
Robomotion.MicrosoftTeams.GetChannel
📄️ Get Chat Members
Robomotion.MicrosoftTeams.GetChatMembers
📄️ Get Chat
Robomotion.MicrosoftTeams.GetChat
📄️ Get Chats
Robomotion.MicrosoftTeams.ListChats
📄️ Get Messages
Robomotion.MicrosoftTeams.GetMessages
📄️ Get Team
Robomotion.MicrosoftTeams.GetTeam
📄️ List Channels
Robomotion.MicrosoftTeams.ListChannels
📄️ List Teams
Robomotion.MicrosoftTeams.ListTeams
📄️ Send Message
Robomotion.MicrosoftTeams.SendMessage
📄️ Update Channel
Robomotion.MicrosoftTeams.UpdateChannel