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

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue
tenantIdTenant IdSTRINGtrue

Actions

Create Channel

Name: createChannel

Creates a new channel within a team.

Properties

NameLabelTypeDescriptionRequired
teamIdTeam IDSTRINGID of the team where the channel will be created.true
displayNameChannel NameSTRINGtrue
descriptionDescriptionSTRINGDescription for the channel.false

Example JSON Structure

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

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the channel.
displayNameSTRINGName of the channel that will appear to the user in Microsoft Teams.
descriptionSTRINGDescription of the channel.

Output Example

{
"id" : "",
"displayName" : "",
"description" : ""
}

Send Channel Message

Name: sendChannelMessage

Sends a message to a channel.

Properties

NameLabelTypeDescriptionRequired
teamIdTeam IDSTRINGID of the team where the channel is located.true
channelIdChannel IDSTRING
Depends On teamId
Channel to send message to.true
contentTypeMessage Text FormatSTRING
Options text, html
true
contentMessage TextSTRINGtrue

Example JSON Structure

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

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the message.
bodyOBJECT
Properties {STRING(contentType), STRING(content)}
Plaintext/HTML representation of the content of the chat message.
channelIdentityOBJECT
Properties {STRING(teamId), STRING(channelId)}
Represents identity of the channel.

Output Example

{
"id" : "",
"body" : {
"contentType" : "",
"content" : ""
},
"channelIdentity" : {
"teamId" : "",
"channelId" : ""
}
}

Send Chat Message

Name: sendChatMessage

Sends a message in an existing chat.

Properties

NameLabelTypeDescriptionRequired
chatIdChat IDSTRINGtrue
contentTypeMessage Text FormatSTRING
Options text, html
true
contentMessage TextSTRINGtrue

Example JSON Structure

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

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the message.
chatIdSTRINGID of the chat.
bodyOBJECT
Properties {STRING(contentType), STRING(content)}
Plaintext/HTML representation of the content of the chat message.

Output Example

{
"id" : "",
"chatId" : "",
"body" : {
"contentType" : "",
"content" : ""
}
}