Microsoft Teams Bot icon

Microsoft Teams Bot

Send messages and cards via Microsoft Teams Bot

Message → Send

AI-generated

Summary

Send a Teams message to a channel or to a user in a direct chat. The node sends messages through the Bot Framework; the advanced Graph API channel option can route channel messages through Microsoft Graph when the required permissions are available.

Inputs

  • Message (required) — Text to send. Choose plain text, Markdown, or HTML/XML formatting in Options.
  • Recipient Type (required) — Choose Channel or Chat (Direct Message).
  • Team ID (required) — For channel messages, the ID of the team containing the channel.
  • Channel ID (required) — For channel messages, the ID of the destination channel.
  • User ID (required) — For direct messages, the recipient's ID or email address.
  • Options — Optional settings include message format, importance, sensitivity hint, mention entities, attachments, hosted contents, and selecting a team member to mention. The advanced Graph API channel option sends channel messages through Graph instead of Bot Framework and requires RSC/application permissions.

Output shape

A single item containing the send response.

The response is parsed into an object if the API returns JSON as a string; an unparseable string is wrapped in an object. Channel sends use Bot Framework by default, while the Graph API option applies only to channel sends.

Links

Discussion