Send Message

teams.send_message
ActionChat & messagingconnection required

Calls Graph POST /teams/{team}/channels/{channel}/messages with the connection's token.

Post a message to a Microsoft Teams channel via Microsoft Graph.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Microsoft Teams
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
tenant
Resolved by
config.connection_id, else node.connection_id

Configuration

5 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
team_id
The team (group) id.
stringYes———
channel_id
The channel id (19:...@thread.tacv2).
stringYes———
message
Message content. Supports {{ }} expressions.
stringYes———
content_type
html or text.
stringNo—one of "html", "text"—
reply_to_message_id
Reply inside this message's thread instead of starting a new one. Use teams.list_messages to find it.
stringNo———

Output

One shape.

sent

FieldTypeExample
ok
booleantrue
message_id
Id of the posted message.
string—
web_url
Deep link to the message in Teams.
string—
{
  "message_id": "",
  "ok": true,
  "web_url": ""
}

Notes

  • Needs a delegated ChannelMessage.Send permission on the Azure AD app; the team/channel ids come from the channel's ••• → Get link to channel.

See Send Message run in a workflow.

In a technical demo we add the Microsoft Teams connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.