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.
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.
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.
- 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.
- During on-boarding, for example, it also works better if you are received and greeted ‘personally’.