Microsoft Teams icon

Microsoft Teams

Consume Microsoft Teams API

Actions15

Channel Message (Beta) → Create

AI-generated

Summary

Send a message to a specified Microsoft Teams channel within a selected team, optionally as a reply to an existing message, optionally appending a link to the workflow.

Inputs

  • Team Name or ID (required) — Select the target Team from a loaded list or specify its ID via expression.
  • Channel Name or ID — Select the target Channel from a loaded list dependent on the selected Team or specify its ID via expression.
  • Message Type (required) — Specify the format of the message content; either plain text or HTML.
  • Message (required) — The content to post to the channel.
  • Options — Optional configuration including appending a workflow link and specifying a message ID to reply to.

Output shape

A single message record representing the created channel message.

Returned data matches the Microsoft Graph API response for posting a message to a channel. The message includes content and metadata. The operation uses the Microsoft Graph beta API endpoints.

Examples

Example 1: Create a plain text message in a specific channel

Provide the Team ID, Channel ID, set Message Type to 'Text', enter the message content, and enable or disable the inclusion of a workflow link.

Example 2: Post an HTML message as a reply

Specify Team and Channel, set Message Type to 'HTML', enter HTML message content, and provide the ID of the message to reply to in Options.

Links

Discussion