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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
team_id The team (group) id. | string | Yes | — | — | — |
channel_id The channel id (19:...@thread.tacv2). | string | Yes | — | — | — |
message Message content. Supports {{ }} expressions. | string | Yes | — | — | — |
content_type html or text. | string | No | — | 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. | string | No | — | — | — |
Output
One shape.
sent
| Field | Type | Example |
|---|---|---|
ok | boolean | true |
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.
Related Microsoft Teams nodes
Templates that use Microsoft Teams
Solutions with Microsoft Teams
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.