Skip to content

Microsoft 365 Teams

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.
ParameterTypeRequiredDescription
credentials_idcredentialsYesConfigured Microsoft OAuth account
operationselectYesOperation to perform

Sub-node List Channels / List Messages / Send Message

Section titled “Sub-node List Channels / List Messages / Send Message”
ParameterTypeRequiredDescription
teamIdstringYesTeam ID
channelIdstringYes (messages)Channel ID
messagetextareaYes (send)Message content
isHtmlstringNoMessage is HTML (default: false)
topstringNoMaximum messages (default: 20)
ParameterTypeRequiredDescription
subjectstringYesMeeting title
startDateTimestringYesStart date/time (ISO 8601)
endDateTimestringYesEnd date/time (ISO 8601)
attendeesstringNoParticipant emails separated by comma
ParameterTypeRequiredDescription
chatIdstringYesChat ID
messagetextareaYesMessage content

Requires Microsoft OAuth2 type credentials with:

  • Scopes: Team.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Send, Chat.ReadWrite
  • The module manages token refresh automatically
{
"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" }
}
{
"credentials_id": "mi-cuenta-ms365",
"operation": "sendChannelMessage",
"teamId": "team-uuid-123",
"channelId": "channel-uuid-456",
"message": "Nuevo despliegue completado exitosamente."
}
  • 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: true and onlineMeetingProvider: 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