Microsoft Teams
Read, write, and create messages
Configuration
Read Chat Messages
Operation
Read Chat Messages
Microsoft Account*
Select Microsoft account
Select Chat
Select a chat
Chat ID
Enter chat ID
Read Chat Messages (
microsoft_teams_read_chat)Read content from a Microsoft Teams chat
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
chatId | string | Yes | The ID of the chat to read from |
includeAttachments | boolean | No | Download and include message attachments (hosted contents) into storage |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Teams chat read operation success status |
messageCount | number | Number of messages retrieved from chat |
chatId | string | ID of the chat that was read from |
messages | array | Array of chat message objects |
attachmentCount | number | Total number of attachments found |
attachmentTypes | array | Types of attachments found |
content | string | Formatted content of chat messages |
Write Chat Message
Operation
Write Chat Message
Microsoft Account*
Select Microsoft account
Select Chat
Select a chat
Chat ID
Enter chat ID
Message*
Enter message content
Attachments
Upload files to attach
File Attachments
Reference files from previous blocks
Write Chat Message (
microsoft_teams_write_chat)Write or update content in a Microsoft Teams chat
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
chatId | string | Yes | The ID of the chat to write to |
content | string | Yes | The content to write to the message |
files | file[] | No | Files to attach to the message |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Teams chat message send success status |
messageId | string | Unique identifier for the sent message |
chatId | string | ID of the chat where message was sent |
createdTime | string | Timestamp when message was created |
url | string | Web URL to the message |
Read Channel Messages
Operation
Read Channel Messages
Microsoft Account*
Select Microsoft account
Select Team
Select a team
Team ID
Enter team ID
Select Channel
Select a channel
Channel ID
Enter channel ID
Read Channel Messages (
microsoft_teams_read_channel)Read content from a Microsoft Teams channel
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | The ID of the team to read from |
channelId | string | Yes | The ID of the channel to read from |
includeAttachments | boolean | No | Download and include message attachments (hosted contents) into storage |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Teams channel read operation success status |
messageCount | number | Number of messages retrieved from channel |
teamId | string | ID of the team that was read from |
channelId | string | ID of the channel that was read from |
messages | array | Array of channel message objects |
attachmentCount | number | Total number of attachments found |
attachmentTypes | array | Types of attachments found |
content | string | Formatted content of channel messages |
Write Channel Message
Operation
Write Channel Message
Microsoft Account*
Select Microsoft account
Select Team
Select a team
Team ID
Enter team ID
Select Channel
Select a channel
Channel ID
Enter channel ID
Message*
Enter message content
Attachments
Upload files to attach
File Attachments
Reference files from previous blocks
Write Channel Message (
microsoft_teams_write_channel)Write or send a message to a Microsoft Teams channel
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | The ID of the team to write to |
channelId | string | Yes | The ID of the channel to write to |
content | string | Yes | The content to write to the channel |
files | file[] | No | Files to attach to the message |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Teams channel message send success status |
messageId | string | Unique identifier for the sent message |
teamId | string | ID of the team where message was sent |
channelId | string | ID of the channel where message was sent |
createdTime | string | Timestamp when message was created |
url | string | Web URL to the message |
Usage Instructions
Integrate Microsoft Teams into the workflow. Can read and write chat messages, and read and write channel messages. Can be used in trigger mode to trigger a workflow when a message is sent to a chat or channel.
Notes
- Category:
tools - Type:
microsoft_teams