How to Send Teams Messages using Power Automate?

I will explain how to send teams messages using power automate in this Power Automate tutorial. I will show you how to send teams messages in Chats and Channels of Microsoft Teams using Power Automate.

In this tutorial, we are going to cover below examples:

  • Send teams messages using Power Automate.
  • Power Automate send teams message to an individual user.
  • Send teams message to multiple recipients using Power Automate.
  • Send a teams message to me in Power Automate.
  • How to send teams messages with links in Power Automate

To do the above example, we will use the SharePoint list ‘Post Team Message’, which contains the below column:

  • Title: Single Line of Text
  • Message: Multiple lines of Text
  • Recipients: Person
How to send teams message using power automate

Power Automate send teams message

Here we will see how to send a message to a Channel of Microsoft Teams using Power Automate.

Before creating the flow, set up your SharePoint list with the above columns.

Step 1: Log in to Power Automate, and select an Automated Cloud Flow in Power Automate

Power Automate sends teams a message

Provide the flow name, and select When an item is created action. Then click on Create.

Microsoft Power Automate sends teams a message

Now When an item is created, action is added to the flow page; provide the below information:

  • Site address: Select or Provide the SharePoint site address.
  • List name: Select the list from the dropdown.
Send Teams Messages using Power Automate

Step 2: Next, we will post a message on the Teams channel, so click on the +New step -> select the ‘Post message in a chat or channel‘ action. Then provide the below information:

  • Post as: Select the Post as User
  • Post in: Select the Post in as Channel
  • Team: Select the Team from the dropdown
  • Channel: Select the channel
  • Message: Select the message from the dynamic content
  • Subject: Select the Title from dynamic content.
Send Teams Messages using Power Automate

Step 3: To run the flow manually, add an item to the SharePoint list. The message is added to the Channel in Microsoft Teams using Power Automate.

How to Send Teams Messages using Power Automate

This is an example of sending teams messages using power automate.

Send teams message to individual user in Power Automate

Here we will see how to send teams message to the individual user using Power Automate.

We will use the above SharePoint list, so the flow will trigger when an item is created in this list. Then it will create a chart with user 3 and send a message to it.

Step 1: Create an Automated cloud flow. Then provide the flow name and select a trigger action as When an item is created. Then click on Create.

Send teams message to individual user in Power Automate

Provide the below information after adding the “When an item is created” flow action.

  • Site address: Select or Provide the SharePoint site address.
  • List name: Select the list from the dropdown.
Power automate send teams message to individual user

Step 2: Now we will create a Chart, so click on the +New step -> click on Create a chat action.

Then provide the below information:

  • Members to add: Select Recipient Email from dynamic content.
power automate send teams message to individual user

Step 3: now, we will post a message to the recipient. So, click on the +new step -> select the ‘Post message in a chat or channel‘ action. Then provide the below information:

  • Post as: Select the User from the dropdown.
  • Post in: Select the Group chat
  • Group chat: Select the Conversational id from the dynamic content
  • Message: Select Message from dynamic content.
Microsoft power automate send teams message to individual user

Step 4: Now test the flow manually, and create an item in the SharePoint list. You can see the message is sent to the user.

Send teams message to individual user in Power Automate

This is an example of sending teams message to individual user using Power Automate.

Send teams message to multiple recipients in Power Automate

Here we will see how to send teams’ messages to multiple recipients using Power Automate.

We will use the above SharePoint list, so the flow will trigger when an item is created in this list. Then it will create a chat for multiple recipients in Microsoft Teams, and we will send a message to it.

Step 1: Create an Automated cloud flow. Then provide the flow name and select a trigger action as When an item is created. Then click on Create.

How to send teams message to multiple recipients using Microsoft power automate

Now, When an item is created action is added to the flow. Then provide the below information.

  • Site address: Select or Provide the SharePoint site address.
  • List name: Select the list from the dropdown.
Power automate send teams message to multiple recipients

Step 2: Next, click on the +New step -> select Initialize variable action -> then provide the below information.

  • Name: Provide the name as Recipients
  • Type: Provide the type as array
