Microsoft Teams

Microsoft Teams is a communication and collaboration platform that combines workplace chat, video meetings, file storage, and application integration.

Triggers

  • New Message in Channel: Triggers when a new message is posted on the specified channel

Actions

  • Add Owner: Add a new owner to a specific team

  • Create Channel: Create a new channel

  • Create Group: Create a new group

  • Create Team: Create a new team

  • Create User: Create a new user

  • Delete Group: Delete a specific group

  • Delete User: Delete a specific user

  • Get Channel: Retrieve the details of a specific channel

  • Get Groups: Retrieve the list of groups

  • Get Team: Retrieve the details of a specific team

  • Get User: Retrieve the details of a specific user

  • List Your Teams: Retrieve the list of teams

  • Remove Owner: Remove the owner from a specific team

  • Send Message to Channel: Send a message to a specific channel in a team

  • Send Message to Chat: Send a message to a specific chat

Note:
  1. To embed a link in a message, use the HTML anchor tags (<a> and </a> tags). The HTML anchor tags are used to link from one page to another. The syntax to specify a link in a message is: <a href='URL'>Message</a>, where URL indicates the link’s destination and Message indicates the link text. Let’s say you want to make the message - Hello World work as a link to www.example.com. Here the code to be specified is <a href='https://www.example.com'>Hello World</a>.
  2. To mention a user in a message,
    • In the Action Configure window, select the Team and Channel on which you want to send a message.

    • Select HTML as the Message Format.

    • In the Mention User field, specify the ID of the user whom you want to mention in the message. For example, John Doe in the User1 field.

    • In the Message field, use @ symbol followed by the string user1 enclosed within the relevant HTML tags. If you mention a user in the User2 field, you will need to type the @ symbol followed by the string user2.

  3. To add an attachment in a message,

    • In the Action Configure window, select the Team and Channel on which you want to send a message.

    • Select HTML as the Message Format.

    • In the Attachments field, you will see the following input fields:

      • Attachment ID: Specify the attachment ID you want to add in the message. To get the attachment ID, you need to first use the SharePoint Online - Get File/Folder Details action to retrieve the details of the file/folder and then pass the eTag key available in the data of that action as an input for this field.
      • Attachment URL: Specify the attachment URL you want to add in the message. To get the attachment URL, you need to first use the SharePoint Online - Get File/Folder Details action to retrieve the details of the file/folder and then pass the attachmentURL key available in the data of that action as an input for this field.
      • Name: Specify the name of the attachment you want to add, in the message. To get the name, you need to first use the SharePoint Online - Get File/Folder Details action to retrieve the details of the file/folder and then pass the name key available in the data of that action as an input for this field.