Skip to content

Send Teams Message ​

Sends a message to a Microsoft Teams recipient — a direct user, a team channel, or a group chat — using a configured Microsoft 365 service account.

Purpose ​

Use this task to deliver automated notifications or communications via Microsoft Teams from within a workflow. The message type determines the target: a single user by email, a named channel within a team, or a multi-user group chat. Messages can be sent as plain HTML text or as a structured Adaptive Card for richer formatting. A valid Microsoft 365 linked account must be configured on the task.

Inputs ​

FieldTypeRequiredDescription
Message TypeDropdownYesThe recipient type: User (direct message), Channel (team channel), or Group Chat (multiple users).
Users EmailTextNoEmail address of the recipient. Visible when Message Type is User.
Team NameTextNoDisplay name of the team containing the target channel. Visible when Message Type is Channel.
Channel NameTextNoDisplay name of the channel within the team. Visible when Message Type is Channel.
User EmailsTextNoComma or semicolon-separated list of email addresses for the group chat. Visible when Message Type is Group Chat.
Chat TopicTextNoOptional name or topic for the group chat. Visible when Message Type is Group Chat.
MessageMulti-line TextYesThe message content to send. HTML formatting is supported.
Pass Message as Adaptive Card JSONCheckboxNoIf checked, the message is interpreted as Adaptive Card JSON and rendered accordingly in Teams.

Visibility Rules ​

Message Type, Message, and Pass Message as Adaptive Card JSON are always visible. The recipient fields (Users Email, Team Name, Channel Name, User Emails, Chat Topic) are shown only for their respective Message Type value.

Outputs ​

This task performs an action and does not produce output variables.

Tentech