Marcel Lehmann

learn and find tipps & tricks around the powerplatform

How to send a 1:1 message via flow in teams with your account

Photo by Erik Mclean on Pexels.com

In this article I will show you how to send direct messages easily.

For a long time it was not possible to send a direct message via PowerAutomate to a user where I am the sender. It was only possible to communicate with someone as a flow bot.

Spoiler: According to my tests, this only works with Tenant users.

Step 1
Here we simply create a ‘Create a chat’ using the Teams connector. Under ‘Members to add’ you just need to enter the desired recipient.

Attention: As soon as you add more than one person, you will open a group chat -> where you can enter a name in the lower column.

Step 2
Select ‘Post message in a chat or channel‘ from the Teams connector here.

Then select as in the picture ‘Post as‘ -> User
and ‘Post in‘ -> ‘Group chat’ (Yes this is confusing, however this works)
Then in the ‘Group chat‘ field just refer to the conversation id from the previous step and you can enter your desired text under Message.

UseCases

  1. On the one hand, support accounts can send a message directly (via PowerAutomate) from a PowerApp (Canvas, ModelDriven) and you thus have a contact person right away.
  2. During on-boarding, for example, it also works better if you are received and greeted ‘personally’.

Published by

Leave a 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 )

Facebook photo

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

Connecting to %s

%d bloggers like this: