Skip to main content

Teams Message action

Posts a message to a Microsoft Teams channel through the connection's bot. In the action picker it is Teams Message, under Integration Actions.

A Teams Message to the Newsroom team's General channel, its message holding the headline and deck

Fields​

FieldRequiredDescription
ConnectionYesThe Microsoft Teams connection to post through.
TeamYesThe team to post to, chosen from a picker. Limited to the connection's allowed teams when it curates a subset.
ChannelYesThe channel within the selected team, chosen from a picker that fills itself once a team is picked.
MessageNoThe message, as rich text. Accepts variables, and is delivered as an Adaptive Card.
Test Recipient OverrideNoOn the Advanced tab. During a dry run, this step posts to a test team and channel instead of the real destination.

Picking the recipient​

Pick a team, then a channel within it. You choose display names, never raw ids, and both lists come from the connection. When an administrator has curated a subset of allowed teams on the connection, the team list is that subset. The pickers stay empty, with a note saying so, until an administrator has granted the connection's Microsoft Graph consent.

note

Unlike Slack, the recipient is picker-only. The channel can't come from a variable, the action can't message a person directly, and only standard channels are offered, not private or shared ones.

Composing the message​

The Message field is a rich-text editor offering only the formatting an Adaptive Card can render: bold, italic, links, and bulleted and numbered lists. Underline, strikethrough, superscript, subscript, headings, tables and inline code are absent because Teams shows their markup as literal characters rather than as formatting.

Links come from the Elements dropdown rather than a toolbar button, and take an external URL only. A link to CMS content would not resolve for whoever reads the message in Teams. Content pasted from another editor keeps its text and loses only the styling Teams cannot show.

Output​

FieldDescription
channelThe channel id the message was posted to.
conversationIdThe conversation the message was posted into.
activityIdThe id of the created message.

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.