Microsoft Teams connector
Create, update, and send a message to your Microsoft Teams
Required inputs
| Key | Label | Type |
|---|---|---|
authType | Type | string |
authentication.token | Bearer token | secret |
authentication.token | Refresh token | secret |
authentication.clientId | Client ID | FEEL expression |
authentication.tenantId | Tenant ID | FEEL expression |
authentication.clientSecret | Client secret | secret |
operationType | Conversation type | string |
tokenAuthTypeChatMethod | Method | secret |
clientCredentialsChatMethod | Method | secret |
tokenAuthChannelMethod | Method | secret |
credentialsAuthChannelMethod | Method | secret |
data.chatType | Chat type | string |
data.members | Members | FEEL expression |
data.chatId | Chat ID | FEEL expression |
data.content | Content | FEEL expression |
data.messageId | Message ID | FEEL expression |
data.groupId | Group ID | FEEL expression |
data.channelId | Channel ID | FEEL expression |
data.name | Display name | FEEL expression |
channelType | Channel membership type | string |
data.owner | Owner | FEEL expression |
data.content | Content | FEEL expression |
data.messageId | Message ID | FEEL expression |
Optional inputs
| Key | Label | Type |
|---|---|---|
data.topic | Topic | FEEL expression |
data.expand | Expand response | string |
data.top | Top | FEEL expression |
data.orderBy | Order by | string |
data.filter | Filter | FEEL expression |
data.description | Description | FEEL expression |
data.filter | Filter | FEEL expression |
data.bodyType | Content type | string |
data.top | Top | FEEL expression |
data.isExpand | With replies | string |
resultVariable | Result variable | FEEL expression |
resultExpression | Result expression | FEEL expression |
errorExpression | Error expression | FEEL expression |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.MSTeams.v1", {
"authType": "token",
"authentication.token": "<your bearer token>",
"authentication.token": "<your refresh token>",
"authentication.clientId": "= ...",
"authentication.tenantId": "= ...",
"authentication.clientSecret": "<your client secret>",
"operationType": "chat",
"tokenAuthTypeChatMethod": "<your method>",
"clientCredentialsChatMethod": "<your method>",
"tokenAuthChannelMethod": "<your method>",
"credentialsAuthChannelMethod": "<your method>",
"data.chatType": "one_on_one",
"data.members": "= ...",
"data.chatId": "= ...",
"data.content": "= ...",
"data.messageId": "= ...",
"data.groupId": "= ...",
"data.channelId": "= ...",
"data.name": "= ...",
"channelType": "standard",
"data.owner": "= ...",
"data.content": "= ...",
"data.messageId": "= ...",
"data.topic": "= ...",
"data.expand": "withoutExpand",
})