Send a message on Microsoft Teams by choosing the sending method: to user emails, to a chat, or to a channel. The sender of the message would be the authenticated user. Please note that this action is supported only for the delegated (OAuth) method.
External DocumentationTo learn more, visit the Microsoft Teams documentation.

Basic Parameters

ParameterDescription
Channel IDThe ID of the channel to send the message in.

Can be obtained by using the List Channels action.
Chat IDThe ID of the chat to send the message in.
Can be obtained by using the List Chats action.

Note: The dynamic dropdown is supported only for OAuth (delegated) connections.
MessageThe message to be sent.
Send ToChoose the message’s destination.
SubjectThe subject of the message.
Team IDThe ID of the team.

Can be obtained by using the List All Teams action.
User EmailsList of users to send the message to in a group chat.

Advanced Parameters

ParameterDescription
AttachmentsA comma-separated list of attachment URLs to add to the message.

Note: Only URLs pointing to files uploaded via SharePoint are allowed. Use the SharePoint Upload File action to upload a file.
ImagesA comma-separated list of image file identifiers to include in the message.

Note: Only PNG and JPEG file types are supported.

Example Output

{
	"@odata.context": "<string>",
	"id": "<string>",
	"replyToId": null,
	"etag": "<string>",
	"messageType": "<string>",
	"createdDateTime": "2023-07-26T05:58:35",
	"lastModifiedDateTime": "2022-01-21T13:33:52",
	"lastEditedDateTime": null,
	"deletedDateTime": null,
	"subject": null,
	"summary": null,
	"chatId": null,
	"importance": "<string>",
	"locale": "<string>",
	"webUrl": "<string>",
	"policyViolation": null,
	"eventDetail": null,
	"from": {
		"application": null,
		"device": null,
		"user": {
			"@odata.type": "<string>",
			"id": "<string>",
			"displayName": "<string>",
			"userIdentityType": "<string>",
			"tenantId": "<string>"
		}
	},
	"body": {
		"contentType": "<string>",
		"content": "<string>"
	},
	"channelIdentity": {
		"teamId": "<string>",
		"channelId": "<string>"
	},
	"attachments": [],
	"mentions": [],
	"reactions": []
}

Workflow Library Example

Send Message Via Teams User with Microsoft Teams and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop