Send channel message action

The Send channel message action in the Microsoft Teams package enables you to automatically send a message to a specific channel within a Microsoft Teams team. This enables your automation to post updates, notifications, or information directly to a channel, making it visible to all members of that channel.

Settings

  • Use the Session name field to select one of the following options:
    • Session name: Enter the name of the session you used in the Connect action.

      (Optional) Click the Insert a value icon to select an existing variable that you have used to store the Microsoft Teams session name.

    • Variable: Enter the name of the variable that you have used to store the session name.
  • Use the Team field, to specify the Microsoft Team where the message will be posted.​ Use one of the following options:
    • Team name: Specify the name of the recipient's team.
    • Team ID: Specify the Team ID. To retrive the Team ID, see Get team by name action
  • Use the Channel field, to specify the Channel where the message will be posted. Use one of the following options:
    • Channel name: Specify the Channel name inside a specific team.
    • Channel ID: Specify the unique ID of the Channel. To retrieve the Channel ID, see Get channel by name action
  • In the Message field, enter the content you want to send to the channel. You can input plain text or use a string variable.

    For example, you might send this message to a Microsoft Teams channel: Microsoft Teams integration will be unavailable on Sept 14.

  • In the Assign message ID to variable field, store the unique message ID of the sent message in a variable.