SOLVED

Add @mention programmatically to Teams channel message as reply

Frequent Contributor

Is it possible to reply to a message with an @mention automatically via Power Automate or any other automation system?

Use case is that I'm posting downtime information to a specific channel via email webhook, so the message is in plain text.

4 Replies

With Power Automate I'm also only able to automatically reply with plain text messages :crying_face:

Thomsch_0-1612209154769.png

 

@Thomsch - You can add @mention to your channel messages by adding mention to entities. Could you please check this Adding mentions to your messages for more info?

@Nikitha-MSFT Thanks. But I don't have a bot. Is this the only way to add a mention after all? Can you give me a little further instruction. Much appreciated, thanks.

best response confirmed by Thomsch (Frequent Contributor)
Solution

@Thomsch - You can also use graph API, Please check this docs.