Skip to content

Microsoft Teams

Microsoft Teams is a collaboration platform that combines workplace chat, video meetings, file storage, and application integration.

Categories: communication

Type: microsoftTeams/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeControl TypeDescriptionRequired
clientIdClient IdSTRINGTEXTtrue
clientSecretClient SecretSTRINGTEXTtrue
tenantIdTenant IdSTRINGTEXTtrue

Actions

Create Channel

Name: createChannel

Creates a new channel within a team.

Properties

NameLabelTypeControl TypeDescriptionRequired
teamIdTeam IDSTRINGSELECTID of the team where the channel will be created.true
displayNameChannel NameSTRINGTEXTtrue
descriptionDescriptionSTRINGTEXTDescription for the channel.false

Output

Type: OBJECT

Properties

NameTypeControl Type
idSTRINGTEXT
displayNameSTRINGTEXT
descriptionSTRINGTEXT

JSON Example

{
"label" : "Create Channel",
"name" : "createChannel",
"parameters" : {
"teamId" : "",
"displayName" : "",
"description" : ""
},
"type" : "microsoftTeams/v1/createChannel"
}

Send Channel Message

Name: sendChannelMessage

Sends a message to a channel.

Properties

NameLabelTypeControl TypeDescriptionRequired
teamIdTeam IDSTRINGSELECTID of the team where the channel is located.true
channelIdChannel IDSTRING
Depends On teamId
SELECTChannel to send message to.true
contentTypeMessage Text FormatSTRING
Options text, html
SELECTtrue
contentMessage TextSTRINGTEXT_AREAtrue

Output

Type: OBJECT

Properties

NameTypeControl Type
idSTRINGTEXT
bodyOBJECT
Properties {STRING(contentType), STRING(content)}
OBJECT_BUILDER
channelIdentityOBJECT
Properties {STRING(teamId), STRING(channelId)}
OBJECT_BUILDER

JSON Example

{
"label" : "Send Channel Message",
"name" : "sendChannelMessage",
"parameters" : {
"teamId" : "",
"channelId" : "",
"contentType" : "",
"content" : ""
},
"type" : "microsoftTeams/v1/sendChannelMessage"
}

Send Chat Message

Name: sendChatMessage

Sends a message in an existing chat.

Properties

NameLabelTypeControl TypeDescriptionRequired
chatIdChat IDSTRINGSELECTtrue
contentTypeMessage Text FormatSTRING
Options text, html
SELECTtrue
contentMessage TextSTRINGTEXT_AREAtrue

Output

Type: OBJECT

Properties

NameTypeControl Type
idSTRINGTEXT
chatIdSTRINGTEXT
bodyOBJECT
Properties {STRING(contentType), STRING(content)}
OBJECT_BUILDER

JSON Example

{
"label" : "Send Chat Message",
"name" : "sendChatMessage",
"parameters" : {
"chatId" : "",
"contentType" : "",
"content" : ""
},
"type" : "microsoftTeams/v1/sendChatMessage"
}