How to use Power Automate to send custom notifications to Microsoft Teams feed

Power Automate has gotten new Microsoft Teams actions again. This time it is the ability to send a message to someone with a custom text and link it to the message in either a team or a group chat. Let’s take a look at how to send a notification to the user:

You need to add a Post a feed notification action.

Then you will define is it the Flow bot or Power Virtual Agent sending the notification. Despite selecting the Power Virtual Agent it doesn’t let you choose a bot at this time and acts as a Flow bot. But I think that this one is so new that it hasn’t gotten all goodies yet.

You can choose to link to a team (channel) message or to a group chat message.

You can customize this action to run in your process – custom values can be used for recipient, text, team, channel and message.

In this test case I just used selected values.

Testing the flow – running successfully on the first run.

And we see the notification appear to our Teams Notification Feed. Clicking the notification takes us to the right team and channel, where the linked message flashes highlighted.

What about Group chat notification?

Instead of a team and channel you choose group chat what you want to use. You can use custom value.

This means that you can use these notifications in your processes in a very versatile way – and make life easier for users with these notifications that point directly to the right message.

Power Automate brings easy and efficient ways to engage people using Microsoft Teams into business processes.

5 thoughts on “How to use Power Automate to send custom notifications to Microsoft Teams feed

  1. I would just like to send notification to a user that the flow they ran has completed successfully. I can’t seem to figure this out. I don’t want to post to a channel. I can’t test-send anything to myself, so not sure if its going to work or not.

    Like

    1. You need to find out the user executing the flow ( for example https://powerusers.microsoft.com/t5/Building-Flows/Get-executing-user-in-Flow/td-p/135386 this might still work) and then send the notification to that person at the end of the flow.
      When you publish / share the flow pay also attention to option where you can state is it run using current user account and not yours.
      For testing this you could put up a trial or development tenant and create two accounts there to see that you get it right.
      Or ask a colleague to test the flow.

      Like

Leave a Reply to Landon Jochim Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.