Microsoft 365 Teams
Description
Section titled “Description”This module integrates Microsoft Teams via Microsoft Graph API. Available operations:
- List teams: Gets all teams the user belongs to.
- List channels: Lists channels of a specific team including membership type and channel email.
- Send channel message: Sends a text or HTML message to a Teams channel.
- List channel messages: Gets recent messages from a channel with sender information, date and attachments.
- List chats: Lists user chats (1:1, group, meeting) with expanded members.
- Send chat message: Sends a direct message in a 1:1 or group chat.
- Create meeting: Creates a Teams meeting (with video conference link) via Calendar API.
- Get team info: Gets details of a specific team.
- List members: Lists team members with roles.
Configuration
Section titled “Configuration”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Configured Microsoft OAuth account |
| operation | select | Yes | Operation to perform |
Sub-node List Channels / List Messages / Send Message
Section titled “Sub-node List Channels / List Messages / Send Message”| Parameter | Type | Required | Description |
|---|---|---|---|
| teamId | string | Yes | Team ID |
| channelId | string | Yes (messages) | Channel ID |
| message | textarea | Yes (send) | Message content |
| isHtml | string | No | Message is HTML (default: false) |
| top | string | No | Maximum messages (default: 20) |
Sub-node Create Meeting
Section titled “Sub-node Create Meeting”| Parameter | Type | Required | Description |
|---|---|---|---|
| subject | string | Yes | Meeting title |
| startDateTime | string | Yes | Start date/time (ISO 8601) |
| endDateTime | string | Yes | End date/time (ISO 8601) |
| attendees | string | No | Participant emails separated by comma |
Sub-node Send Chat Message
Section titled “Sub-node Send Chat Message”| Parameter | Type | Required | Description |
|---|---|---|---|
| chatId | string | Yes | Chat ID |
| message | textarea | Yes | Message content |
Credentials
Section titled “Credentials”Requires Microsoft OAuth2 type credentials with:
- Scopes: Team.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Send, Chat.ReadWrite
- The module manages token refresh automatically
Output
Section titled “Output”{ "nextModule": "siguiente_modulo", "data": { "meeting": { "id": "AAMkAD...", "subject": "Reunion de proyecto", "start": "2026-03-25T10:00:00", "end": "2026-03-25T11:00:00", "webLink": "https://outlook.office365.com/...", "joinUrl": "https://teams.microsoft.com/l/meetup-join/...", "conferenceId": "123456789", "createdDateTime": "2026-03-23T10:00:00Z" } }, "_meta_": { "operation": "createTeamsMeeting", "microsoftService": "teams" }}Usage Example
Section titled “Usage Example”Basic case - Send message to channel
Section titled “Basic case - Send message to channel”{ "credentials_id": "mi-cuenta-ms365", "operation": "sendChannelMessage", "teamId": "team-uuid-123", "channelId": "channel-uuid-456", "message": "Nuevo despliegue completado exitosamente."}API Used
Section titled “API Used”- Microsoft Graph API - Teams endpoints (
/teams,/teams/{id}/channels,/chats) - Microsoft Graph API - Calendar endpoints (for creating meetings with Teams link)
- Meetings are created as calendar events with
isOnlineMeeting: trueandonlineMeetingProvider: teamsForBusiness - The meeting link (
joinUrl) is automatically included in the response - Chats return type: oneOnOne, group or meeting
- Attendees can be passed as a comma-separated string or as an array
Related Nodes
Section titled “Related Nodes”- MS365 Calendar - Microsoft 365 Calendar
- MS365 Outlook - Email with Outlook
- MS365 OneDrive - Files in OneDrive