power automate send teams message to multiple recipients

Step 3: Next, click on the +New step-> select Append to array variable action. Then provide the below information:

  • Name: Select the name from the dropdown.
  • Value: Select the Recipients email from the dynamic content. That will automatically add Apply to each action.
Microsoft power automate send teams message to multiple recipients

Step 4: Click the +New step -> select Join action. Then provide the below information:

  • From: Select the Recivents-variable from the dynamic content.
  • Join With: Here provide the comma ‘,’
Send teams message to multiple recipients in Power Automate

Step 5: Now we will create a chart, so click the +New step -> select Create a chat action. Then provide the below information:

  • Members to add: Here, provide the output of the join action.
  • Title: Select the Title from dynamic content.
Using power automate send teams message to multiple recipients

Step 6: Now, we will send a message, so click on the +New step -> select ‘Post message in a chat or channel‘ action. Then provide the below information.

  • Post as: Select Post as User
  • Post in: Select Post in the Group chat
  • Group chat: Select Conversational id from dynamic content
  • Message: Select Message from dynamic content
send teams message to multiple recipients using power automate

Step 7: Run the flow manually, and create an item in the SharePoint list. The group chat is created, and the message is sent to that group.

How to send teams message to multiple recipients using power automate

This example is sending teams messages to multiple recipients using Power Automate.

Power Automate send teams message to me

Here we will see how to send messages to me in Teams using Power Automate.

We will use the above SharePoint list, so when an item is created, the flow will trigger, sending a message to my teams’ id.

Step 1: Create an Automated cloud flow. Then provide the flow name and select a trigger action as When an item is created. Then click on Create.

Using power automate send teams message to myself

Now, When an item is created action is added to the flow. Then provide the below information.

  • Site address: Select or Provide the SharePoint site address.
  • List name: Select the list from the dropdown.
power automate send teams message to myself

Step 2: Now, we will post a message to the recipient. So, click on the +new step -> select ‘Post message in a chat or channel‘ action. Then provide the below information:

  • Post as: Select the User from the dropdown.
  • Post in: Select the Group chat
  • Group chat: Provide the custom value as 48:notes
  • Message: Select Message from dynamic content.
power automate send teams message to myself

Step 3: Test the flow manually, and create an item in the SharePoint list. You can see the message is sent to me in teams using Power Automate.

Microsoft power automate send teams message to myself

This is an example of “send teams message to myself” using Power Automate.

Power Automate send teams message with a link

Here we will see how to send team messages with a Microsoft Teams channel link using Power Automate.

For example, we will create an Instant cloud flow. The user will provide the link while manually triggering the flow and then post a message with a link to the Microsoft Teams channel using Power Automate.

Step 1: Create an Instant Cloud flow. Then provide the flow name -> select Manually trigger a flow. Click on Create.

Using Microsoft power automate send teams message with link

Now manually triggering a flow is added to the flow page. Expand and click on Add an Input -> select Text -> then rename the field as Link.

power automate send teams message with link

Step 2: After that, we will post a message, so click on the +New step -> select ‘Post message in a chat or channel‘ action. Then provide the below information:

  • Post as: Select the User from the dropdown.
  • Post in: Select the Channel
  • Team: Select the team from the dropdown
  • Channel: Select the Channel from the dropdown.
  • Message. Select this HTML tag ‘</>’ and then provide the below code:
<p><a href="@{triggerBody()['text']}">link</a></p>
Microsoft power automate send teams message with link

Step 3: Now run the flow manually, and you can see the message with the link sent to the Channel.

Using power automate send teams message with link

This is an example of “send teams message with link using Power Automate”.

Conclusion

In this Power Automate tutorial, we saw how to send teams messages using Power Automate.

Also, we cover below examples:

  • Power Automate sends teams a message
  • Power Automate send teams message to individual user
  • Power Automate send teams message to multiple recipients
  • Power Automate send teams message to myself
  • Power Automate send teams message with link

You may also like:

>