Hello all! Hoping someone can help me find a solution here.
I've built a Power Automate flow that links to an employee shoutout app that I created for my company. Our secretary has been manually posting these shoutouts to a Yammer channel, and I foolishly offered to automate the process.
It's incredibly easy to take the message and post it to Yammer... but for the life of me, I can't tag/mention employees in the automated posts. While the employee names are generated from the Get User Profile O365 integration, they only show up in the Yammer post as plain text. The only way it seems for me to tag an employee is to manually type @employeename in a Yammer post, then physically select them from the pop-up list.
There has got to be a way around this, but I just can't figure it out. I've tried using the Yammer 'Get user details' integration in Power Automate, but that relies upon a Yammer centric User ID that has nothing to do with the O365 one so it refuses to pull any dynamic content. Maybe if I could find the Yammer User ID I could tag people??
Any help would be appreciated folks, I've wasted far too much time on such a silly little problem. Thank you!!
Solved! Go to Solution.
@Expiscornovus apologies for my late response, but thank you so much for the ideas! I was actually able to tag employees by using the Power Automate Send Email function to email the post to our Yammer page, using the following HTML code to tag employees:
<a href="mailto:MAILBOX">DISPLAYNAME</a>
I will definitely use your idea for the future, as I did not know about using yammer for 'praise' posts and I feel our employees would very much like that feature. Thank you again!
Hi @TrevorSuich,
I don't know if the out of the box actions actually support mentioning. I do know you can interact with the Yammer REST API and for example post a message and mention somebody. That could be a workaround.
Below is an example HTTP POST request which mentions somebody as a praised user. I don't know if a praise post is what you are looking for. Otherwise I can have a look if you can also mention in a regular post.
@Expiscornovus apologies for my late response, but thank you so much for the ideas! I was actually able to tag employees by using the Power Automate Send Email function to email the post to our Yammer page, using the following HTML code to tag employees:
<a href="mailto:MAILBOX">DISPLAYNAME</a>
I will definitely use your idea for the future, as I did not know about using yammer for 'praise' posts and I feel our employees would very much like that feature. Thank you again!
Hi @TrevorSuich,
I like this e-mail approach. Definitely going to try that as well. Thanks for sharing.
User | Count |
---|---|
27 | |
16 | |
15 | |
12 | |
10 |
User | Count |
---|---|
43 | |
29 | |
29 | |
24 | |
23 |